Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator randomly crashing at Debugger::Internal::QmlInspectorAgent::onResult()
Forum Updated to NodeBB v4.3 + New Features

Qt Creator randomly crashing at Debugger::Internal::QmlInspectorAgent::onResult()

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 497 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AaronCA Offline
    AaronCA Offline
    AaronC
    wrote on last edited by
    #1

    I've been struggling with Qt Creator crashing randomly while I'm debugging my app on MacOS Mojave. It looks as if my QML code is at fault. And it always crashes at a call to Debugger::Internal::QmlInspectorAgent::onResult(). I've attached an abbreviated .crash file. Any ideas how to pinpoint where the bug is in my QML?

    Process:               Qt Creator [91583]
    Path:                  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
    Identifier:            org.qt-project.qtcreator
    Version:               4.9 (4.9.2)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Qt Creator [91583]
    User ID:               501
    
    Date/Time:             2019-07-01 23:05:27.183 -0700
    OS Version:            Mac OS X 10.14.3 (18D109)
    Report Version:        12
    Anonymous UUID:        D99EC8E1-68B5-D97A-50E8-7CC874649B85
    
    
    Time Awake Since Boot: 2000000 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       KERN_INVALID_ADDRESS at 0x0000001d00000001
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Segmentation fault: 11
    Termination Reason:    Namespace SIGNAL, Code 0xb
    Terminating Process:   exc handler [91583]
    
    VM Regions Near 0x1d00000001:
        MALLOC_LARGE           0000000130af6000-0000000130c76000 [ 1536K] rw-/rwx SM=PRV  
    --> 
        MALLOC_NANO            0000600000000000-0000600020000000 [512.0M] rw-/rwx SM=PRV  
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libDebugger.dylib             	0x0000000116e325ed Debugger::Internal::QmlInspectorAgent::onResult(unsigned int, QVariant const&, QByteArray const&) + 1565
    1   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
    2   libQmlDebug.4.9.2.dylib       	0x0000000117122b26 QmlDebug::BaseEngineDebugClient::result(unsigned int, QVariant const&, QByteArray const&) + 70
    3   libQmlDebug.4.9.2.dylib       	0x00000001171133eb QmlDebug::BaseEngineDebugClient::messageReceived(QByteArray const&) + 859
    4   libQmlDebug.4.9.2.dylib       	0x000000011711dc69 QmlDebug::QmlDebugConnection::protocolReadyRead() + 585
    5   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
    6   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
    7   libQmlDebug.4.9.2.dylib       	0x0000000117118ffd QmlDebug::QPacketProtocolPrivate::readyToRead() + 93
    8   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
    9   org.qt-project.QtNetwork      	0x0000000110b7ae85 QAbstractSocketPrivate::canReadNotification() + 229
    10  org.qt-project.QtNetwork      	0x0000000110b90aa0 QReadNotifier::event(QEvent*) + 32
    11  org.qt-project.QtWidgets      	0x000000010ffc4c3d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
    12  org.qt-project.QtWidgets      	0x000000010ffc6042 QApplication::notify(QObject*, QEvent*) + 594
    13  org.qt-project.QtCore         	0x0000000110e196e4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
    14  org.qt-project.QtCore         	0x0000000110e6c677 qt_mac_socket_callback(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 167
    15  com.apple.CoreFoundation      	0x00007fff3d7e0e9d __CFSocketPerformV0 + 985
    16  com.apple.CoreFoundation      	0x00007fff3d747395 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    17  com.apple.CoreFoundation      	0x00007fff3d74733b __CFRunLoopDoSource0 + 108
    18  com.apple.CoreFoundation      	0x00007fff3d72add1 __CFRunLoopDoSources0 + 195
    19  com.apple.CoreFoundation      	0x00007fff3d72a37a __CFRunLoopRun + 1219
    20  com.apple.CoreFoundation      	0x00007fff3d729c64 CFRunLoopRunSpecific + 463
    21  com.apple.HIToolbox           	0x00007fff3c9c0ab5 RunCurrentEventLoopInMode + 293
    22  com.apple.HIToolbox           	0x00007fff3c9c07eb ReceiveNextEventCommon + 618
    23  com.apple.HIToolbox           	0x00007fff3c9c0568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    24  com.apple.AppKit              	0x00007fff3ac7b363 _DPSNextEvent + 997
    25  com.apple.AppKit              	0x00007fff3ac7a102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
    26  com.apple.AppKit              	0x00007fff3ac74165 -[NSApplication run] + 699
    27  libqcocoa.dylib               	0x000000011178bb7b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2955
    28  org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    29  org.qt-project.QtCore         	0x0000000110e19cf2 QCoreApplication::exec() + 130
    30  org.qt-project.qtcreator      	0x000000010fcd0b01 main + 15217
    31  libdyld.dylib                 	0x00007fff6a97ced9 start + 1
    
    Thread 1:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib        	0x00007fff6aabd5aa __select + 10
    1   com.apple.CoreFoundation      	0x00007fff3d758c13 __CFSocketManager + 639
    2   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    3   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    4   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 2:: Qt bearer thread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6f83a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 3:: QThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 4:: QThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 5:: QThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 6:: QNetworkAccessManager thread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 7:: com.apple.NSEventThread
    0   libsystem_kernel.dylib        	0x00007fff6aab617a mach_msg_trap + 10
    1   libsystem_kernel.dylib        	0x00007fff6aab66d0 mach_msg + 60
    2   com.apple.CoreFoundation      	0x00007fff3d72afde __CFRunLoopServiceMachPort + 337
    3   com.apple.CoreFoundation      	0x00007fff3d72a52d __CFRunLoopRun + 1654
    4   com.apple.CoreFoundation      	0x00007fff3d729c64 CFRunLoopRunSpecific + 463
    5   com.apple.AppKit              	0x00007fff3ac83f89 _NSEventThread + 160
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 8:: QmlJSEditor::Internal::SemanticInfoUpdater
    0   libsystem_kernel.dylib        	0x00007fff6aab97de __psynch_cvwait + 10
    1   libsystem_pthread.dylib       	0x00007fff6ab73593 _pthread_cond_wait + 724
    2   org.qt-project.QtCore         	0x0000000110c5ad6b QWaitConditionPrivate::wait(QDeadlineTimer) + 59
    3   org.qt-project.QtCore         	0x0000000110c5accc QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
    4   libQmlJSEditor.dylib          	0x000000011d792da2 QmlJSEditor::Internal::SemanticInfoUpdater::run() + 162
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 9:: QFileInfoGatherer
    0   libsystem_kernel.dylib        	0x00007fff6aab97de __psynch_cvwait + 10
    1   libsystem_pthread.dylib       	0x00007fff6ab73593 _pthread_cond_wait + 724
    2   org.qt-project.QtCore         	0x0000000110c5ad6b QWaitConditionPrivate::wait(QDeadlineTimer) + 59
    3   org.qt-project.QtCore         	0x0000000110c5accc QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
    4   org.qt-project.QtWidgets      	0x00000001101ef752 QFileInfoGatherer::run() + 130
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 10:: QQmlThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
    6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 11:: QFileInfoGatherer
    0   libsystem_kernel.dylib        	0x00007fff6aab97de __psynch_cvwait + 10
    1   libsystem_pthread.dylib       	0x00007fff6ab73593 _pthread_cond_wait + 724
    2   org.qt-project.QtCore         	0x0000000110c5ad6b QWaitConditionPrivate::wait(QDeadlineTimer) + 59
    3   org.qt-project.QtCore         	0x0000000110c5accc QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
    4   org.qt-project.QtWidgets      	0x00000001101ef752 QFileInfoGatherer::run() + 130
    5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 12:: QQmlThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
    6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 13:: QQmlThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
    6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 14:: QQmlThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
    6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 15:: QQmlThread
    0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
    1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
    2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
    3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
    5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
    6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
    7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
    8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
    9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
    
    Thread 16:
    0   libsystem_pthread.dylib       	0x00007fff6ab6f3f8 start_wqthread + 0
    1   ???                           	0x0000000000001a0b 0 + 6667
    
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000001d00000001  rbx: 0x00006000073a25c0  rcx: 0x0000000000000050  rdx: 0x0000000000000000
      rdi: 0x00000000000000bb  rsi: 0x0000000000000715  rbp: 0x00007ffedff387d0  rsp: 0x00007ffedff38710
       r8: 0x00000000000000ff   r9: 0x00000000000007fb  r10: 0x0000000000002740  r11: 0x0000000000000040
      r12: 0x00007fc81f221bb8  r13: 0x0000000111194ec8  r14: 0x00007ffedff389a0  r15: 0x00007fc81f221b80
      rip: 0x0000000116e325ed  rfl: 0x0000000000010206  cr2: 0x0000001d00000001
      
    Logical CPU:     0
    Error Code:      0x00000004
    Trap Number:     
    
    Binary Images:
    // removed for brevity
    
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 8
        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: 1531117
        thread_create: 0
        thread_set_state: 21209
    
    VM Region Summary:
    ReadOnly portion of Libraries: Total=682.2M resident=0K(0%) swapped_out_or_unallocated=682.2M(100%)
    Writable regions: Total=829.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=829.0M(100%)
     
                                    VIRTUAL   REGION 
    REGION TYPE                        SIZE    COUNT (non-coalesced) 
    ===========                     =======  ======= 
    Accelerate framework               384K        4 
    Activity Tracing                   256K        2 
    CG backing stores                 1760K        3 
    CG image                           432K       19 
    CoreAnimation                      576K       25 
    CoreGraphics                         8K        2 
    CoreImage                          160K       25 
    CoreUI image data                 3384K       39 
    CoreUI image file                  244K        7 
    Foundation                          28K        3 
    Image IO                           256K        2 
    JS JIT generated code              232K       24 
    JS VM register file               31.5M       28 
    JS VM register file (reserved)    6120K        4         reserved VM address space (unallocated)
    Kernel Alloc Once                    8K        2 
    MALLOC                           740.6M      126 
    MALLOC guard page                   32K        7 
    Memory Tag 242                      12K        2 
    Memory Tag 251                      32K        2 
    OpenGL GLSL                        256K        4 
    STACK GUARD                       56.1M       18 
    Stack                             16.1M       18 
    VM_ALLOCATE                       3908K      103 
    WebAssembly memory                24.0M        7 
    __DATA                            60.5M      491 
    __FONT_DATA                          4K        2 
    __GLSLBUILTINS                    5176K        2 
    __LINKEDIT                       248.3M      114 
    __TEXT                           433.9M      475 
    __UNICODE                          564K        2 
    mapped file                       65.2M      216 
    shared memory                      744K       17 
    ===========                     =======  ======= 
    TOTAL                              1.7G     1763 
    TOTAL, minus reserved VM space     1.7G     1763 
    
    jsulmJ 1 Reply Last reply
    0
    • AaronCA AaronC

      I've been struggling with Qt Creator crashing randomly while I'm debugging my app on MacOS Mojave. It looks as if my QML code is at fault. And it always crashes at a call to Debugger::Internal::QmlInspectorAgent::onResult(). I've attached an abbreviated .crash file. Any ideas how to pinpoint where the bug is in my QML?

      Process:               Qt Creator [91583]
      Path:                  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier:            org.qt-project.qtcreator
      Version:               4.9 (4.9.2)
      Code Type:             X86-64 (Native)
      Parent Process:        ??? [1]
      Responsible:           Qt Creator [91583]
      User ID:               501
      
      Date/Time:             2019-07-01 23:05:27.183 -0700
      OS Version:            Mac OS X 10.14.3 (18D109)
      Report Version:        12
      Anonymous UUID:        D99EC8E1-68B5-D97A-50E8-7CC874649B85
      
      
      Time Awake Since Boot: 2000000 seconds
      
      System Integrity Protection: enabled
      
      Crashed Thread:        0  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000001d00000001
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Termination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [91583]
      
      VM Regions Near 0x1d00000001:
          MALLOC_LARGE           0000000130af6000-0000000130c76000 [ 1536K] rw-/rwx SM=PRV  
      --> 
          MALLOC_NANO            0000600000000000-0000600020000000 [512.0M] rw-/rwx SM=PRV  
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libDebugger.dylib             	0x0000000116e325ed Debugger::Internal::QmlInspectorAgent::onResult(unsigned int, QVariant const&, QByteArray const&) + 1565
      1   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
      2   libQmlDebug.4.9.2.dylib       	0x0000000117122b26 QmlDebug::BaseEngineDebugClient::result(unsigned int, QVariant const&, QByteArray const&) + 70
      3   libQmlDebug.4.9.2.dylib       	0x00000001171133eb QmlDebug::BaseEngineDebugClient::messageReceived(QByteArray const&) + 859
      4   libQmlDebug.4.9.2.dylib       	0x000000011711dc69 QmlDebug::QmlDebugConnection::protocolReadyRead() + 585
      5   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
      6   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
      7   libQmlDebug.4.9.2.dylib       	0x0000000117118ffd QmlDebug::QPacketProtocolPrivate::readyToRead() + 93
      8   org.qt-project.QtCore         	0x0000000110e4a6ab QMetaObject::activate(QObject*, int, int, void**) + 2219
      9   org.qt-project.QtNetwork      	0x0000000110b7ae85 QAbstractSocketPrivate::canReadNotification() + 229
      10  org.qt-project.QtNetwork      	0x0000000110b90aa0 QReadNotifier::event(QEvent*) + 32
      11  org.qt-project.QtWidgets      	0x000000010ffc4c3d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
      12  org.qt-project.QtWidgets      	0x000000010ffc6042 QApplication::notify(QObject*, QEvent*) + 594
      13  org.qt-project.QtCore         	0x0000000110e196e4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
      14  org.qt-project.QtCore         	0x0000000110e6c677 qt_mac_socket_callback(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 167
      15  com.apple.CoreFoundation      	0x00007fff3d7e0e9d __CFSocketPerformV0 + 985
      16  com.apple.CoreFoundation      	0x00007fff3d747395 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      17  com.apple.CoreFoundation      	0x00007fff3d74733b __CFRunLoopDoSource0 + 108
      18  com.apple.CoreFoundation      	0x00007fff3d72add1 __CFRunLoopDoSources0 + 195
      19  com.apple.CoreFoundation      	0x00007fff3d72a37a __CFRunLoopRun + 1219
      20  com.apple.CoreFoundation      	0x00007fff3d729c64 CFRunLoopRunSpecific + 463
      21  com.apple.HIToolbox           	0x00007fff3c9c0ab5 RunCurrentEventLoopInMode + 293
      22  com.apple.HIToolbox           	0x00007fff3c9c07eb ReceiveNextEventCommon + 618
      23  com.apple.HIToolbox           	0x00007fff3c9c0568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      24  com.apple.AppKit              	0x00007fff3ac7b363 _DPSNextEvent + 997
      25  com.apple.AppKit              	0x00007fff3ac7a102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
      26  com.apple.AppKit              	0x00007fff3ac74165 -[NSApplication run] + 699
      27  libqcocoa.dylib               	0x000000011178bb7b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2955
      28  org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      29  org.qt-project.QtCore         	0x0000000110e19cf2 QCoreApplication::exec() + 130
      30  org.qt-project.qtcreator      	0x000000010fcd0b01 main + 15217
      31  libdyld.dylib                 	0x00007fff6a97ced9 start + 1
      
      Thread 1:: com.apple.CFSocket.private
      0   libsystem_kernel.dylib        	0x00007fff6aabd5aa __select + 10
      1   com.apple.CoreFoundation      	0x00007fff3d758c13 __CFSocketManager + 639
      2   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      3   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      4   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 2:: Qt bearer thread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6f83a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 3:: QThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 4:: QThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 5:: QThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 6:: QNetworkAccessManager thread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 7:: com.apple.NSEventThread
      0   libsystem_kernel.dylib        	0x00007fff6aab617a mach_msg_trap + 10
      1   libsystem_kernel.dylib        	0x00007fff6aab66d0 mach_msg + 60
      2   com.apple.CoreFoundation      	0x00007fff3d72afde __CFRunLoopServiceMachPort + 337
      3   com.apple.CoreFoundation      	0x00007fff3d72a52d __CFRunLoopRun + 1654
      4   com.apple.CoreFoundation      	0x00007fff3d729c64 CFRunLoopRunSpecific + 463
      5   com.apple.AppKit              	0x00007fff3ac83f89 _NSEventThread + 160
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 8:: QmlJSEditor::Internal::SemanticInfoUpdater
      0   libsystem_kernel.dylib        	0x00007fff6aab97de __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff6ab73593 _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x0000000110c5ad6b QWaitConditionPrivate::wait(QDeadlineTimer) + 59
      3   org.qt-project.QtCore         	0x0000000110c5accc QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
      4   libQmlJSEditor.dylib          	0x000000011d792da2 QmlJSEditor::Internal::SemanticInfoUpdater::run() + 162
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 9:: QFileInfoGatherer
      0   libsystem_kernel.dylib        	0x00007fff6aab97de __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff6ab73593 _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x0000000110c5ad6b QWaitConditionPrivate::wait(QDeadlineTimer) + 59
      3   org.qt-project.QtCore         	0x0000000110c5accc QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
      4   org.qt-project.QtWidgets      	0x00000001101ef752 QFileInfoGatherer::run() + 130
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 10:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
      6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 11:: QFileInfoGatherer
      0   libsystem_kernel.dylib        	0x00007fff6aab97de __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff6ab73593 _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x0000000110c5ad6b QWaitConditionPrivate::wait(QDeadlineTimer) + 59
      3   org.qt-project.QtCore         	0x0000000110c5accc QWaitCondition::wait(QMutex*, QDeadlineTimer) + 108
      4   org.qt-project.QtWidgets      	0x00000001101ef752 QFileInfoGatherer::run() + 130
      5   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      6   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 12:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
      6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 13:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
      6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 14:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
      6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 15:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff6aabe2ee poll + 10
      1   org.qt-project.QtCore         	0x0000000110e6fa40 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
      2   org.qt-project.QtCore         	0x0000000110e71237 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
      3   org.qt-project.QtCore         	0x0000000110e14cff QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      4   org.qt-project.QtCore         	0x0000000110c515fc QThread::exec() + 140
      5   org.qt-project.QtQml          	0x00000001114cb219 QQmlThreadPrivate::run() + 57
      6   org.qt-project.QtCore         	0x0000000110c52573 QThreadPrivate::start(void*) + 323
      7   libsystem_pthread.dylib       	0x00007fff6ab70305 _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff6ab7326f _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff6ab6f415 thread_start + 13
      
      Thread 16:
      0   libsystem_pthread.dylib       	0x00007fff6ab6f3f8 start_wqthread + 0
      1   ???                           	0x0000000000001a0b 0 + 6667
      
      Thread 0 crashed with X86 Thread State (64-bit):
        rax: 0x0000001d00000001  rbx: 0x00006000073a25c0  rcx: 0x0000000000000050  rdx: 0x0000000000000000
        rdi: 0x00000000000000bb  rsi: 0x0000000000000715  rbp: 0x00007ffedff387d0  rsp: 0x00007ffedff38710
         r8: 0x00000000000000ff   r9: 0x00000000000007fb  r10: 0x0000000000002740  r11: 0x0000000000000040
        r12: 0x00007fc81f221bb8  r13: 0x0000000111194ec8  r14: 0x00007ffedff389a0  r15: 0x00007fc81f221b80
        rip: 0x0000000116e325ed  rfl: 0x0000000000010206  cr2: 0x0000001d00000001
        
      Logical CPU:     0
      Error Code:      0x00000004
      Trap Number:     
      
      Binary Images:
      // removed for brevity
      
      External Modification Summary:
        Calls made by other processes targeting this process:
          task_for_pid: 8
          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: 1531117
          thread_create: 0
          thread_set_state: 21209
      
      VM Region Summary:
      ReadOnly portion of Libraries: Total=682.2M resident=0K(0%) swapped_out_or_unallocated=682.2M(100%)
      Writable regions: Total=829.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=829.0M(100%)
       
                                      VIRTUAL   REGION 
      REGION TYPE                        SIZE    COUNT (non-coalesced) 
      ===========                     =======  ======= 
      Accelerate framework               384K        4 
      Activity Tracing                   256K        2 
      CG backing stores                 1760K        3 
      CG image                           432K       19 
      CoreAnimation                      576K       25 
      CoreGraphics                         8K        2 
      CoreImage                          160K       25 
      CoreUI image data                 3384K       39 
      CoreUI image file                  244K        7 
      Foundation                          28K        3 
      Image IO                           256K        2 
      JS JIT generated code              232K       24 
      JS VM register file               31.5M       28 
      JS VM register file (reserved)    6120K        4         reserved VM address space (unallocated)
      Kernel Alloc Once                    8K        2 
      MALLOC                           740.6M      126 
      MALLOC guard page                   32K        7 
      Memory Tag 242                      12K        2 
      Memory Tag 251                      32K        2 
      OpenGL GLSL                        256K        4 
      STACK GUARD                       56.1M       18 
      Stack                             16.1M       18 
      VM_ALLOCATE                       3908K      103 
      WebAssembly memory                24.0M        7 
      __DATA                            60.5M      491 
      __FONT_DATA                          4K        2 
      __GLSLBUILTINS                    5176K        2 
      __LINKEDIT                       248.3M      114 
      __TEXT                           433.9M      475 
      __UNICODE                          564K        2 
      mapped file                       65.2M      216 
      shared memory                      744K       17 
      ===========                     =======  ======= 
      TOTAL                              1.7G     1763 
      TOTAL, minus reserved VM space     1.7G     1763 
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AaronC said in Qt Creator randomly crashing at Debugger::Internal::QmlInspectorAgent::onResult():

      Any ideas how to pinpoint where the bug is in my QML?

      QtCreator should not crash because of some QML code.
      Did you file a bug in Qt bug tracker?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • AaronCA Offline
        AaronCA Offline
        AaronC
        wrote on last edited by
        #3

        I will submit a bug report. My hunch is that my QML is getting bad data from one of my models, causing QmlInspectorAgent to crash out. Because this causes Qt Creator to just go away, it leaves me no breadcrumbs to help pinpoint the problem. So far, instrumenting my code hasn't helped me find the bug. Besides instrumenting my models, any other ideas how to figure this out?

        aha_1980A 1 Reply Last reply
        0
        • AaronCA AaronC

          I will submit a bug report. My hunch is that my QML is getting bad data from one of my models, causing QmlInspectorAgent to crash out. Because this causes Qt Creator to just go away, it leaves me no breadcrumbs to help pinpoint the problem. So far, instrumenting my code hasn't helped me find the bug. Besides instrumenting my models, any other ideas how to figure this out?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @AaronC Reported as QTCREATORBUG-22654

          Qt has to stay free or it will die.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved