Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-14165

creator: crash after pressing F1 to get help using freshly built qch files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 3.3.2
    • Fix Version/s: None
    • Component/s: Help System
    • Labels:
      None
    • Environment:
      Arch Linux
      extra/qtcreator 3.3.2-1 [installed]
      extra/qt5-doc 5.4.1-2 [installed]
      extra/qt5-base 5.4.1-2 (qt qt5) [installed]
      (and the rest of the qt5 package set)

      Description

      This probably turns out to be a Qt bug though...

      1) open any C++ source file
      2) put the cursor on some interesting declaration or function argument
      3) press F1

      So I tried running it in gdb to get a backtrace (which is only so much help since it's not a debug build):

      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtsql.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtsvg.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtsysteminfo.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qttestlib.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtuitools.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtversit.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtwebchannel.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtwebkit.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.439 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtwebkitexamples.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.440 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtwebsockets.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.440 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtwidgets.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.440 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtwinextras.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.440 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtx11extras.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.440 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtxml.qch-12465600-3' is still in use, all queries will cease to work.
      [    26.440 W] unknown - QSqlDatabasePrivate::removeDatabase: connection '../../../dev/qt55-dbg/qtbase/doc/qtxmlpatterns.qch-12465600-3' is still in use, all queries will cease to work.
      
      (process:5073): GLib-ERROR **: Creating pipes for GWakeup: Too many open files
      
      [New Thread 0x7ffecdffb700 (LWP 5746)]
      ...
      
      Program received signal SIGTRAP, Trace/breakpoint trap.
      [Switching to Thread 0x7ffecdffb700 (LWP 5746)]
      0x00007ffff578a7f0 in g_logv () from /usr/lib/libglib-2.0.so.0
      (gdb) bt
      #0  0x00007ffff578a7f0 in g_logv () from /usr/lib/libglib-2.0.so.0
      #1  0x00007ffff578aa2f in g_log () from /usr/lib/libglib-2.0.so.0
      #2  0x00007ffff57c6b02 in ?? () from /usr/lib/libglib-2.0.so.0
      #3  0x00007ffff57810d6 in g_main_context_new () from /usr/lib/libglib-2.0.so.0
      #4  0x00007ffff7312be9 in QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) () from /usr/lib/libQt5Core.so.5
      #5  0x00007ffff7312cc1 in QEventDispatcherGlib::QEventDispatcherGlib(QObject*) () from /usr/lib/libQt5Core.so.5
      #6  0x00007ffff70ce630 in ?? () from /usr/lib/libQt5Core.so.5
      #7  0x00007ffff70cf5d8 in ?? () from /usr/lib/libQt5Core.so.5
      #8  0x00007ffff6e16374 in start_thread () from /usr/lib/libpthread.so.0
      #9  0x00007ffff662f27d in clone () from /usr/lib/libc.so.6
      

      FWIW, the messages are referring to qch files that I just built, by running make docs on the 5.5 branch. Creator apparently detected them automatically and tried to use them.

      I'm using the Arch packaged version of Qt Creator.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              treinio Topi Reiniƶ
              Reporter:
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes