Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.7.0
-
None
-
macOS 10.14
MacBook Pro (15-inch, 2016)
Qt Creator 4.7.0
Based on Qt 5.11.1 (Clang 8.0 (Apple), 64 bit)
Built on Jul 17 2018 04:23:31
From revision dedbb40f57
Description
Haven't reproduced it so far, but here's the stack trace:
Crashed Thread: 11 QThread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000011845a234 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [6402] VM Regions Near 0x11845a234: CoreAnimation 0000000118403000-0000000118439000 [ 216K] rw-/rwx SM=PRV --> CoreAnimation 000000011856f000-0000000118596000 [ 156K] rw-/rwx SM=PRV Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff7b884b5e _kernelrpc_mach_vm_deallocate_trap + 10 1 libsystem_kernel.dylib 0x00007fff7b886b2e mach_vm_deallocate + 64 2 libsystem_malloc.dylib 0x00007fff7b904f2b mvm_deallocate_pages + 62 3 libsystem_malloc.dylib 0x00007fff7b900f6f free_large + 868 4 org.qt-project.QtCore 0x0000000106779d37 QString::reallocData(unsigned int, bool) + 215 5 org.qt-project.QtCore 0x000000010677a790 QString::append(QString const&) + 96 6 org.qt-project.QtGui 0x0000000106300b81 QTextCursor::insertText(QString const&, QTextCharFormat const&) + 433 7 org.qt-project.QtGui 0x000000010630081d QTextCursor::insertText(QString const&) + 61 8 libTextEditor.dylib 0x000000010c5d097b TextEditor::TextEditorWidget::keyPressEvent(QKeyEvent*) + 4347 9 org.qt-project.QtWidgets 0x0000000105c4728b QWidget::event(QEvent*) + 587 10 org.qt-project.QtWidgets 0x0000000105cf0a6d QFrame::event(QEvent*) + 45 11 org.qt-project.QtWidgets 0x0000000105cf3501 QAbstractScrollArea::event(QEvent*) + 449 12 org.qt-project.QtWidgets 0x0000000105dc7d4d QPlainTextEdit::event(QEvent*) + 781 13 libTextEditor.dylib 0x000000010c5d329a TextEditor::TextEditorWidget::event(QEvent*) + 74 14 org.qt-project.QtWidgets 0x0000000105c0cf12 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306 15 org.qt-project.QtWidgets 0x0000000105c0e43c QApplication::notify(QObject*, QEvent*) + 908 16 org.qt-project.QtCore 0x00000001068b454f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159 17 org.qt-project.QtWidgets 0x0000000105c66084 0x105bfd000 + 430212 18 org.qt-project.QtWidgets 0x0000000105c0cf12 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306 19 org.qt-project.QtWidgets 0x0000000105c0e2ed QApplication::notify(QObject*, QEvent*) + 573 20 org.qt-project.QtCore 0x00000001068b454f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159 21 org.qt-project.QtGui 0x00000001061d84e5 QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) + 165 22 org.qt-project.QtGui 0x00000001061bf8bb QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155 23 org.qt-project.QtGui 0x00000001061bb320 QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 576 24 libqcocoa.dylib 0x0000000108e61620 0x108e3f000 + 140832 25 libqcocoa.dylib 0x0000000108e617e8 0x108e3f000 + 141288 26 com.apple.AppKit 0x00007fff4bd7d9e2 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6946 27 com.apple.AppKit 0x00007fff4bd7bc75 -[NSWindow(NSEventRouting) sendEvent:] + 481 28 libqcocoa.dylib 0x0000000108e65e10 0x108e3f000 + 159248 29 com.apple.AppKit 0x00007fff4bc19903 -[NSApplication(NSEvent) sendEvent:] + 2823 30 libqcocoa.dylib 0x0000000108e6c40a 0x108e3f000 + 185354 31 com.apple.AppKit 0x00007fff4bc06795 -[NSApplication run] + 755 32 libqcocoa.dylib 0x0000000108e68a8d 0x108e3f000 + 170637 33 org.qt-project.QtCore 0x00000001068b00a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 34 org.qt-project.QtCore 0x00000001068b4c62 QCoreApplication::exec() + 402 35 org.qt-project.qtcreator 0x000000010595aa26 main + 14390 36 libdyld.dylib 0x00007fff7b74c085 start + 1 Thread 1:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff7b88be82 __select + 10 1 com.apple.CoreFoundation 0x00007fff4e6e5c83 __CFSocketManager + 639 2 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 3 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 4 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 2:: Qt bearer thread 0 libsystem_kernel.dylib 0x00007fff7b88cb8e poll + 10 1 org.qt-project.QtCore 0x0000000106909090 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 112 2 org.qt-project.QtCore 0x000000010690a8c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 3 org.qt-project.QtCore 0x00000001068b00a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 4 org.qt-project.QtCore 0x00000001066fa101 QThread::exec() + 113 5 org.qt-project.QtCore 0x0000000106703657 0x1066d6000 + 185943 6 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 8 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 3:: QThread 0 libsystem_kernel.dylib 0x00007fff7b88cb8e poll + 10 1 org.qt-project.QtCore 0x0000000106909240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544 2 org.qt-project.QtCore 0x000000010690a8c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 3 org.qt-project.QtCore 0x00000001068b00a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 4 org.qt-project.QtCore 0x00000001066fa101 QThread::exec() + 113 5 org.qt-project.QtCore 0x0000000106703657 0x1066d6000 + 185943 6 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 8 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 4:: QThread 0 libsystem_kernel.dylib 0x00007fff7b88cb8e poll + 10 1 org.qt-project.QtCore 0x0000000106909240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544 2 org.qt-project.QtCore 0x000000010690a8c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 3 org.qt-project.QtCore 0x00000001068b00a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 4 org.qt-project.QtCore 0x00000001066fa101 QThread::exec() + 113 5 org.qt-project.QtCore 0x0000000106703657 0x1066d6000 + 185943 6 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 8 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 5:: QQmlThread 0 libsystem_kernel.dylib 0x00007fff7b88cb8e poll + 10 1 org.qt-project.QtCore 0x0000000106909240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544 2 org.qt-project.QtCore 0x000000010690a8c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 3 org.qt-project.QtCore 0x00000001068b00a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 4 org.qt-project.QtCore 0x00000001066fa101 QThread::exec() + 113 5 org.qt-project.QtQml 0x0000000107025ed9 0x106df5000 + 2297561 6 org.qt-project.QtCore 0x0000000106703657 0x1066d6000 + 185943 7 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 9 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 6:: QQmlThread 0 libsystem_kernel.dylib 0x00007fff7b88cb8e poll + 10 1 org.qt-project.QtCore 0x0000000106909240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544 2 org.qt-project.QtCore 0x000000010690a8c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857 3 org.qt-project.QtCore 0x00000001068b00a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418 4 org.qt-project.QtCore 0x00000001066fa101 QThread::exec() + 113 5 org.qt-project.QtQml 0x0000000107025ed9 0x106df5000 + 2297561 6 org.qt-project.QtCore 0x0000000106703657 0x1066d6000 + 185943 7 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 9 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 7:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff7b884c2a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff7b885174 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff4e6b805e __CFRunLoopServiceMachPort + 337 3 com.apple.CoreFoundation 0x00007fff4e6b75ad __CFRunLoopRun + 1654 4 com.apple.CoreFoundation 0x00007fff4e6b6ce4 CFRunLoopRunSpecific + 463 5 com.apple.AppKit 0x00007fff4bc16581 _NSEventThread + 160 6 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 8 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13 Thread 8: 0 libsystem_pthread.dylib 0x00007fff7b93d408 start_wqthread + 0 1 ??? 0x0000000000001c0b 0 + 7179 Thread 9:: Dispatch queue: NSCGSDisableUpdates 0 libsystem_kernel.dylib 0x00007fff7b884c2a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff7b885174 mach_msg + 60 2 com.apple.SkyLight 0x00007fff746819bf CGSUpdateManager::enable_updates_common() + 539 3 com.apple.SkyLight 0x00007fff74624f97 CGSUpdateManager::enable_update(unsigned long long) + 317 4 libdispatch.dylib 0x00007fff7b6fcd4f _dispatch_call_block_and_release + 12 5 libdispatch.dylib 0x00007fff7b6fddcb _dispatch_client_callout + 8 6 libdispatch.dylib 0x00007fff7b704120 _dispatch_lane_serial_drain + 618 7 libdispatch.dylib 0x00007fff7b704bd8 _dispatch_lane_invoke + 388 8 libdispatch.dylib 0x00007fff7b70d084 _dispatch_workloop_worker_thread + 603 9 libsystem_pthread.dylib 0x00007fff7b93d61c _pthread_wqthread + 409 10 libsystem_pthread.dylib 0x00007fff7b93d415 start_wqthread + 13 Thread 10: 0 libsystem_pthread.dylib 0x00007fff7b93d408 start_wqthread + 0 1 ??? 0x000060000383cc60 0 + 105553175235680 Thread 11 Crashed:: QThread 0 libsystem_platform.dylib 0x00007fff7b932dd0 _platform_memmove$VARIANT$Haswell + 240 1 org.qt-project.QtCore 0x000000010677a7b8 QString::append(QString const&) + 136 2 org.qt-project.QtGui 0x00000001062c6897 QTextBlock::text() const + 615 3 libTextEditor.dylib 0x000000010c6ae44f DocumentContentCompletionProcessor::createProposal(TextEditor::AssistInterface const*) + 415 4 libTextEditor.dylib 0x000000010c6af475 void Utils::Internal::runAsyncQFutureInterfaceDispatch<TextEditor::IAssistProposal*, Utils::Internal::MemberCallable<TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*)>, TextEditor::AssistInterface const*>(std::__1::integral_constant<bool, false>, QFutureInterface<TextEditor::IAssistProposal*>, Utils::Internal::MemberCallable<TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*)>&&, TextEditor::AssistInterface const*&&) + 85 5 libTextEditor.dylib 0x000000010c6af3d7 void Utils::Internal::runAsyncMemberDispatch<TextEditor::IAssistProposal*, Utils::Internal::MemberCallable<TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*)>, TextEditor::AssistInterface const*, void>(QFutureInterface<TextEditor::IAssistProposal*>, Utils::Internal::MemberCallable<TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*)>&&, TextEditor::AssistInterface const*&&) + 71 6 libTextEditor.dylib 0x000000010c6af347 void Utils::Internal::runAsyncImpl<TextEditor::IAssistProposal*, Utils::Internal::MemberCallable<TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*)>, TextEditor::AssistInterface const*>(QFutureInterface<TextEditor::IAssistProposal*>, Utils::Internal::MemberCallable<TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*)>&&, TextEditor::AssistInterface const*&&) + 71 7 libTextEditor.dylib 0x000000010c6af2bb void Utils::Internal::runAsyncMemberDispatch<TextEditor::IAssistProposal*, TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*), DocumentContentCompletionProcessor*, TextEditor::AssistInterface const*, void>(QFutureInterface<TextEditor::IAssistProposal*>, TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*&&)(TextEditor::AssistInterface const*), DocumentContentCompletionProcessor*&&, TextEditor::AssistInterface const*&&) + 91 8 libTextEditor.dylib 0x000000010c6af21f void Utils::Internal::runAsyncImpl<TextEditor::IAssistProposal*, TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*), DocumentContentCompletionProcessor*, TextEditor::AssistInterface const*>(QFutureInterface<TextEditor::IAssistProposal*>, TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*&&)(TextEditor::AssistInterface const*), DocumentContentCompletionProcessor*&&, TextEditor::AssistInterface const*&&) + 79 9 libTextEditor.dylib 0x000000010c6af00b void Utils::Internal::AsyncJob<TextEditor::IAssistProposal*, TextEditor::IAssistProposal* (DocumentContentCompletionProcessor::*)(TextEditor::AssistInterface const*), DocumentContentCompletionProcessor*, TextEditor::AssistInterface const*&>::runHelper<0ul, 1ul, 2ul>(std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) + 75 10 libUtils.4.7.0.dylib 0x0000000105aa6bb2 Utils::Internal::RunnableThread::run() + 18 11 org.qt-project.QtCore 0x0000000106703657 0x1066d6000 + 185943 12 libsystem_pthread.dylib 0x00007fff7b93e33d _pthread_body + 126 13 libsystem_pthread.dylib 0x00007fff7b9412a7 _pthread_start + 70 14 libsystem_pthread.dylib 0x00007fff7b93d425 thread_start + 13
Attachments
For Gerrit Dashboard: QTCREATORBUG-21192 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
241392,5 | Editor: Do not access a text document from another thread | 4.7 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |