Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 15.0.0-beta2
-
None
-
Creator 15.0.0-beta2 + Qt 6.8
Description
Automated Squish test tst_create_proj_wizard randomly fails due to crash in Creator. Test goes through different project types in project creation wizard. I was able to reproduce crash also manually.
Steps to reproduce:
1. Launch Creator
2. Select 'Create Project...'
3. Select some template and project type
4. Select 'Choose...'
5. Scroll through wizard pages and select different items to 'Build system', 'Minumum required Qt version', etc. combo boxes
6. At the final page of the wizard select 'Cancel'
7. Repeat steps 2-6 with different project types until Creator crashes(it might take ~15 minutes to reproduce the bug)
Result:
Creator might crash at the end of the tst_create_proj_wizard test. Crash happens always after 'Choose...' is selected, but crash doesn't always happen at the same template/project type.
macOS jenkins log:
(0) 0 libsquishhook.dylib 0x00000001082390dc _ZN6Squish13readBacktraceEv + 300 (1) 1 libsquishhook.dylib 0x000000010820e447 _ZL12crashHandleri + 26 (2) 2 libsystem_platform.dylib 0x00007ff8047d437d _sigtramp + 29 (3) 3 ??? 0x00007ff7b986ba60 0x0 + 140701946264160 (4) 4 QtWidgets 0x00000001087fa4df _ZNK17QAccessibleWidget4textEN11QAccessible4TextE + 463 (5) 5 QtWidgets 0x00000001085833c3 _ZN7QWidget14setWindowTitleERK7QString + 179 (6) 6 libProjectExplorer.dylib 0x000000011390ea2b _ZN15ProjectExplorer15TargetSetupPageC2EP7QWidget + 155 (7) 7 libProjectExplorer.dylib 0x000000011377725e _ZN15ProjectExplorer13JsonFieldPage12validatePageEv + 35662 (8) 8 libProjectExplorer.dylib 0x00000001137aa206 _ZN15ProjectExplorer21JsonWizardPageFactory16setTypeIdsSuffixERK7QString + 3366 (9) 9 libProjectExplorer.dylib 0x0000000113799404 _ZN15ProjectExplorer17JsonWizardFactory13runWizardImplERKN5Utils8FilePathEP7QWidgetNS1_2IdERK4QMapI7QString8QVariantEb + 5316 (10) 10 libCore.dylib 0x0000000113e07c31 _ZN4Core14IWizardFactory9runWizardERKN5Utils8FilePathEP7QWidgetNS1_2IdERK4QMapI7QString8QVariantEb + 97 (11) 11 libCore.dylib 0x0000000113d021f5 _ZN4Core9NewDialogD0Ev + 17301 (12) 12 QtCore 0x00000001097c779d _ZN7QObject5eventEP6QEvent + 669 (13) 13 QtWidgets 0x0000000108532df4 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 308 (14) 14 QtWidgets 0x0000000108533d8e _ZN12QApplication6notifyEP7QObjectP6QEvent + 494 (15) 15 QtCore 0x000000010977b8cb _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 187 (16) 16 QtCore 0x000000010977d3f2 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 3042 (17) 17 libqcocoa.dylib 0x0000000106a0e55b qt_plugin_instance + 65275 (18) 18 libqcocoa.dylib 0x0000000106a0f6dc qt_plugin_instance + 69756 (19) 19 CoreFoundation 0x00007ff804882337 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (20) 20 CoreFoundation 0x00007ff8048822d9 __CFRunLoopDoSource0 + 157 (21) 21 CoreFoundation 0x00007ff8048820a4 __CFRunLoopDoSources0 + 215 (22) 22 CoreFoundation 0x00007ff804880d21 __CFRunLoopRun + 919 (23) 23 CoreFoundation 0x00007ff804880372 CFRunLoopRunSpecific + 557 (24) 24 HIToolbox 0x00007ff80f0ec9d9 RunCurrentEventLoopInMode + 292 (25) 25 HIToolbox 0x00007ff80f0ec616 ReceiveNextEventCommon + 201 (26) 26 HIToolbox 0x00007ff80f0ec531 _BlockUntilNextEventMatchingListInModeWithFilter + 66 (27) 27 AppKit 0x00007ff807e880c5 _DPSNextEvent + 880 (28) 28 AppKit 0x00007ff808779150 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1304 (29) 29 AppKit 0x00007ff807e7963a -[NSApplication run] + 603 (30) 30 libqcocoa.dylib 0x0000000106a0d139 qt_plugin_instance + 60121 (31) 31 QtCore 0x00000001097866c6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 1110 (32) 32 QtCore 0x000000010977c011 _ZN16QCoreApplication4execEv + 145 (33) 33 Qt Creator 0x000000010669e750 Qt Creator + 63312 (34) 34 dyld 0x00007ff80441e3a6 start + 1942
Ubuntu jenkins log:
(0) /opt/squish/squish_for_qt67/lib/libsquishhook.so(+0xb0d3c) [0x7ff17eeb0d3c] (1) /opt/squish/squish_for_qt67/lib/libsquishhook.so(+0x8c6fb) [0x7ff17ee8c6fb] (2) /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7ff1a1995520] (3) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Widgets.so.6 (QWidget::accessibleName() const)) [0x7ff1a3484314] (4) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Widgets.so.6 (QAccessibleWidget::text(QAccessible::Text) const)) [0x7ff1a36ffaf7] (5) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Widgets.so.6 (QWidget::setWindowTitle(QString const&))) [0x7ff1a348e51e] (6) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/lib/qtcreator/plugins/libProjectExplorer.so (ProjectExplorer::TargetSetupPage::TargetSetupPage(QWidget*))) [0x7ff16a151e5c] (7) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/lib/qtcreator/plugins/libProjectExplorer.so(+0x2c0239) [0x7ff169fa9239] (8) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/lib/qtcreator/plugins/libProjectExplorer.so(+0x2f5ad8) [0x7ff169fdead8] (9) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/lib/qtcreator/plugins/libProjectExplorer.so (ProjectExplorer::JsonWizardFactory::runWizardImpl(Utils::FilePath const&, QWidget*, Utils::Id, QMap<QString, QVariant> const&, bool))) [0x7ff169fc4e16] (10) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/lib/qtcreator/plugins/libCore.so (Core::IWizardFactory::runWizard(Utils::FilePath const&, QWidget*, Utils::Id, QMap<QString, QVariant> const&, bool))) [0x7ff16a5d51f3] (11) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/lib/qtcreator/plugins/libCore.so(+0x1893f3) [0x7ff16a4b83f3] (12) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6 (QObject::event(QEvent*))) [0x7ff1a2081190] (13) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Widgets.so.6 (QApplicationPrivate::notify_helper(QObject*, QEvent*))) [0x7ff1a343e1f6] (14) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6 (QCoreApplication::notifyInternal2(QObject*, QEvent*))) [0x7ff1a202af1a] (15) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6 (QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*))) [0x7ff1a202e90a] (16) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6(+0x452ce7) [0x7ff1a2301ce7] (17) /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x26b) [0x7ff19eba0d3b] (18) /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xab2b8) [0x7ff19ebf62b8] (19) /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7ff19eb9e3e3] (20) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6 (QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>))) [0x7ff1a23013ae] (21) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6 (QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>))) [0x7ff1a2038232] (22) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/../lib/Qt/lib/libQt6Core.so.6 (QCoreApplication::exec())) [0x7ff1a2034406] (23) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/qtcreator() [0x40eade] (24) /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7ff1a197cd90] (25) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7ff1a197ce40] (26) /home/qt/RTA/QtCreator_15.0.0-beta2/Tools/Qt Creator 15.0.0-beta2/bin/qtcreator() [0x40f11e]