Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Creator constantly crashes when opening a project



  • I got this issue recently when trying to open a project with qt creator. It will always crash after just finished parsing c/c++ files phase. The terminal will pop up msg like "disconnected to server ". And below is the dumped info:

    Process:               Qt Creator [3498]
    Path:                  /Users/USER/*/Qt Creator.app/Contents/MacOS/./Qt Creator
    Identifier:            org.qt-project.qtcreator
    Version:               4.11.1 (4.11.1)
    Code Type:             X86-64 (Native)
    Parent Process:        bash [80310]
    Responsible:           iTerm2 [97822]
    User ID:               501
    
    Date/Time:             2020-04-11 19:13:54.013 -0700
    OS Version:            Mac OS X 10.15.4 (19E266)
    Report Version:        12
    Bridge OS Version:     4.4 (17P4263)
    Anonymous UUID:        DC5038CB-7D73-C2F4-16A6-063AE354C9A0
    
    Sleep/Wake UUID:       2CB30503-1820-4683-B7D5-04361CC03EFC
    
    Time Awake Since Boot: 270000 seconds
    Time Since Wake:       15000 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        14  Thread (pooled)
    
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Segmentation fault: 11
    Termination Reason:    Namespace SIGNAL, Code 0xb
    Terminating Process:   exc handler [3498]
    
    VM Regions Near 0x8:
    --> 
        __TEXT                 0000000106db5000-0000000106dc9000 [   80K] r-x/rwx SM=COW  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
    
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib        	0x00007fff7140fdfa mach_msg_trap + 10
    1   libsystem_kernel.dylib        	0x00007fff71410170 mach_msg + 60
    2   com.apple.CoreFoundation      	0x00007fff373870b5 __CFRunLoopServiceMachPort + 247
    3   com.apple.CoreFoundation      	0x00007fff37385b82 __CFRunLoopRun + 1319
    4   com.apple.CoreFoundation      	0x00007fff37384ffe CFRunLoopRunSpecific + 462
    5   com.apple.HIToolbox           	0x00007fff35fb8abd RunCurrentEventLoopInMode + 292
    6   com.apple.HIToolbox           	0x00007fff35fb87d5 ReceiveNextEventCommon + 584
    7   com.apple.HIToolbox           	0x00007fff35fb8579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    8   com.apple.AppKit              	0x00007fff34603c99 _DPSNextEvent + 883
    9   com.apple.AppKit              	0x00007fff346024e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
    10  com.apple.AppKit              	0x00007fff345f41ee -[NSApplication run] + 658
    11  libqcocoa.dylib               	0x00000001089f8623 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2579 (qcocoaeventdispatcher.mm:430)
    12  org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    13  org.qt-project.QtCore         	0x000000010803f0f2 QCoreApplication::exec() + 130 (qcoreapplication.cpp:1400)
    14  org.qt-project.qtcreator      	0x0000000106dc1016 main + 15318 (main.cpp:641)
    15  libdyld.dylib                 	0x00007fff712cecc9 start + 1
    
    Thread 1:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib        	0x00007fff714180fe __select + 10
    1   com.apple.CoreFoundation      	0x00007fff373afe13 __CFSocketManager + 641
    2   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    3   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 2:: Qt bearer thread
    0   libsystem_kernel.dylib        	0x00007fff714163d6 poll + 10
    1   org.qt-project.QtCore         	0x000000010809662a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90 (qcore_unix.cpp:165)
    2   org.qt-project.QtCore         	0x0000000108098021 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 833 (qeventdispatcher_unix.cpp:500)
    3   org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    4   org.qt-project.QtCore         	0x0000000107e6ac43 QThread::exec() + 131 (qthread.cpp:536)
    5   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    6   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    7   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 3:: QThread
    0   libsystem_kernel.dylib        	0x00007fff714163d6 poll + 10
    1   org.qt-project.QtCore         	0x0000000108096830 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608 (qcore_unix.cpp:155)
    2   org.qt-project.QtCore         	0x0000000108098021 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 833 (qeventdispatcher_unix.cpp:500)
    3   org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    4   org.qt-project.QtCore         	0x0000000107e6ac43 QThread::exec() + 131 (qthread.cpp:536)
    5   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    6   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    7   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 4:: QNetworkAccessManager thread
    0   libsystem_kernel.dylib        	0x00007fff714163d6 poll + 10
    1   org.qt-project.QtCore         	0x000000010809662a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90 (qcore_unix.cpp:165)
    2   org.qt-project.QtCore         	0x0000000108098021 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 833 (qeventdispatcher_unix.cpp:500)
    3   org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    4   org.qt-project.QtCore         	0x0000000107e6ac43 QThread::exec() + 131 (qthread.cpp:536)
    5   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    6   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    7   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 5:: QThread
    0   libsystem_kernel.dylib        	0x00007fff714163d6 poll + 10
    1   org.qt-project.QtCore         	0x0000000108096830 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608 (qcore_unix.cpp:155)
    2   org.qt-project.QtCore         	0x0000000108098021 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 833 (qeventdispatcher_unix.cpp:500)
    3   org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    4   org.qt-project.QtCore         	0x0000000107e6ac43 QThread::exec() + 131 (qthread.cpp:536)
    5   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    6   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    7   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 6:: QThread
    0   libsystem_kernel.dylib        	0x00007fff714163d6 poll + 10
    1   org.qt-project.QtCore         	0x0000000108096830 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608 (qcore_unix.cpp:155)
    2   org.qt-project.QtCore         	0x0000000108098021 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 833 (qeventdispatcher_unix.cpp:500)
    3   org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    4   org.qt-project.QtCore         	0x0000000107e6ac43 QThread::exec() + 131 (qthread.cpp:536)
    5   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    6   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    7   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 7:: com.apple.NSEventThread
    0   libsystem_kernel.dylib        	0x00007fff7140fdfa mach_msg_trap + 10
    1   libsystem_kernel.dylib        	0x00007fff71410170 mach_msg + 60
    2   com.apple.CoreFoundation      	0x00007fff373870b5 __CFRunLoopServiceMachPort + 247
    3   com.apple.CoreFoundation      	0x00007fff37385b82 __CFRunLoopRun + 1319
    4   com.apple.CoreFoundation      	0x00007fff37384ffe CFRunLoopRunSpecific + 462
    5   com.apple.AppKit              	0x00007fff347a55b4 _NSEventThread + 132
    6   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    7   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 8:: Thread (pooled)
    0   libsystem_kernel.dylib        	0x00007fff71412882 __psynch_cvwait + 10
    1   libsystem_pthread.dylib       	0x00007fff714d3425 _pthread_cond_wait + 698
    2   org.qt-project.QtCore         	0x0000000107e73a1f QWaitConditionPrivate::wait_relative(QDeadlineTimer) + 303 (qwaitcondition_unix.cpp:136)
    3   org.qt-project.QtCore         	0x0000000107e736ee QWaitConditionPrivate::wait(QDeadlineTimer) + 94 (qwaitcondition_unix.cpp:144)
    4   org.qt-project.QtCore         	0x0000000107e7360d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93 (qwaitcondition_unix.cpp:225)
    5   org.qt-project.QtCore         	0x0000000107e7357e QWaitCondition::wait(QMutex*, unsigned long) + 62 (qwaitcondition_unix.cpp:210)
    6   org.qt-project.QtCore         	0x0000000107e701a4 QThreadPoolThread::run() + 596 (qthreadpool.cpp:140)
    7   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    8   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    9   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    Thread 9:
    0   libsystem_pthread.dylib       	0x00007fff714ceb68 start_wqthread + 0
    
    Thread 10:
    0   libsystem_pthread.dylib       	0x00007fff714ceb68 start_wqthread + 0
    
    Thread 11:: QThread
    0   libsystem_kernel.dylib        	0x00007fff714163d6 poll + 10
    1   org.qt-project.QtCore         	0x0000000108096830 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608 (qcore_unix.cpp:155)
    2   org.qt-project.QtCore         	0x0000000108098021 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 833 (qeventdispatcher_unix.cpp:500)
    3   org.qt-project.QtCore         	0x000000010803ab6f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:224)
    4   libAutoTest.dylib             	0x000000010fc412c2 void Utils::Internal::blockingContainerMapReduce<QStringList, void* (*)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Core::Id> const&)::$_5, QSharedPointer<Autotest::TestParseResult>, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >, void (*)(void*)>(QFutureInterface<QSharedPointer<Autotest::TestParseResult> >&, QStringList&&, void* (*&&)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Core::Id> const&)::$_5&&, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >&&, void (*&&)(void*), Utils::MapReduceOption, QThreadPool*) + 1138
    5   libAutoTest.dylib             	0x000000010fc416dc Utils::Internal::AsyncJob<QSharedPointer<Autotest::TestParseResult>, void (&)(QFutureInterface<QSharedPointer<Autotest::TestParseResult> >&, QStringList&&, void* (*&&)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Core::Id> const&)::$_5&&, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >&&, void (*&&)(void*), Utils::MapReduceOption, QThreadPool*), QStringList&, void* (&)(), Autotest::Internal::TestCodeParser::scanForTests(QStringList const&, QList<Core::Id> const&)::$_5, Utils::Internal::DummyReduce<QSharedPointer<Autotest::TestParseResult> >, void (&)(void*), Utils::MapReduceOption&, QThreadPool*&>::run() + 236
    6   libUtils.4.11.1.dylib         	0x0000000106f2db92 Utils::Internal::RunnableThread::run() + 18
    7   org.qt-project.QtCore         	0x0000000107e6bba9 QThreadPrivate::start(void*) + 329 (qthread_unix.cpp:361)
    8   libsystem_pthread.dylib       	0x00007fff714d3109 _pthread_start + 148
    9   libsystem_pthread.dylib       	0x00007fff714ceb8b thread_start + 15
    
    
    
    ...
    
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 16
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 32097487
        thread_create: 0
        thread_set_state: 39708
    
    VM Region Summary:
    ReadOnly portion of Libraries: Total=788.7M resident=0K(0%) swapped_out_or_unallocated=788.7M(100%)
    Writable regions: Total=773.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=773.5M(100%)
     
                                    VIRTUAL   REGION 
    REGION TYPE                        SIZE    COUNT (non-coalesced) 
    ===========                     =======  ======= 
    Accelerate framework               384K        3 
    Activity Tracing                   256K        1 
    CG backing stores                 1496K        4 
    CG image                            44K        9 
    CoreAnimation                      248K       23 
    CoreGraphics                         8K        1 
    CoreImage                           32K        4 
    CoreUI image data                 1308K       16 
    Dispatch continuations            32.0M        1 
    Foundation                           4K        1 
    JS VM Gigacage                    4096K        1 
    JS VM Isolated Heap               4360K        4 
    JS VM Isolated Heap (reserved)    2040K        1         reserved VM address space (unallocated)
    Kernel Alloc Once                    8K        1 
    MALLOC                           710.8M      683 
    MALLOC guard page                   32K        7 
    Memory Tag 242                      12K        1 
    STACK GUARD                       56.1M       17 
    Stack                             17.6M       17 
    VM_ALLOCATE                        180K       19 
    __DATA                            52.6M      434 
    __DATA_CONST                        97K        4 
    __FONT_DATA                          4K        1 
    __GLSLBUILTINS                    5176K        1 
    __LINKEDIT                       417.9M      104 
    __OBJC_RO                         32.2M        1 
    __OBJC_RW                         1892K        2 
    __TEXT                           370.8M      416 
    __UNICODE                          564K        1 
    mapped file                      368.0M       41 
    shared memory                      656K       19 
    ===========                     =======  ======= 
    TOTAL                              2.0G     1838 
    TOTAL, minus reserved VM space     2.0G     1838 
    
    Model: MacBookPro15,1, BootROM 1037.100.359.0.0 (iBridge: 17.16.14263.0.0,0), 8 processors, 8-Core Intel Core i9, 2.3 GHz, 16 GB, SMC 
    Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, spdisplays_builtin
    Graphics: kHW_AMDRadeonPro560XItem, Radeon Pro 560X, spdisplays_pcie_device, 4 GB
    ...
    
    
    

    Wondering if anyone has had this issue before? thanks!



  • For clarification: does this occur only with one particular project, or with any project?


Log in to reply