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

Crash when switching theme and restaring Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 13.0.0-rc1
    • Qt Creator 13.0.0-beta1
    • All Other Issues
    • None
    • Build against Qt 6.4
    • All

    Description

      After changing the theme, clicking apply and confirming restart, creator crashed. Not easily reporducible.

      Call stack:

      Thread 1 (Thread 0x7f4af322a900 (LWP 211382)):
      #0  0x00007f4a989f7fca in Core::Internal::acceptModalDialogs () at /home/jarek/dev/creator-master-work/src/plugins/coreplugin/icore.cpp:2127
      #1  0x00007f4a989f806f in operator() (__closure=0x563f916708e0) at /home/jarek/dev/creator-master-work/src/plugins/coreplugin/icore.cpp:2144
      #2  0x00007f4a98a0147c in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Core::ICore::exit()::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x563f927f56a8) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:127
      #3  0x00007f4a98a00902 in QtPrivate::Functor<Core::ICore::exit()::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x563f927f56a8) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:241
      #4  0x00007f4a989ff840 in QtPrivate::QFunctorSlotObject<Core::ICore::exit()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x563f916708d0, r=0x563f83e3cfc0, a=0x563f927f56a8, ret=0x0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:408
      #5  0x00007f4af3995fa5 in QtPrivate::QSlotObjectBase::call (this=0x563f916708d0, r=0x563f83e3cfc0, a=0x563f927f56a8) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:363
      #6  0x00007f4af39fe163 in QMetaCallEvent::placeMetaCall (this=0x563f927f5660, object=0x563f83e3cfc0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobject.cpp:608
      #7  0x00007f4af39ff3db in QObject::event (this=0x563f83e3cfc0, e=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobject.cpp:1378
      #8  0x00007f4af583380d in QWidget::event (this=0x563f83e3cfc0, event=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qwidget.cpp:9285
      #9  0x00007f4af5a490bc in QMainWindow::event (this=0x563f83e3cfc0, event=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/widgets/widgets/qmainwindow.cpp:1303
      #10 0x00007f4af57a1f74 in QApplicationPrivate::notify_helper (this=0x563f83943a90, receiver=0x563f83e3cfc0, e=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:3315
      #11 0x00007f4af57a1d3e in QApplication::notify (this=0x563f8395a9a0, receiver=0x563f83e3cfc0, e=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:3262
      #12 0x00007f4af3974b7b in QCoreApplication::notifyInternal2 (receiver=0x563f83e3cfc0, event=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1063
      #13 0x00007f4af3975719 in QCoreApplication::sendEvent (receiver=0x563f83e3cfc0, event=0x563f927f5660) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1479
      #14 0x00007f4af3976670 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x563f83945ee0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1841
      #15 0x00007f4af3975f3e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1700
      #16 0x00007f4af3db02fe in postEventSourceDispatch (s=0x563f839c8ee0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:243
      #17 0x00007f4af331bd3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #18 0x00007f4af3371258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #19 0x00007f4af33193e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #20 0x00007f4af3db0bc0 in QEventDispatcherGlib::processEvents (this=0x563f839c7ed0, flags=...) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #21 0x00007f4aefd145d8 in QXcbGlibEventDispatcher::processEvents (this=0x563f839c7ed0, flags=...) at /home/jarek/dev/qt-64/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:96
      #22 0x00007f4af3975242 in QCoreApplication::processEvents (flags=...) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1292
      #23 0x00007f4a98850834 in Core::Internal::SettingsDialog::execDialog (this=0x563f92b13b00) at /home/jarek/dev/creator-master-work/src/plugins/coreplugin/dialogs/settingsdialog.cpp:798
      #24 0x00007f4a98850a1b in Core::Internal::executeSettingsDialog (parent=0x563f83e3cfc0, initialPage=...) at /home/jarek/dev/creator-master-work/src/plugins/coreplugin/dialogs/settingsdialog.cpp:820
      #25 0x00007f4a989ebc35 in Core::ICore::showOptionsDialog (page=..., parent=0x0) at /home/jarek/dev/creator-master-work/src/plugins/coreplugin/icore.cpp:477
      #26 0x00007f4a989f2ab4 in operator() (__closure=0x563f83e97c20) at /home/jarek/dev/creator-master-work/src/plugins/coreplugin/icore.cpp:1836
      #27 0x00007f4a98a020dc in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Core::Internal::ICorePrivate::registerDefaultActions()::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x7ffd7e418aa0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:127
      #28 0x00007f4a98a01067 in QtPrivate::Functor<Core::Internal::ICorePrivate::registerDefaultActions()::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x7ffd7e418aa0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:241
      #29 0x00007f4a98a001b2 in QtPrivate::QFunctorSlotObject<Core::Internal::ICorePrivate::registerDefaultActions()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x563f83e97c10, r=0x563f83a51560, a=0x7ffd7e418aa0, ret=0x0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:408
      #30 0x00007f4af3995fa5 in QtPrivate::QSlotObjectBase::call (this=0x563f83e97c10, r=0x563f83a51560, a=0x7ffd7e418aa0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:363
      #31 0x00007f4af3a10fe4 in doActivate<false> (sender=0x563f83e97b10, signal_index=7, argv=0x7ffd7e418aa0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobject.cpp:3979
      #32 0x00007f4af3a07349 in QMetaObject::activate (sender=0x563f83e97b10, m=0x7f4af54b7fc0 <QAction::staticMetaObject>, local_signal_index=4, argv=0x7ffd7e418aa0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobject.cpp:4039
      #33 0x00007f4af4cf39bd in QAction::triggered (this=0x563f83e97b10, _t1=false) at /home/jarek/dev/qt-64-build/qtbase/src/gui/Gui_autogen/include/moc_qaction.cpp:576
      #34 0x00007f4af68a353c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<bool>, void, void (QAction::*)(bool)>::call (f=(void (QAction::*)(QAction * const, bool)) 0x7f4af4cf395a <QAction::triggered(bool)>, o=0x563f83e97b10, arg=0x7ffd7e418d10) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:135
      #35 0x00007f4af68a33e5 in QtPrivate::FunctionPointer<void (QAction::*)(bool)>::call<QtPrivate::List<bool>, void> (f=(void (QAction::*)(QAction * const, bool)) 0x7f4af4cf395a <QAction::triggered(bool)>, o=0x563f83e97b10, arg=0x7ffd7e418d10) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:172
      #36 0x00007f4af68a3303 in QtPrivate::QSlotObject<void (QAction::*)(bool), QtPrivate::List<bool>, void>::impl (which=1, this_=0x563f84495450, r=0x563f83e97b10, a=0x7ffd7e418d10, ret=0x0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:383
      #37 0x00007f4af3995fa5 in QtPrivate::QSlotObjectBase::call (this=0x563f84495450, r=0x563f83e97b10, a=0x7ffd7e418d10) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobjectdefs_impl.h:363
      #38 0x00007f4af3a10fe4 in doActivate<false> (sender=0x563f83e93500, signal_index=7, argv=0x7ffd7e418d10) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobject.cpp:3979
      #39 0x00007f4af3a07349 in QMetaObject::activate (sender=0x563f83e93500, m=0x7f4af54b7fc0 <QAction::staticMetaObject>, local_signal_index=4, argv=0x7ffd7e418d10) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qobject.cpp:4039
      #40 0x00007f4af4cf39bd in QAction::triggered (this=0x563f83e93500, _t1=false) at /home/jarek/dev/qt-64-build/qtbase/src/gui/Gui_autogen/include/moc_qaction.cpp:576
      #41 0x00007f4af4cf24a8 in QAction::activate (this=0x563f83e93500, event=QAction::Trigger) at /home/jarek/dev/qt-64/qtbase/src/gui/kernel/qaction.cpp:1104
      #42 0x00007f4af5a9c193 in QMenuPrivate::activateCausedStack (this=0x563f83ecc5b0, causedStack=..., action=0x563f83e93500, action_e=QAction::Trigger, self=true) at /home/jarek/dev/qt-64/qtbase/src/widgets/widgets/qmenu.cpp:1396
      #43 0x00007f4af5a9c66f in QMenuPrivate::activateAction (this=0x563f83ecc5b0, action=0x563f83e93500, action_e=QAction::Trigger, self=true) at /home/jarek/dev/qt-64/qtbase/src/widgets/widgets/qmenu.cpp:1478
      #44 0x00007f4af5aa1480 in QMenu::mouseReleaseEvent (this=0x563f83ece540, e=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/widgets/widgets/qmenu.cpp:2904
      #45 0x00007f4af5831eda in QWidget::event (this=0x563f83ece540, event=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qwidget.cpp:8848
      #46 0x00007f4af5aa1ec0 in QMenu::event (this=0x563f83ece540, e=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/widgets/widgets/qmenu.cpp:3029
      #47 0x00007f4af57a1f74 in QApplicationPrivate::notify_helper (this=0x563f83943a90, receiver=0x563f83ece540, e=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:3315
      #48 0x00007f4af579fbcb in QApplication::notify (this=0x563f8395a9a0, receiver=0x563f83ece540, e=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:2803
      #49 0x00007f4af3974b7b in QCoreApplication::notifyInternal2 (receiver=0x563f83ece540, event=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1063
      #50 0x00007f4af39757a9 in QCoreApplication::sendSpontaneousEvent (receiver=0x563f83ece540, event=0x7ffd7e4196e0) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1493
      #51 0x00007f4af579e676 in QApplicationPrivate::sendMouseEvent (receiver=0x563f83ece540, event=0x7ffd7e4196e0, alienWidget=0x0, nativeWidget=0x563f83ece540, buttonDown=0x7f4af618f4f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:2387
      #52 0x00007f4af58654f4 in QWidgetWindow::handleMouseEvent (this=0x563f93749b90, event=0x7ffd7e419c60) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qwidgetwindow.cpp:519
      #53 0x00007f4af58644b3 in QWidgetWindow::event (this=0x563f93749b90, event=0x7ffd7e419c60) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qwidgetwindow.cpp:241
      #54 0x00007f4af57a1f74 in QApplicationPrivate::notify_helper (this=0x563f83943a90, receiver=0x563f93749b90, e=0x7ffd7e419c60) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:3315
      #55 0x00007f4af57a1d66 in QApplication::notify (this=0x563f8395a9a0, receiver=0x563f93749b90, e=0x7ffd7e419c60) at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:3266
      #56 0x00007f4af3974b7b in QCoreApplication::notifyInternal2 (receiver=0x563f93749b90, event=0x7ffd7e419c60) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1063
      #57 0x00007f4af39757a9 in QCoreApplication::sendSpontaneousEvent (receiver=0x563f93749b90, event=0x7ffd7e419c60) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1493
      #58 0x00007f4af47dd0c3 in QGuiApplicationPrivate::processMouseEvent (e=0x563f8fddfe60) at /home/jarek/dev/qt-64/qtbase/src/gui/kernel/qguiapplication.cpp:2249
      #59 0x00007f4af47dc3da in QGuiApplicationPrivate::processWindowSystemEvent (e=0x563f8fddfe60) at /home/jarek/dev/qt-64/qtbase/src/gui/kernel/qguiapplication.cpp:1998
      #60 0x00007f4af488c3d0 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /home/jarek/dev/qt-64/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1108
      #61 0x00007f4aefd1437a in xcbSourceDispatch (source=0x563f839cf1e0) at /home/jarek/dev/qt-64/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
      #62 0x00007f4af331bd3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #63 0x00007f4af3371258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #64 0x00007f4af33193e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #65 0x00007f4af3db0bc0 in QEventDispatcherGlib::processEvents (this=0x563f839c7ed0, flags=...) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #66 0x00007f4aefd145d8 in QXcbGlibEventDispatcher::processEvents (this=0x563f839c7ed0, flags=...) at /home/jarek/dev/qt-64/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:96
      #67 0x00007f4af3988e4d in QEventLoop::processEvents (this=0x7ffd7e41a120, flags=...) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qeventloop.cpp:100
      #68 0x00007f4af39891bc in QEventLoop::exec (this=0x7ffd7e41a120, flags=...) at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qeventloop.cpp:182
      #69 0x00007f4af39754e6 in QCoreApplication::exec () at /home/jarek/dev/qt-64/qtbase/src/corelib/kernel/qcoreapplication.cpp:1384
      #70 0x00007f4af47dbce4 in QGuiApplication::exec () at /home/jarek/dev/qt-64/qtbase/src/gui/kernel/qguiapplication.cpp:1859
      #71 0x00007f4af579ef7d in QApplication::exec () at /home/jarek/dev/qt-64/qtbase/src/widgets/kernel/qapplication.cpp:2595
      #72 0x0000563f82ab488e in main (argc=1, argv=0x7ffd7e41a888) at /home/jarek/dev/creator-master-work/src/app/main.cpp:894
      

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              jkobus Jarek Kobus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes