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

Frequent eventloop hangs in Utils::ProcessResultData called by CppEditor::BuildinCursorInfo

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 10.0.0, Qt Creator 11.0.0
    • C/C++/Obj-C++ Support
    • None
    • Windows
    • dd1c9d1b7 (master), 1fca05959 (11.0), 6a30ebd01 (11.0)

    Description

      I frequently have QtCreator on Windows hanging with this as stack trace:

      (gdb) thread 1
      [Switching to thread 1 (Thread 10580.0x5094)]
      #0  0x00007ffd91d2db54 in ntdll!ZwCreateFile () from C:\Windows\SYSTEM32\ntdll.dll
      (gdb) bt
      #0  0x00007ffd91d2db54 in ntdll!ZwCreateFile () from C:\Windows\SYSTEM32\ntdll.dll
      #1  0x00007ffd8f5b6579 in KERNELBASE!CreateFileW () from C:\Windows\System32\KernelBase.dll
      #2  0x00007ffd8f5b5fe6 in KERNELBASE!CreateFileW () from C:\Windows\System32\KernelBase.dll
      #3  0x00007ffd4126923d in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #4  0x00007ffd2aa17651 in CppEditor!??4BuiltinCursorInfo@CppEditor@@QEAAAEAV01@$$QEAV01@@Z () from C:\Qt\qtcreator-10.0.0\lib\qtcreator\plugins\CppEditor.dll
      #5  0x00007ffd2aa23e91 in CppEditor!??4BuiltinCursorInfo@CppEditor@@QEAAAEAV01@$$QEAV01@@Z () from C:\Qt\qtcreator-10.0.0\lib\qtcreator\plugins\CppEditor.dll
      #6  0x00007ffd2aa461f0 in CppEditor!??4BuiltinCursorInfo@CppEditor@@QEAAAEAV01@$$QEAV01@@Z () from C:\Qt\qtcreator-10.0.0\lib\qtcreator\plugins\CppEditor.dll
      #7  0x00007ffd41415161 in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #8  0x00007ffd41422f68 in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #9  0x00007ffd4141e0d1 in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #10 0x00007ffd4141d892 in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #11 0x00007ffd4141e11c in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #12 0x00007ffd4141d892 in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #13 0x00007ffd3f390226 in Qt6Core!?qt_static_metacall@QObject@@CAXPEAV1@W4Call@QMetaObject@@HPEAPEAX@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #14 0x00007ffd3f392574 in Qt6Core!?activate@QMetaObject@@SAXPEAVQObject@@PEBU1@HPEAPEAX@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #15 0x00007ffd4112f430 in Utils!??0ProcessResultData@Utils@@QEAA@XZ () from C:\Qt\qtcreator-10.0.0\bin\Utils.dll
      #16 0x00007ffd3f390226 in Qt6Core!?qt_static_metacall@QObject@@CAXPEAV1@W4Call@QMetaObject@@HPEAPEAX@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #17 0x00007ffd3f392574 in Qt6Core!?activate@QMetaObject@@SAXPEAVQObject@@PEBU1@HPEAPEAX@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #18 0x00007ffd3f390226 in Qt6Core!?qt_static_metacall@QObject@@CAXPEAV1@W4Call@QMetaObject@@HPEAPEAX@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #19 0x00007ffd3f392574 in Qt6Core!?activate@QMetaObject@@SAXPEAVQObject@@PEBU1@HPEAPEAX@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #20 0x00007ffd3f4c15a8 in Qt6Core!?event@QFutureWatcherBase@@UEAA_NPEAVQEvent@@@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #21 0x00007ffd406a0f2e in Qt6Widgets!?notify_helper@QApplicationPrivate@@QEAA_NPEAVQObject@@PEAVQEvent@@@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Widgets.dll
      #22 0x00007ffd406a0001 in Qt6Widgets!?notify@QApplication@@UEAA_NPEAVQObject@@PEAVQEvent@@@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Widgets.dll
      #23 0x00007ffd3f354bb5 in Qt6Core!?notifyInternal2@QCoreApplication@@CA_NPEAVQObject@@PEAVQEvent@@@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #24 0x00007ffd3f357445 in Qt6Core!?sendPostedEvents@QCoreApplicationPrivate@@SAXPEAVQObject@@HPEAVQThreadData@@@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #25 0x00007ffd3fb8138f in Qt6Gui!?sendPostedEvents@QWindowsGuiEventDispatcher@@UEAAXXZ () from C:\Qt\qtcreator-10.0.0\bin\Qt6Gui.dll
      #26 0x00007ffd3f4b1830 in Qt6Core!?processEvents@QEventDispatcherWin32@@UEAA_NV?$QFlags@W4ProcessEventsFlag@QEventLoop@@@@@Z ()
         from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #27 0x00007ffd3fb81369 in Qt6Gui!?processEvents@QWindowsGuiEventDispatcher@@UEAA_NV?$QFlags@W4ProcessEventsFlag@QEventLoop@@@@@Z ()
      --Type <RET> for more, q to quit, c to continue without paging--
         from C:\Qt\qtcreator-10.0.0\bin\Qt6Gui.dll
      #28 0x00007ffd3f35a664 in Qt6Core!?exec@QEventLoop@@QEAAHV?$QFlags@W4ProcessEventsFlag@QEventLoop@@@@@Z () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #29 0x00007ffd3f352a5d in Qt6Core!?exec@QCoreApplication@@SAHXZ () from C:\Qt\qtcreator-10.0.0\bin\Qt6Core.dll
      #30 0x00007ff634e1a046 in qtcreator!?lockMode@QtLockedFile@SharedTools@@QEBA?AW4LockMode@12@XZ ()
      #31 0x00007ff634e20f77 in qtcreator!?lockMode@QtLockedFile@SharedTools@@QEBA?AW4LockMode@12@XZ ()
      #32 0x00007ff634e1fcaa in qtcreator!?lockMode@QtLockedFile@SharedTools@@QEBA?AW4LockMode@12@XZ ()
      #33 0x00007ffd91967614 in KERNEL32!BaseThreadInitThunk () from C:\Windows\System32\kernel32.dll
      #34 0x00007ffd91ce26f1 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTEM32\ntdll.dll
      #35 0x0000000000000000 in ?? ()
      Backtrace stopped: previous frame inner to this frame (corrupt stack?)
      (gdb)
      

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              pvanhoof Philip Van Hoof
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes