Bug 477026

Summary: System settings crash on open for plasma 6
Product: [Applications] systemsettings Reporter: fanzhuyifan
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: fanzhuyifan, nate
Priority: NOR Keywords: drkonqi, qt6
Version First Reported In: master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fanzhuyifan 2023-11-15 04:48:25 UTC
Application: systemsettings (5.81.0)
 (Compiled from sources)
Qt Version: 6.6.0
Frameworks Version: 5.245.0
Operating System: Linux 6.6.1-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.81.0 [KCrashBackend]

-- Information about the crash:
When I try to open system settings on plasma 6 (compiled from source), it just crashes on open.
can be reproduced every time.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f89681a2caf in  () at /usr/lib64/libQt6Qml.so.6
#6  0x00007f896815be4c in  () at /usr/lib64/libQt6Qml.so.6
#7  0x00007f89682298da in  () at /usr/lib64/libQt6Qml.so.6
#8  0x00007f896822cf15 in  () at /usr/lib64/libQt6Qml.so.6
#9  0x00007f896819e91e in  () at /usr/lib64/libQt6Qml.so.6
#10 0x00007f89682d958c in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt6Qml.so.6
#11 0x00007f8968269f07 in QQmlBinding::evaluate(bool*) () at /usr/lib64/libQt6Qml.so.6
#12 0x00007f896826edd3 in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /usr/lib64/libQt6Qml.so.6
#13 0x00007f896826e444 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt6Qml.so.6
#14 0x00007f89682fea77 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt6Qml.so.6
#15 0x00007f896828447e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt6Qml.so.6
#16 0x00007f89682854e6 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt6Qml.so.6
#17 0x00007f896828652c in QQmlComponentPrivate::createWithProperties(QObject*, QMap<QString, QVariant> const&, QQmlContext*, QQmlComponentPrivate::CreateBehavior) () at /usr/lib64/libQt6Qml.so.6
#18 0x00007f896827e73d in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt6Qml.so.6
#19 0x00007f896958f821 in QQuickWidget::continueExecute() () at /usr/lib64/libQt6QuickWidgets.so.6
#20 0x000055835f44eef2 in SidebarMode::initWidget() (this=0x55836125e520) at /home/yifan/kde/src/systemsettings/app/sidebar/SidebarMode.cpp:645
#21 0x000055835f44f519 in SidebarMode::mainWidget() (this=0x55836125e520) at /home/yifan/kde/src/systemsettings/app/sidebar/SidebarMode.cpp:164
#22 0x000055835f444cd4 in SettingsBase::loadCurrentView() (this=this@entry=0x558360e7e740) at /home/yifan/kde/src/systemsettings/app/SettingsBase.cpp:290
#23 0x000055835f4474a3 in SettingsBase::initApplication() (this=this@entry=0x558360e7e740) at /home/yifan/kde/src/systemsettings/app/SettingsBase.cpp:112
#24 0x000055835f447ffb in SettingsBase::SettingsBase(BaseMode::ApplicationMode, QString const&, QList<QString> const&, QWidget*) (this=this@entry=0x558360e7e740, __vtt_parm=__vtt_parm@entry=0x0, mode=mode@entry=(unknown: 0xf90ae220), startupModule=..., startupModuleArgs=..., parent=<optimized out>, __in_chrg=<optimized out>) at /home/yifan/kde/src/systemsettings/app/SettingsBase.cpp:69
#25 0x000055835f43d962 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/yifan/kde/src/systemsettings/app/main.cpp:147
[Inferior 1 (process 7690) detached]

The reporter indicates this bug may be a duplicate of or related to bug 472835.

Reported using DrKonqi
Comment 1 fanzhuyifan 2023-11-15 06:47:45 UTC
Actually this does not happen when I clear the `.config` folder. Should I close this?
Comment 2 Nate Graham 2023-11-15 19:22:28 UTC
Yes, it sounds like you have some old invalid settings in there.