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

Qt Creator crashes in QFutureWatcherBase::isCanceled()

    XMLWordPrintable

Details

    • Linux/X11
    • 6e8dcbcfd23414d0d6d9be659ce5a7c6d2de049a (qt-creator/qt-creator/5.0)

    Description

      I'm not sure exactly what happened, but I was using Qt Creator (from the Linux web installer) and editing a .pro file in the text editor (removing elements from the SUBDIRS list). Qt Creator may have been automatically rerunning qmake in the background and writing to "6 General Messages". Then the program locked up and crashed:

      (gdb) bt
      #0  0x0000000000000007 in ?? ()
      #1  0x00007ff953e4fbea in QFutureWatcherBase::isCanceled() const () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #2  0x00007ff947566acd in ?? () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/lib/qtcreator/plugins/libCppEditor.so
      #3  0x00007ff953d11e3f in QObject::event(QEvent*) () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #4  0x00007ff954ea1e32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #5  0x00007ff953cc6d1a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #6  0x00007ff953cc9aac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #7  0x00007ff953f1c193 in ?? () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #8  0x00007ff950ad14dc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #9  0x00007ff950b25749 in ?? () from /usr/lib/libglib-2.0.so.0
      #10 0x00007ff950acebc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #11 0x00007ff953f1bb19 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #12 0x00007ff953cd270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #13 0x00007ff953cce41b in QCoreApplication::exec() () from /home/nyanpasu64/Qt/Tools/Preview/Qt Creator 6.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #14 0x000000000040c533 in ?? ()
      #15 0x00007ff953632b25 in __libc_start_main () from /usr/lib/libc.so.6
      #16 0x000000000040cb5e in ?? ()
      

      I don't think the bug is reproducible though (I updated to 6.0.0-beta2 and haven't had luck yet). Seeing that libCppEditor.so is on the stack trace, it might be an interaction between editing QMake files, changing the C++ environment and parsing, and a C++ text editor I may or may not have had open.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-26507
        # Subject Branch Project Status CR V

        Activity

          People

            jkobus Jarek Kobus
            nyanpasu64 Nyan Pasu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes