Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.13.0-beta1
-
macOS 10.15.4
-
-
27c3550d448d9134ad7b51c8be2d47a730ebdde6 (qt-creator/qt-creator/4.13)
Description
Steps:
1) Open Qt Creator manual test simple.pro project
tests/manual/debugger/simple/simple.pro
2) Place 2 breakpoints anywhere in the cpp file
3) Open the Debugger mode
4) Right click one of the set breakpoints in the bottom right breakpoints pane
5) Click on "delete breakpoints of /path/to/main.cpp file"
6) Observe crash
I believe i've also observed a more flaky crash with the same trace when sometimes deleting single breakpoints by right clicking in the breakpoints pane and choosing "delete selected breakpoint". But i can't reproduce it on-demand.
Only stacktrace i can get
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000b0 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [79182] VM Regions Near 0xb0: --> __TEXT 00000001049a7000-00000001049bc000 [ 84K] r-x/r-x SM=COW /Volumes/VOLUME/*/Qt Creator.app/Contents/MacOS/Qt Creator Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libDebugger.dylib 0x000000010d08f4f1 Debugger::Internal::GlobalBreakpointItem::deleteBreakpoint() + 577 1 libDebugger.dylib 0x000000010d0a15c5 std::__1::__function::__func<Debugger::Internal::BreakpointManager::contextMenuEvent(Utils::ItemViewEvent const&)::$_20, std::__1::allocator<Debugger::Internal::BreakpointManager::contextMenuEvent(Utils::ItemViewEvent const&)::$_20>, void ()>::operator()() + 101 2 org.qt-project.QtCore 0x0000000105c432e5 0x105a18000 + 2274021 3 org.qt-project.QtWidgets 0x0000000104cf79b6 QAction::activate(QAction::ActionEvent) + 310 4 org.qt-project.QtWidgets 0x0000000104e7ca2d 0x104cf0000 + 1624621 5 org.qt-project.QtWidgets 0x0000000104e7a1fa 0x104cf0000 + 1614330 6 org.qt-project.QtWidgets 0x0000000104e81c12 QMenu::mouseReleaseEvent(QMouseEvent*) + 690 7 org.qt-project.QtWidgets 0x0000000104d3b7bd QWidget::event(QEvent*) + 445 8 org.qt-project.QtWidgets 0x0000000104e822ca QMenu::event(QEvent*) + 1178 9 org.qt-project.QtWidgets 0x0000000104d00fea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 10 org.qt-project.QtWidgets 0x0000000104d03ec2 QApplication::notify(QObject*, QEvent*) + 7330 11 org.qt-project.QtCore 0x0000000105c0fd64 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 12 org.qt-project.QtWidgets 0x0000000104d01910 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 896 13 org.qt-project.QtWidgets 0x0000000104d5a691 0x104cf0000 + 435857 14 org.qt-project.QtWidgets 0x0000000104d590a5 0x104cf0000 + 430245 15 org.qt-project.QtWidgets 0x0000000104d00fea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 16 org.qt-project.QtWidgets 0x0000000104d02476 QApplication::notify(QObject*, QEvent*) + 598 17 org.qt-project.QtCore 0x0000000105c0fd64 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 18 org.qt-project.QtGui 0x00000001052deca5 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3397 19 org.qt-project.QtGui 0x00000001052c3e5b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219 20 libqcocoa.dylib 0x00000001065cae00 0x106591000 + 237056 21 libqcocoa.dylib 0x00000001065cb568 0x106591000 + 238952 22 com.apple.CoreFoundation 0x00007fff2fcc9f12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 23 com.apple.CoreFoundation 0x00007fff2fcc9eb1 __CFRunLoopDoSource0 + 103 24 com.apple.CoreFoundation 0x00007fff2fcc9ccb __CFRunLoopDoSources0 + 209 25 com.apple.CoreFoundation 0x00007fff2fcc89fa __CFRunLoopRun + 927 26 com.apple.CoreFoundation 0x00007fff2fcc7ffe CFRunLoopRunSpecific + 462 27 com.apple.HIToolbox 0x00007fff2e8fbabd RunCurrentEventLoopInMode + 292 28 com.apple.HIToolbox 0x00007fff2e8fb6f4 ReceiveNextEventCommon + 359 29 com.apple.HIToolbox 0x00007fff2e8fb579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 30 com.apple.AppKit 0x00007fff2cf46c99 _DPSNextEvent + 883 31 com.apple.AppKit 0x00007fff2cf454e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 32 com.apple.AppKit 0x00007fff2cf371ee -[NSApplication run] + 658 33 libqcocoa.dylib 0x00000001065ca1cf 0x106591000 + 233935 34 org.qt-project.QtCore 0x0000000105c0be0f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 35 org.qt-project.QtCore 0x0000000105c10372 QCoreApplication::exec() + 130 36 org.qt-project.qtcreator 0x00000001049b40a5 main + 16949 37 libdyld.dylib 0x00007fff69c10cc9 start + 1
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-24604 Crash after deleting breakpoints
-
- Closed
-