Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 8.0.1
-
None
-
macOS 12.6.1, arm64
Description
Steps to reproduce
- Open scxml.pro (from Qt 5.15.10 examples for me)
- Open statemachine.scxml from the calculator-qml project by traversing the project tree
- The graphical scxml editor opens with the file loaded
- Close the editor using either:
- Cmd-W
- The 'x' button in the list of open documents (once switched from Design to Edit view)
As a result, QtC crashes instead of just closing the editor window:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0xffff800000000102 ??? 1 libScxmlEditor.dylib 0x10c4e4d94 ScxmlEditor::PluginInterface::TransitionItem::sceneTargetPoint(ScxmlEditor::PluginInterface::TransitionItem::TransitionPoint) + 12 (transitionitem.cpp:775) [inlined] 2 libScxmlEditor.dylib 0x10c4e4d94 ScxmlEditor::PluginInterface::TransitionItem::updateComponents() + 2000 (transitionitem.cpp:849) 3 libScxmlEditor.dylib 0x10c4af63c ScxmlEditor::PluginInterface::ConnectableItem::updateInputTransitions() + 28 (connectableitem.cpp:292) [inlined] 4 libScxmlEditor.dylib 0x10c4af63c ScxmlEditor::PluginInterface::ConnectableItem::updateTransitions(bool) + 128 (connectableitem.cpp:310) 5 libScxmlEditor.dylib 0x10c4e8c64 ScxmlEditor::PluginInterface::TransitionItem::removeTransition(ScxmlEditor::PluginInterface::TransitionItem::TransitionPoint) + 88 (transitionitem.cpp:540) [inlined] 6 libScxmlEditor.dylib 0x10c4e8c64 ScxmlEditor::PluginInterface::TransitionItem::disconnectItem(ScxmlEditor::PluginInterface::ConnectableItem*) + 128 (transitionitem.cpp:553) 7 libScxmlEditor.dylib 0x10c4ae14c ScxmlEditor::PluginInterface::ConnectableItem::~ConnectableItem() + 332 (connectableitem.cpp:72) 8 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 9 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 10 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 11 libScxmlEditor.dylib 0x10c4779d0 non-virtual thunk to ScxmlEditor::PluginInterface::StateItem::~StateItem() + 64 12 QtWidgets 0x102922cd0 QGraphicsItem::~QGraphicsItem() + 596 13 QtWidgets 0x10292e5f4 QGraphicsObject::~QGraphicsObject() + 24 14 libScxmlEditor.dylib 0x10c4ae418 ScxmlEditor::PluginInterface::ConnectableItem::~ConnectableItem() + 1048 (connectableitem.cpp:81) 15 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 16 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 17 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 18 libScxmlEditor.dylib 0x10c4779d0 non-virtual thunk to ScxmlEditor::PluginInterface::StateItem::~StateItem() + 64 19 QtWidgets 0x102922cd0 QGraphicsItem::~QGraphicsItem() + 596 20 QtWidgets 0x10292e5f4 QGraphicsObject::~QGraphicsObject() + 24 21 libScxmlEditor.dylib 0x10c4ae418 ScxmlEditor::PluginInterface::ConnectableItem::~ConnectableItem() + 1048 (connectableitem.cpp:81) 22 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 23 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 24 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 25 libScxmlEditor.dylib 0x10c4779d0 non-virtual thunk to ScxmlEditor::PluginInterface::StateItem::~StateItem() + 64 26 QtWidgets 0x102922cd0 QGraphicsItem::~QGraphicsItem() + 596 27 QtWidgets 0x10292e5f4 QGraphicsObject::~QGraphicsObject() + 24 28 libScxmlEditor.dylib 0x10c4ae418 ScxmlEditor::PluginInterface::ConnectableItem::~ConnectableItem() + 1048 (connectableitem.cpp:81) 29 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 30 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 31 libScxmlEditor.dylib 0x10c4779d0 ScxmlEditor::PluginInterface::StateItem::~StateItem() + 48 (stateitem.h:45) [inlined] 32 libScxmlEditor.dylib 0x10c4779d0 non-virtual thunk to ScxmlEditor::PluginInterface::StateItem::~StateItem() + 64 33 QtWidgets 0x10294ecd8 QGraphicsScene::clear() + 120 34 libScxmlEditor.dylib 0x10c48acb8 ScxmlEditor::Common::MainWidget::clear() + 96 (mainwidget.cpp:587) 35 libScxmlEditor.dylib 0x10c48abc0 ScxmlEditor::Common::MainWidget::~MainWidget() + 44 (mainwidget.cpp:178) 36 libScxmlEditor.dylib 0x10c48ad48 ScxmlEditor::Common::MainWidget::~MainWidget() + 4 (mainwidget.cpp:177) [inlined] 37 libScxmlEditor.dylib 0x10c48ad48 ScxmlEditor::Common::MainWidget::~MainWidget() + 12 (mainwidget.cpp:177) 38 QtCore 0x1036fabfc QObject::event(QEvent*) + 632 39 QtWidgets 0x1026548e0 QWidget::event(QEvent*) + 3696 40 QtWidgets 0x10260a1c8 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272 41 QtWidgets 0x10260bd74 QApplication::notify(QObject*, QEvent*) + 3396 42 QtCore 0x1036b96a0 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 208 43 QtCore 0x1036ba8e4 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 808 44 libqcocoa.dylib 0x1023d4c88 0x1023c0000 + 85128 45 libqcocoa.dylib 0x1023d5318 0x1023c0000 + 86808 46 CoreFoundation 0x1bd4a8f94 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 47 CoreFoundation 0x1bd4a8ee0 __CFRunLoopDoSource0 + 208 48 CoreFoundation 0x1bd4a8be0 __CFRunLoopDoSources0 + 268 49 CoreFoundation 0x1bd4a7560 __CFRunLoopRun + 828 50 CoreFoundation 0x1bd4a6a84 CFRunLoopRunSpecific + 600 51 HIToolbox 0x1c60ea338 RunCurrentEventLoopInMode + 292 52 HIToolbox 0x1c60ea0b4 ReceiveNextEventCommon + 564 53 HIToolbox 0x1c60e9e68 _BlockUntilNextEventMatchingListInModeWithFilter + 72 54 AppKit 0x1c000e51c _DPSNextEvent + 860 55 AppKit 0x1c000ce14 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328 56 AppKit 0x1bfffefe0 -[NSApplication run] + 596 57 libqcocoa.dylib 0x1023d4200 0x1023c0000 + 82432 58 QtCore 0x1036c2cfc QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 544 59 QtCore 0x1036b9d54 QCoreApplication::exec() + 128 60 Qt Creator 0x100c6c8b0 main + 14888 (main.cpp:790) 61 dyld 0x100ecd08c start + 520
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-28027 QtCreator crashes when closing SCXML state chart
- Closed