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

Crash when following symbol under cursor

    XMLWordPrintable

Details

    Description

      I was testing out "Follow symbol under cursor" after upgrading to 7.0 by Ctrl+clicking a function name. I couldn't tell if it had registered so I clicked a couple more times and it crashed:

      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   QtCore                        	       0x1110d6bc9 ucstrncmp(QChar const*, QChar const*, unsigned long) + 9 (qstring.cpp:961) [inlined]
      1   QtCore                        	       0x1110d6bc9 ucstrcmp(QChar const*, unsigned long, QChar const*, unsigned long) + 41 (qstring.cpp:1200)
      2   libUtils.7.0.0.dylib          	       0x10f04b6d7 Utils::FilePath::operator==(Utils::FilePath const&) const + 71
      3   libUtils.7.0.0.dylib          	       0x10f04b749 Utils::FilePath::operator!=(Utils::FilePath const&) const + 9
      4   libTextEditor.dylib           	       0x115f5c42c TextEditor::TextDocument::openImpl(QString*, Utils::FilePath const&, Utils::FilePath const&, bool) + 716
      5   libTextEditor.dylib           	       0x115f5c0aa TextEditor::TextDocument::open(QString*, Utils::FilePath const&, Utils::FilePath const&) + 58
      6   libCore.dylib                 	       0x1161ddeb6 0x11611f000 + 782006
      7   libCore.dylib                 	       0x1161df2cf 0x11611f000 + 787151
      8   libTextEditor.dylib           	       0x115f8660d TextEditor::TextEditorWidget::openLink(Utils::Link const&, bool) + 205
      9   libTextEditor.dylib           	       0x115fa1d36 0x115e95000 + 1101110
      10  libCppEditor.dylib            	       0x1175457d6 0x11745d000 + 952278
      11  libClangCodeModel.dylib       	       0x117d23c78 0x117cd1000 + 339064
      12  libClangCodeModel.dylib       	       0x117d6509a 0x117cd1000 + 606362
      13  libLanguageServerProtocol.7.0.0.dylib	       0x115d3a287 0x115cfc000 + 254599
      14  libLanguageClient.dylib       	       0x1164ca3f2 LanguageClient::Client::handleResponse(LanguageServerProtocol::MessageId const&, QByteArray const&, QTextCodec*) + 130
      15  libLanguageServerProtocol.7.0.0.dylib	       0x115d181b1 LanguageServerProtocol::JsonRpcMessageHandler::parseContent(QByteArray const&, QTextCodec*, QString&, std::__1::function<void (LanguageServerProtocol::MessageId const&, QByteArray const&, QTextCodec*)> const&, std::__1::function<void (QString const&, LanguageServerProtocol::MessageId const&, LanguageServerProtocol::IContent const*)> const&) + 449
      16  libLanguageClient.dylib       	       0x1164b91f1 LanguageClient::Client::handleMessage(LanguageServerProtocol::BaseMessage const&) + 545
      17  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      18  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      19  libLanguageClient.dylib       	       0x1164b2c34 LanguageClient::BaseClientInterface::messageReceived(LanguageServerProtocol::BaseMessage) + 52
      20  libLanguageClient.dylib       	       0x116523580 LanguageClient::BaseClientInterface::parseData(QByteArray const&) + 1456
      21  libLanguageClient.dylib       	       0x116523fc9 LanguageClient::StdIOClientInterface::readOutput() + 377
      22  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      23  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      24  libUtils.7.0.0.dylib          	       0x10f12c478 0x10ef9f000 + 1627256
      25  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      26  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      27  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      28  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      29  libUtils.7.0.0.dylib          	       0x10f0be3a9 0x10ef9f000 + 1176489
      30  libUtils.7.0.0.dylib          	       0x10f0bdc4b 0x10ef9f000 + 1174603
      31  libUtils.7.0.0.dylib          	       0x10f0bd9c0 0x10ef9f000 + 1173952
      32  libUtils.7.0.0.dylib          	       0x10f0c5839 0x10ef9f000 + 1206329
      33  QtCore                        	       0x11103f6e9 QObject::event(QEvent*) + 729 (qobject.cpp:1365)
      34  QtWidgets                     	       0x10fed2b97 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247 (qapplication.cpp:3409)
      35  QtWidgets                     	       0x10fed3cf7 QApplication::notify(QObject*, QEvent*) + 503
      36  QtCore                        	       0x110ff716a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170 (qcoreapplication.cpp:1067)
      37  QtCore                        	       0x110ff8380 QCoreApplication::sendEvent(QObject*, QEvent*) + 17 (qcoreapplication.cpp:1475) [inlined]
      38  QtCore                        	       0x110ff8380 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 800 (qcoreapplication.cpp:1834)
      39  libqcocoa.dylib               	       0x10eedb8bb QCocoaEventDispatcherPrivate::processPostedEvents() + 315 (qcocoaeventdispatcher.mm:902)
      40  libqcocoa.dylib               	       0x10eedab9b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1627 (qcocoaeventdispatcher.mm:510)
      41  libTextEditor.dylib           	       0x115f5c36f TextEditor::TextDocument::openImpl(QString*, Utils::FilePath const&, Utils::FilePath const&, bool) + 527
      42  libTextEditor.dylib           	       0x115f5c0aa TextEditor::TextDocument::open(QString*, Utils::FilePath const&, Utils::FilePath const&) + 58
      43  libCore.dylib                 	       0x1161ddeb6 0x11611f000 + 782006
      44  libCore.dylib                 	       0x1161df2cf 0x11611f000 + 787151
      45  libTextEditor.dylib           	       0x115f8660d TextEditor::TextEditorWidget::openLink(Utils::Link const&, bool) + 205
      46  libTextEditor.dylib           	       0x115fa1d36 0x115e95000 + 1101110
      47  libCppEditor.dylib            	       0x1175457d6 0x11745d000 + 952278
      48  libClangCodeModel.dylib       	       0x117d23c78 0x117cd1000 + 339064
      49  libClangCodeModel.dylib       	       0x117d6509a 0x117cd1000 + 606362
      50  libLanguageServerProtocol.7.0.0.dylib	       0x115d3a287 0x115cfc000 + 254599
      51  libLanguageClient.dylib       	       0x1164ca3f2 LanguageClient::Client::handleResponse(LanguageServerProtocol::MessageId const&, QByteArray const&, QTextCodec*) + 130
      52  libLanguageServerProtocol.7.0.0.dylib	       0x115d181b1 LanguageServerProtocol::JsonRpcMessageHandler::parseContent(QByteArray const&, QTextCodec*, QString&, std::__1::function<void (LanguageServerProtocol::MessageId const&, QByteArray const&, QTextCodec*)> const&, std::__1::function<void (QString const&, LanguageServerProtocol::MessageId const&, LanguageServerProtocol::IContent const*)> const&) + 449
      53  libLanguageClient.dylib       	       0x1164b91f1 LanguageClient::Client::handleMessage(LanguageServerProtocol::BaseMessage const&) + 545
      54  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      55  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      56  libLanguageClient.dylib       	       0x1164b2c34 LanguageClient::BaseClientInterface::messageReceived(LanguageServerProtocol::BaseMessage) + 52
      57  libLanguageClient.dylib       	       0x116523580 LanguageClient::BaseClientInterface::parseData(QByteArray const&) + 1456
      58  libLanguageClient.dylib       	       0x116523fc9 LanguageClient::StdIOClientInterface::readOutput() + 377
      59  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      60  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      61  libUtils.7.0.0.dylib          	       0x10f12c478 0x10ef9f000 + 1627256
      62  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      63  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      64  QtCore                        	       0x1110481de QtPrivate::QSlotObjectBase::call(QObject*, void**) + 21 (qobjectdefs_impl.h:375) [inlined]
      65  QtCore                        	       0x1110481de void doActivate<false>(QObject*, int, void**) + 814 (qobject.cpp:3908)
      66  libUtils.7.0.0.dylib          	       0x10f0be3a9 0x10ef9f000 + 1176489
      67  libUtils.7.0.0.dylib          	       0x10f0bdc4b 0x10ef9f000 + 1174603
      68  libUtils.7.0.0.dylib          	       0x10f0bd9c0 0x10ef9f000 + 1173952
      69  libUtils.7.0.0.dylib          	       0x10f0c5839 0x10ef9f000 + 1206329
      70  QtCore                        	       0x11103f6e9 QObject::event(QEvent*) + 729 (qobject.cpp:1365)
      71  QtWidgets                     	       0x10fed2b97 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247 (qapplication.cpp:3409)
      72  QtWidgets                     	       0x10fed3cf7 QApplication::notify(QObject*, QEvent*) + 503
      73  QtCore                        	       0x110ff716a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170 (qcoreapplication.cpp:1067)
      74  QtCore                        	       0x110ff8380 QCoreApplication::sendEvent(QObject*, QEvent*) + 17 (qcoreapplication.cpp:1475) [inlined]
      75  QtCore                        	       0x110ff8380 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 800 (qcoreapplication.cpp:1834)
      76  libqcocoa.dylib               	       0x10eedb8bb QCocoaEventDispatcherPrivate::processPostedEvents() + 315 (qcocoaeventdispatcher.mm:902)
      77  libqcocoa.dylib               	       0x10eedbfdb QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 43 (qcocoaeventdispatcher.mm:925)
      78  CoreFoundation                	    0x7ff8109f1aeb __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      79  CoreFoundation                	    0x7ff8109f1a53 __CFRunLoopDoSource0 + 180
      80  CoreFoundation                	    0x7ff8109f17cd __CFRunLoopDoSources0 + 242
      81  CoreFoundation                	    0x7ff8109f01e8 __CFRunLoopRun + 892
      82  CoreFoundation                	    0x7ff8109ef7ac CFRunLoopRunSpecific + 562
      83  HIToolbox                     	    0x7ff819676ce6 RunCurrentEventLoopInMode + 292
      84  HIToolbox                     	    0x7ff819676a4a ReceiveNextEventCommon + 594
      85  HIToolbox                     	    0x7ff8196767e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
      86  AppKit                        	    0x7ff8134165cd _DPSNextEvent + 927
      87  AppKit                        	    0x7ff813414c8a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
      88  AppKit                        	    0x7ff813407339 -[NSApplication run] + 586
      89  libqcocoa.dylib               	       0x10eedadcd QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2189 (qcocoaeventdispatcher.mm:430)
      90  QtCore                        	       0x111000356 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 30 (qeventloop.cpp:139) [inlined]
      91  QtCore                        	       0x111000356 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454 (qeventloop.cpp:230)
      92  QtCore                        	       0x110ff7782 QCoreApplication::exec() + 130 (qcoreapplication.cpp:1382)
      93  Qt Creator                    	       0x10e668db2 0x10e65c000 + 52658
      94  dyld                          	       0x1194f151e start + 462
      
      Thread 1:: com.apple.CFSocket.private
      0   libsystem_kernel.dylib        	    0x7ff8108f6d5a __select + 10
      1   CoreFoundation                	    0x7ff810a18f79 __CFSocketManager + 641
      2   libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      3   libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 2:: QThread
      0   libsystem_kernel.dylib        	    0x7ff8108f50aa poll + 10
      1   QtCore                        	       0x11117c08e qt_ppoll(pollfd*, unsigned int, timespec const*) + 16 (qcore_unix.cpp:134) [inlined]
      2   QtCore                        	       0x11117c08e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94 (qcore_unix.cpp:155)
      3   QtCore                        	       0x11117d88b QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 763 (qeventdispatcher_unix.cpp:502)
      4   QtCore                        	       0x111000356 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 30 (qeventloop.cpp:139) [inlined]
      5   QtCore                        	       0x111000356 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454 (qeventloop.cpp:230)
      6   QtCore                        	       0x1110f8af3 QThread::exec() + 163 (qthread.cpp:544)
      7   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      8   QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      9   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      10  libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      11  libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 3:: QThread
      0   libsystem_kernel.dylib        	    0x7ff8108f50aa poll + 10
      1   QtCore                        	       0x11117c08e qt_ppoll(pollfd*, unsigned int, timespec const*) + 16 (qcore_unix.cpp:134) [inlined]
      2   QtCore                        	       0x11117c08e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94 (qcore_unix.cpp:155)
      3   QtCore                        	       0x11117d88b QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 763 (qeventdispatcher_unix.cpp:502)
      4   QtCore                        	       0x111000356 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 30 (qeventloop.cpp:139) [inlined]
      5   QtCore                        	       0x111000356 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454 (qeventloop.cpp:230)
      6   QtCore                        	       0x1110f8af3 QThread::exec() + 163 (qthread.cpp:544)
      7   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      8   QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      9   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      10  libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      11  libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 4:: QNetworkAccessManager thread
      0   libsystem_kernel.dylib        	    0x7ff8108f50aa poll + 10
      1   QtCore                        	       0x11117c08e qt_ppoll(pollfd*, unsigned int, timespec const*) + 16 (qcore_unix.cpp:134) [inlined]
      2   QtCore                        	       0x11117c08e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94 (qcore_unix.cpp:155)
      3   QtCore                        	       0x11117d88b QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 763 (qeventdispatcher_unix.cpp:502)
      4   QtCore                        	       0x111000356 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 30 (qeventloop.cpp:139) [inlined]
      5   QtCore                        	       0x111000356 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454 (qeventloop.cpp:230)
      6   QtCore                        	       0x1110f8af3 QThread::exec() + 163 (qthread.cpp:544)
      7   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      8   QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      9   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      10  libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      11  libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 5:: com.apple.NSEventThread
      0   libsystem_kernel.dylib        	    0x7ff8108ee97a mach_msg_trap + 10
      1   libsystem_kernel.dylib        	    0x7ff8108eece8 mach_msg + 56
      2   CoreFoundation                	    0x7ff8109f1cdd __CFRunLoopServiceMachPort + 319
      3   CoreFoundation                	    0x7ff8109f0368 __CFRunLoopRun + 1276
      4   CoreFoundation                	    0x7ff8109ef7ac CFRunLoopRunSpecific + 562
      5   AppKit                        	    0x7ff813583fee _NSEventThread + 132
      6   libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      7   libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 6:: QThread
      0   libsystem_kernel.dylib        	    0x7ff8108f50aa poll + 10
      1   QtCore                        	       0x11117c08e qt_ppoll(pollfd*, unsigned int, timespec const*) + 16 (qcore_unix.cpp:134) [inlined]
      2   QtCore                        	       0x11117c08e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94 (qcore_unix.cpp:155)
      3   QtCore                        	       0x11117d88b QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 763 (qeventdispatcher_unix.cpp:502)
      4   QtCore                        	       0x111000356 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 30 (qeventloop.cpp:139) [inlined]
      5   QtCore                        	       0x111000356 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454 (qeventloop.cpp:230)
      6   QtCore                        	       0x1110f8af3 QThread::exec() + 163 (qthread.cpp:544)
      7   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      8   QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      9   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      10  libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      11  libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 7:: QThread
      0   libsystem_kernel.dylib        	    0x7ff8108f50aa poll + 10
      1   QtCore                        	       0x11117c08e qt_ppoll(pollfd*, unsigned int, timespec const*) + 16 (qcore_unix.cpp:134) [inlined]
      2   QtCore                        	       0x11117c08e qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94 (qcore_unix.cpp:155)
      3   QtCore                        	       0x11117d88b QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 763 (qeventdispatcher_unix.cpp:502)
      4   QtCore                        	       0x111000356 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 30 (qeventloop.cpp:139) [inlined]
      5   QtCore                        	       0x111000356 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 454 (qeventloop.cpp:230)
      6   QtCore                        	       0x1110f8af3 QThread::exec() + 163 (qthread.cpp:544)
      7   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      8   QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      9   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      10  libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      11  libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 8:: QmlJSEditor::Internal::SemanticInfoUpdater
      0   libsystem_kernel.dylib        	    0x7ff8108f13ea __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	    0x7ff81092ba6f _pthread_cond_wait + 1249
      2   QtCore                        	       0x11118d4fb QWaitConditionPrivate::wait(QDeadlineTimer) + 59 (qwaitcondition_unix.cpp:147)
      3   QtCore                        	       0x11118d46e QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94 (qwaitcondition_unix.cpp:220)
      4   libQmlJSEditor.dylib          	       0x119f20d89 0x119ebf000 + 400777
      5   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      6   QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      7   QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      8   libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      9   libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 9:
      0   libsystem_pthread.dylib       	    0x7ff810926f48 start_wqthread + 0
      
      Thread 10:
      0   libsystem_pthread.dylib       	    0x7ff810926f48 start_wqthread + 0
      
      Thread 11:
      0   libsystem_pthread.dylib       	    0x7ff810926f48 start_wqthread + 0
      
      Thread 12:: Thread (pooled)
      0   libsystem_kernel.dylib        	    0x7ff8108ef23e __open + 10
      1   libsystem_kernel.dylib        	    0x7ff8108f7631 open + 204
      2   QtCore                        	       0x111178501 qt_safe_open(char const*, int, unsigned short) + 21 (qcore_unix_p.h:194) [inlined]
      3   QtCore                        	       0x111178501 QFSFileEnginePrivate::nativeOpen(QFlags<QIODeviceBase::OpenModeFlag>) + 193 (qfsfileengine_unix.cpp:121)
      4   QtCore                        	       0x110f94514 QFSFileEngine::open(QFlags<QIODeviceBase::OpenModeFlag>) + 100 (qfsfileengine.cpp:253)
      5   QtCore                        	       0x110f88eac QFile::open(QFlags<QIODeviceBase::OpenModeFlag>) + 92 (qfile.cpp:908)
      6   libUtils.7.0.0.dylib          	       0x10f08d1ff Utils::FileReader::fetch(Utils::FilePath const&, QFlags<QIODeviceBase::OpenModeFlag>) + 255
      7   libUtils.7.0.0.dylib          	       0x10f08d615 Utils::FileReader::fetch(Utils::FilePath const&, QFlags<QIODeviceBase::OpenModeFlag>, QString*) + 21
      8   libUtils.7.0.0.dylib          	       0x10f15f07f Utils::TextFileFormat::readFileUTF8(Utils::FilePath const&, QTextCodec const*, QByteArray*, QString*) + 63
      9   libCppEditor.dylib            	       0x11765859d 0x11745d000 + 2078109
      10  libCppEditor.dylib            	       0x11765aae1 0x11745d000 + 2087649
      11  libCPlusPlus.7.0.0.dylib      	       0x116a680f1 CPlusPlus::Preprocessor::handleIncludeDirective(CPlusPlus::Internal::PPToken*, bool) + 561
      12  libCPlusPlus.7.0.0.dylib      	       0x116a62175 CPlusPlus::Preprocessor::handlePreprocessorDirective(CPlusPlus::Internal::PPToken*) + 1493
      13  libCPlusPlus.7.0.0.dylib      	       0x116a6154b CPlusPlus::Preprocessor::lex(CPlusPlus::Internal::PPToken*) + 411
      14  libCPlusPlus.7.0.0.dylib      	       0x116a60564 CPlusPlus::Preprocessor::preprocess(QString const&, QByteArray const&, QByteArray*, QByteArray*, bool, bool, bool, unsigned int, unsigned int, unsigned int) + 2180
      15  libCPlusPlus.7.0.0.dylib      	       0x116a5fc65 CPlusPlus::Preprocessor::run(QString const&, QByteArray const&, bool, bool) + 181
      16  libCppEditor.dylib            	       0x11765b351 0x11745d000 + 2089809
      17  libCppEditor.dylib            	       0x117483b2f CppEditor::BuiltinEditorDocumentParser::updateImpl(QFutureInterface<void> const&, CppEditor::BaseEditorDocumentParser::UpdateParams const&) + 6527
      18  libCppEditor.dylib            	       0x11747c974 CppEditor::BaseEditorDocumentParser::update(QFutureInterface<void> const&, CppEditor::BaseEditorDocumentParser::UpdateParams const&) + 68
      19  libCppEditor.dylib            	       0x11747dae5 CppEditor::BaseEditorDocumentProcessor::runParser(QFutureInterface<void>&, QSharedPointer<CppEditor::BaseEditorDocumentParser>, CppEditor::BaseEditorDocumentParser::UpdateParams) + 117
      20  libCppEditor.dylib            	       0x11748fb26 0x11745d000 + 207654
      21  libCppEditor.dylib            	       0x11748f95d 0x11745d000 + 207197
      22  QtCore                        	       0x111187493 QThreadPoolThread::run() + 211 (qthreadpool.cpp:99)
      23  QtCore                        	       0x111181fc2 QThreadPrivate::start(void*)::$_0::operator()() const + 384 (qthread_unix.cpp:362) [inlined]
      24  QtCore                        	       0x111181fc2 void (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::$_0>(QThreadPrivate::start(void*)::$_0&&) + 384 (qthread_unix.cpp:292) [inlined]
      25  QtCore                        	       0x111181fc2 QThreadPrivate::start(void*) + 450 (qthread_unix.cpp:315)
      26  libsystem_pthread.dylib       	    0x7ff81092b4e1 _pthread_start + 125
      27  libsystem_pthread.dylib       	    0x7ff810926f6b thread_start + 15
      
      Thread 13:
      0   libsystem_pthread.dylib       	    0x7ff810926f48 start_wqthread + 0
      
      Thread 14:
      0   libsystem_pthread.dylib       	    0x7ff810926f48 start_wqthread + 0
      
      Thread 15:
      0   libsystem_pthread.dylib       	    0x7ff810926f48 start_wqthread + 0
      
      
      Thread 0 crashed with X86 Thread State (64-bit):
        rax: 0x0000000000000044  rbx: 0x0000000000000000  rcx: 0x0000000000000044  rdx: 0x00006000268f9a50
        rdi: 0x72747328295f5f45  rsi: 0x000a002929656469  rbp: 0x00007ff7b189efc0  rsp: 0x00007ff7b189efb8
         r8: 0x0000000000000010   r9: 0x0000000000000030  r10: 0x0000000000000044  r11: 0x0000000000000154
        r12: 0x00007f82f8aac050  r13: 0x0000000000000000  r14: 0x00007ff7b189f1a8  r15: 0x0000000000000000
        rip: 0x00000001110d6bc9  rfl: 0x0000000000010297  cr2: 0x00006000175bf000
      
      Logical CPU:     4
      Error Code:      0x00000000
      Trap Number:     13
      

      I had set the worker thread count to 1 (to try to reduce the load on my machine while indexing for the first time) prior to doing this, if it makes any difference.

      macOS 12.3
      
      Qt Creator 7.0.0
      Based on Qt 6.2.3 (Clang 13.0 (Apple), 64 bit)
      Built on Mar 22 2022 02:23:38
      From revision 638b93591b
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes