Qt Creator crashes when loading project



  • I successfully managed to build my project with Qt 5.5 on my Mac in debug-mode exactly once. Then, when switching to release, Qt Creator 3.4.2 suddenly crashed. Now, Qt Creator will crash every time while loading the project file. I already deleted the QtProject folder in home/.config and deleted the project.pro.user file. I also cleanly uninstalled and reinstalled Qt and freshly checked out the code from my repository. I could again start the build process but Qt Creator crashed during the build when encountering an error (I changed the code a bit and accidentally introduced a bug).

    It seems that the project file can be read successfully but Creator crashes when parsing the C++ files. Before crashing, Qt Creator outputs the following lines:

    Could not find make configuration file default.
    Error while parsing file /projectpath/project.pro. Giving up.
    Warnings while parsing QML type information of /QtFolder/5.5/clang_64/qml:
    dump of /QtFolder/5.5/clang_64/qml: Reading only version 1.1 parts.
    dump of /QtFolder/5.5/clang_64/qml: Expected only Component and ModuleApi object definitions
    

    Terminal only holds the following line before crashing:

    Info: creating stash file /projectpath/shadowbuildpath/.qmake.stash
    

    And the crash report reads as follows:

    Process:               Qt Creator [12566]
    Path:                  /Qtfolder/Qt Creator
    Identifier:            org.qt-project.qtcreator
    Version:               3.4.2 (3.4.2)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Qt Creator [12566]
    User ID:               501
    
    Date/Time:             2015-08-19 17:39:11.356 +0200
    OS Version:            Mac OS X 10.10.5 (14F27)
    Report Version:        11
    Anonymous UUID:        60C8C8F2-9677-B7E9-7C7F-573C1D942C9E
    
    
    Time Awake Since Boot: 4100 seconds
    
    Crashed Thread:        11  Thread (pooled)
    
    Exception Type:        EXC_BAD_ACCESS (SIGBUS)
    Exception Codes:       KERN_PROTECTION_FAILURE at 0x000000011e3feff8
    
    VM Regions Near 0x11e3feff8:
        VM_ALLOCATE            000000011e3fd000-000000011e3fe000 [    4K] rw-/rwx SM=COW  
    --> STACK GUARD            000000011e3fe000-000000011e3ff000 [    4K] ---/rwx SM=NUL  stack guard for thread 11
        Stack                  000000011e3ff000-000000011e481000 [  520K] rw-/rwx SM=PRV  thread 11
    
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib        	0x00007fff901e44de mach_msg_trap + 10
    1   libsystem_kernel.dylib        	0x00007fff901e364f mach_msg + 55
    2   com.apple.CoreFoundation      	0x00007fff8946eeb4 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation      	0x00007fff8946e37b __CFRunLoopRun + 1371
    4   com.apple.CoreFoundation      	0x00007fff8946dbd8 CFRunLoopRunSpecific + 296
    5   com.apple.HIToolbox           	0x00007fff9169456f RunCurrentEventLoopInMode + 235
    6   com.apple.HIToolbox           	0x00007fff916942ea ReceiveNextEventCommon + 431
    7   com.apple.HIToolbox           	0x00007fff9169412b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    8   com.apple.AppKit              	0x00007fff8e0b68ab _DPSNextEvent + 978
    9   com.apple.AppKit              	0x00007fff8e0b5e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    10  com.apple.AppKit              	0x00007fff8e0abaf3 -[NSApplication run] + 594
    11  libqcocoa.dylib               	0x000000010b8427fd 0x10b821000 + 137213
    12  org.qt-project.QtCore         	0x00000001096b28cd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
    13  org.qt-project.QtCore         	0x00000001096b578a QCoreApplication::exec() + 346
    14  org.qt-project.qtcreator      	0x00000001086ce95b main + 21707
    15  org.qt-project.qtcreator      	0x00000001086c6824 start + 52
    
    ...
    
    Thread 11 Crashed:: Thread (pooled)
    0   libCPlusPlus.1.0.0.dylib      	0x0000000110f43fb4 CPlusPlus::AST::AST() + 4
    1   libCPlusPlus.1.0.0.dylib      	0x0000000110f55e45 CPlusPlus::BinaryExpressionAST::clone(CPlusPlus::MemoryPool*) const + 37
    ... 
    followed by hundreds of lines of the same CPlusPlus::BinaryExpressionAST::clone
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.