Qt Composer crash under MacOS 10.12.4



  • I'm new to Qt, and after installing I'm running Qt Creator, only to have it crash repeatedly under MacOS 10.12.4

    It looks like the crash happens as Qt tries to phone home. Is this a known issue? Is there a work-around?

    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Segmentation fault: 11
    Termination Reason:    Namespace SIGNAL, Code 0xb
    Terminating Process:   exc handler [0]
    
    VM Regions Near 0x10:
    --> 
        __TEXT                 000000010672c000-000000010673e000 [   72K] r-x/rwx SM=COW  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   org.qt-project.QtNetwork      	0x0000000107a9b425 (anonymous namespace)::proxyAutoConfigCallback(void*, __CFArray const*, __CFError*) + 21
    1   com.apple.CFNetwork           	0x00007fffaaf784f4 PAC::PACClient::invokeClientCallback() + 102
    2   com.apple.CoreFoundation      	0x00007fffabcd63b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    3   com.apple.CoreFoundation      	0x00007fffabcb763c __CFRunLoopDoSources0 + 556
    4   com.apple.CoreFoundation      	0x00007fffabcb6b26 __CFRunLoopRun + 934
    5   com.apple.CoreFoundation      	0x00007fffabcb6524 CFRunLoopRunSpecific + 420
    6   org.qt-project.QtNetwork      	0x0000000107a9a835 macQueryInternal(QNetworkProxyQuery const&) + 1173
    7   org.qt-project.QtNetwork      	0x0000000107a9b681 QNetworkProxyFactory::systemProxyForQuery(QNetworkProxyQuery const&) + 17
    8   org.qt-project.QtNetwork      	0x0000000107a91383 QGlobalNetworkProxy::proxyForQuery(QNetworkProxyQuery const&) + 1395
    9   org.qt-project.QtNetwork      	0x0000000107a93442 QNetworkProxyFactory::proxyForQuery(QNetworkProxyQuery const&) + 50
    10  org.qt-project.QtNetwork      	0x0000000107a2b48e QNetworkAccessManagerPrivate::queryProxy(QNetworkProxyQuery const&) + 734
    11  org.qt-project.QtNetwork      	0x0000000107a48889 QNetworkReplyHttpImplPrivate::postRequest(QNetworkRequest const&) + 617
    12  org.qt-project.QtNetwork      	0x0000000107a4d730 QNetworkReplyHttpImplPrivate::start(QNetworkRequest const&) + 288
    13  org.qt-project.QtNetwork      	0x0000000107a453ce QNetworkReplyHttpImplPrivate::_q_startOperation() + 478
    14  org.qt-project.QtCore         	0x000000010769038c QObject::event(QEvent*) + 156
    15  org.qt-project.QtWidgets      	0x00000001069ba58d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
    16  org.qt-project.QtWidgets      	0x00000001069bced2 QApplication::notify(QObject*, QEvent*) + 5906
    17  org.qt-project.QtCore         	0x0000000107666544 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
    18  org.qt-project.QtCore         	0x00000001076671c8 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 600
    19  libqcocoa.dylib               	0x000000010988cf5e QCocoaEventDispatcherPrivate::processPostedEvents() + 190
    20  com.apple.CoreFoundation      	0x00007fffabcd5db7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    21  com.apple.CoreFoundation      	0x00007fffabcd5d27 __CFRunLoopDoObservers + 391
    22  com.apple.CoreFoundation      	0x00007fffabcb6509 CFRunLoopRunSpecific + 393
    23  com.apple.HIToolbox           	0x00007fffab216ebc RunCurrentEventLoopInMode + 240
    24  com.apple.HIToolbox           	0x00007fffab216bf9 ReceiveNextEventCommon + 184
    25  com.apple.HIToolbox           	0x00007fffab216b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
    26  com.apple.AppKit              	0x00007fffa97b1e24 _DPSNextEvent + 1120
    27  com.apple.AppKit              	0x00007fffa9f2d85e -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
    28  com.apple.AppKit              	0x00007fffa97a67ab -[NSApplication run] + 926
    29  libqcocoa.dylib               	0x000000010988c6bf QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2143
    30  org.qt-project.QtCore         	0x0000000107662781 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
    31  org.qt-project.QtCore         	0x0000000107666bb5 QCoreApplication::exec() + 341
    32  org.qt-project.qtcreator      	0x0000000106737d1d main + 15789
    33  libdyld.dylib                 	0x00007fffc19cd235 start + 1
    

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Which version of Qt did you install exactly ?



  • The crash happens with a fresh install of Qt 5.8


  • Lifetime Qt Champion

    Can you do try something ? Disable all network devices on your machine and try to start Qt Creator.



  • @SGaist
    Turning off my wifi connection got the Qt Creator started (although I obviously had to cancel out of the authentication dialog).

    I'd rather not turn off my internet connection every time I use Qt Creator. Is there a fix for this issue?


  • Lifetime Qt Champion

    AFAIK, Qt Creator 4.3RC1 doesn't suffer from this.


Log in to reply