SUMMARY I'm getting a fairly cursed stacktrace of System Settings crashing deep inside QtQml, with frame 8 mentioning precompiled (AOT) QML/JS function from Kirigami: QmlCacheGeneratedCode::_qt_qml_org_kde_kirigami_templates_AbstractApplicationHeader_qml::aotBuiltFunctions+48 (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007fe5d54ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007fe5d545c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007fe5d87bf94f in KCrash::defaultCrashHandler(int) (sig=11) at /home/ratijas/kde/src6/kcrash/src/kcrash.cpp:612 #4 0x00007fe5d545c710 in <signal handler called> () at /usr/lib/libc.so.6 #5 QV4::StaticValue::isManagedOrUndefined() const (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.6.0/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.6.0/src/qml/common/qv4staticvalue_p.h:315 #6 QV4::StaticValue::isManaged() const (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.6.0/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.6.0/src/qml/common/qv4staticvalue_p.h:320 #7 QV4::Value::as<QV4::QObjectWrapper>() const (this=<optimized out>) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.6.0/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.6.0/src/qml/jsruntime/qv4value_p.h:133 #8 QV4::convertAndCall<QV4::ArrowFunction::virtualCall(const QV4::FunctionObject*, const QV4::Value*, const QV4::Value*, int)::<lambda(QObject*, void**, const QMetaType*, int)> >(QV4::ExecutionEngine *, const QQmlPrivate::AOTCompiledFunction *, const QV4::Value *, const QV4::Value *, int, struct {...}) (engine=<optimized out>, aotFunction=0x7fe5b0892270 <QmlCacheGeneratedCode::_qt_qml_org_kde_kirigami_templates_AbstractApplicationHeader_qml::aotBuiltFunctions+48>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, call=...) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.6.0/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.6.0/src/qml/jsruntime/qv4jscall_p.h:131 #9 0x00007fe5d6b5be4c in QV4::ArrayPrototype::method_reduce(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (b=<optimized out>, thisObject=<optimized out>, argv=0x7fe5b0094568, argc=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/jsruntime/qv4arrayobject.cpp:1418 #10 0x00007fe5d6c298da in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffffb1c8250, engine=0x559079ba2fc0, code=0x559079e02dd0 "@X\273\326\345\177") at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/jsruntime/qv4vme_moth.cpp:902 #11 0x00007fe5d6c2cf15 in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/jsruntime/qv4vme_moth.cpp:584 #12 0x00007fe5d6b9e91e in QV4::doCall(QV4::Function*, QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (self=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/jsruntime/qv4function.cpp:54 #13 0x00007fe5d6cd958c in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=0x559079ea32b0, callData=0x7fe5b00944e8, isUndefined=0x7ffffb1c8420) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmljavascriptexpression.cpp:238 #14 0x00007fe5d6c69f07 in QQmlBinding::evaluate(bool*) (this=this@entry=0x559079ea32b0, isUndefined=isUndefined@entry=0x7ffffb1c8420) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlbinding.cpp:188 #15 0x00007fe5d6c6edd3 in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x559079ea32b0, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlbinding.cpp:698 #16 0x00007fe5d6c6e444 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x559079ea32b0, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlbinding.cpp:164 #17 0x00007fe5d6cfea77 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x559079d7ae20, interrupt=...) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlobjectcreator.cpp:1456 #18 0x00007fe5d6c8447e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (enginePriv=0x559079beb5f0, state=state@entry=0x559079b9edf8) at /usr/src/debug/qt6-declarative/build/include/QtQml/6.6.0/QtQml/private/../../../../../../qtdeclarative-everywhere-src-6.6.0/src/qml/qml/ftw/qbipointer_p.h:133 #19 0x00007fe5d6c854e6 in QQmlComponentPrivate::completeCreate() (this=0x559079b9ed40) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlcomponent.cpp:1252 #20 0x00007fe5d6c8652c in QQmlComponent::completeCreate() (this=0x559079d7a830) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlcomponent.cpp:1226 #21 QQmlComponentPrivate::createWithProperties(QObject*, QMap<QString, QVariant> const&, QQmlContext*, QQmlComponentPrivate::CreateBehavior) (this=0x559079b9ed40, parent=0x0, properties=..., context=<optimized out>, behavior=QQmlComponentPrivate::CreateDefault) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlcomponent.cpp:957 #22 0x00007fe5d6c7e73d in QQmlComponent::create(QQmlContext*) (this=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/qml/qml/qqmlcomponent.cpp:908 #23 0x00007fe5d808c821 in QQuickWidget::continueExecute() (this=0x559079d02090) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/quickwidgets/qquickwidget.cpp:1213 #24 0x00007fe5d808cc9d in QQuickWidgetPrivate::execute() (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/quickwidgets/qquickwidget.cpp:309 #25 0x00007fe5d808cd1f in QQuickWidget::setSource(QUrl const&) (this=<optimized out>, url=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.0/src/quickwidgets/qquickwidget.cpp:690 #26 0x0000559078556ef2 in SidebarMode::initWidget() (this=0x5590795311e0) at /home/ratijas/kde/src6/systemsettings/app/sidebar/SidebarMode.cpp:645 #27 0x0000559078557519 in SidebarMode::mainWidget() (this=0x5590795311e0) at /home/ratijas/kde/src6/systemsettings/app/sidebar/SidebarMode.cpp:164 #28 0x000055907854ccd4 in SettingsBase::loadCurrentView() (this=this@entry=0x559079293f00) at /home/ratijas/kde/src6/systemsettings/app/SettingsBase.cpp:290 #29 0x000055907854f4a3 in SettingsBase::initApplication() (this=this@entry=0x559079293f00) at /home/ratijas/kde/src6/systemsettings/app/SettingsBase.cpp:112 #30 0x000055907854fffb in SettingsBase::SettingsBase(BaseMode::ApplicationMode, QString const&, QList<QString> const&, QWidget*) (this=this@entry=0x559079293f00, __vtt_parm=__vtt_parm@entry=0x0, mode=mode@entry=(unknown: 0xfb1c8eb0), startupModule=..., startupModuleArgs=..., parent=<optimized out>, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/SettingsBase.cpp:69 #31 0x0000559078545962 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/main.cpp:147 STEPS TO REPRODUCE 1. Launch System Settings 2. ??? 3. Crash SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.81.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Kernel Version: 6.6.1-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2 ADDITIONAL INFORMATION I tried rebuilding kirigami, qqc2-desktop-style, systemsettings, and some other things. Will try a nuke & fresh rebuild of everything later.
KInfoCenter works fine. Individual KCMs can be loaded via kcmshell including kcm_landingpage. Although, I've got a crash of KInfoCenter on shutdown, which might or might not be related: (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007f67ec4ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007f67ec45c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007f67ef6be94f in KCrash::defaultCrashHandler(int) (sig=11) at /home/ratijas/kde/src6/kcrash/src/kcrash.cpp:612 #4 0x00007f67ec45c710 in <signal handler called> () at /usr/lib/libc.so.6 #5 0x00007f67eef37120 in vtable for QAccessibleWidget () at /usr/lib/libQt6Widgets.so.6 #6 0x00007f67e44e4d0d in DevInfoPlugin::~DevInfoPlugin() (this=0x557c2a0f10d0, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/kinfocenter/Modules/devinfo/devinfo.cpp:78 #7 DevInfoPlugin::~DevInfoPlugin() (this=0x557c2a0f10d0, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/kinfocenter/Modules/devinfo/devinfo.cpp:79 #8 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c2cb725c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #9 0x00007f67ee9ab931 in QWidget::~QWidget() (this=0x557c2ac5bbb0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #10 0x00007f67eeb441a9 in QFrame::~QFrame() (this=0x557c2ac5bbb0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qframe.cpp:229 #11 QAbstractScrollArea::~QAbstractScrollArea() (this=0x557c2ac5bbb0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qabstractscrollarea.cpp:478 #12 QScrollArea::~QScrollArea() (this=0x557c2ac5bbb0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qscrollarea.cpp:133 #13 QScrollArea::~QScrollArea() (this=0x557c2ac5bbb0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qscrollarea.cpp:133 #14 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c287f4670) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #15 0x00007f67ee9ab931 in QWidget::~QWidget() (this=0x557c287a5cf0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #16 0x00007f67ef2f279d in KPageStackedWidget::~KPageStackedWidget() (this=0x557c287a5cf0, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/kwidgetsaddons/src/kpageview_p.h:25 #17 KPageStackedWidget::~KPageStackedWidget() (this=0x557c287a5cf0, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/kwidgetsaddons/src/kpageview_p.h:25 #18 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c287a59a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #19 0x00007f67ee9ab931 in QWidget::~QWidget() (this=0x557c287b5f30, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #20 0x00007f67ef2f4819 in KPageWidget::~KPageWidget() (this=0x557c287b5f30, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/kwidgetsaddons/src/kpagewidget.cpp:58 #21 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c28810020) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #22 0x00007f67ee9ab931 in QWidget::~QWidget() (this=0x557c287b22a0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #23 0x00007f67efe42d79 in ModuleView::~ModuleView() (this=0x557c287b22a0, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/systemsettings/core/ModuleView.cpp:212 #24 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c287f4420) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #25 0x00007f67ee9ab931 in QWidget::~QWidget() (this=this@entry=0x557c28803030, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #26 0x0000557c280893bd in FocusHackWidget::~FocusHackWidget() (this=0x557c28803030, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/sidebar/SidebarMode.cpp:47 #27 FocusHackWidget::~FocusHackWidget() (this=0x557c28803030, __in_chrg=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/sidebar/SidebarMode.cpp:47 #28 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c28527360) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #29 0x00007f67ee9ab931 in QWidget::~QWidget() (this=0x557c2872b690, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #30 0x00007f67eeb60e41 in QFrame::~QFrame() (this=0x557c2872b690, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qframe.cpp:229 #31 QStackedWidget::~QStackedWidget() (this=0x557c2872b690, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qstackedwidget.cpp:110 #32 QStackedWidget::~QStackedWidget() (this=0x557c2872b690, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qstackedwidget.cpp:110 #33 0x00007f67ecba54ab in QObjectPrivate::deleteChildren() (this=this@entry=0x557c28718640) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:2206 #34 0x00007f67ee9ab931 in QWidget::~QWidget() (this=0x557c28729c70, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:1537 #35 0x0000557c28081fbb in SettingsBase::~SettingsBase() (this=this@entry=0x557c28729c70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/SettingsBase.cpp:75 #36 0x0000557c28082079 in SettingsBase::~SettingsBase() (this=0x557c28729c70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/SettingsBase.cpp:75 #37 0x00007f67ecba4e88 in qDeleteInEventHandler(QObject*) (o=0x557c28729c70) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:4900 #38 QObject::event(QEvent*) (this=0x557c28729c70, e=0x557c2ce2a0f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:1424 #39 0x00007f67efc2f567 in KXmlGuiWindow::event(QEvent*) (this=0x557c28729c70, ev=0x557c2ce2a0f0) at /home/ratijas/kde/src6/kxmlgui/src/kxmlguiwindow.cpp:220 #40 0x00007f67ee97318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x557c28729c70, e=0x557c2ce2a0f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290 #41 0x00007f67ecb626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557c28729c70, event=event@entry=0x557c2ce2a0f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118 #42 0x00007f67ecb62a5b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x557c2ce2a0f0, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536 #43 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x557c281eb8d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1898 #44 0x00007f67ecd99d24 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1757 #45 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x557c282c5ff0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #46 0x00007f67ebd68f69 in g_main_dispatch (context=0x7f67e0000ef0) at ../glib/glib/gmain.c:3476 #47 0x00007f67ebdc7327 in g_main_context_dispatch_unlocked (context=0x7f67e0000ef0) at ../glib/glib/gmain.c:4284 #48 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f67e0000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349 #49 0x00007f67ebd67162 in g_main_context_iteration (context=0x7f67e0000ef0, may_block=1) at ../glib/glib/gmain.c:4414 #50 0x00007f67ecd97934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557c282ae590, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #51 0x00007f67ecb6cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffdb679d360) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100 #52 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdb679d360, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182 #53 0x00007f67ecb65178 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74 #54 0x00007f67ee96fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2569 #55 0x0000557c2807b9cf in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/ratijas/kde/src6/systemsettings/app/main.cpp:175
Thank you for your bug report! Do you still experience the crashes if you clear the old plasma settings in the .config folder?
Fixed (or rather workarounded) by https://invent.kde.org/frameworks/kirigami/-/merge_requests/1391