Bug 485510

Summary: System Settings crash when trying to set auto-login
Product: [Applications] systemsettings Reporter: gr1da <dagr>
Component: kcm_sddmAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, kde, krinpaus, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 6.0.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description gr1da 2024-04-13 20:55:06 UTC
Application: systemsettings (6.0.3)

Qt Version: 6.7.0
Frameworks Version: 6.1.0
Operating System: Linux 6.8.6-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 6.0.3 [CoredumpBackend]

-- Information about the crash:
In System Settings > Color & Themes > Login Screen (SDDM) > Behavior,
check the box to enable automatic login, then exit System Settings and it will crash without applying the setting.
In addition, the 'Apply' button is greyed out and can't be clicked.

This happens with kcmutils 6.1.0, but not 6.0.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x000077f69bafa86d in std::__uniq_ptr_impl<KPageViewPrivate, std::default_delete<KPageViewPrivate> >::_M_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:199
#6  std::unique_ptr<KPageViewPrivate, std::default_delete<KPageViewPrivate> >::get (this=<optimized out>, this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:470
[...]
#9  KPageWidget::currentPage (this=0x55cbffffffff) at /usr/src/debug/kwidgetsaddons/kwidgetsaddons-6.1.0/src/kpagewidget.cpp:124
#10 0x000077f69c1eec68 in operator() (__closure=0x55cb56812e50) at /usr/src/debug/systemsettings/systemsettings-6.0.3/core/ModuleView.cpp:282
#13 QtPrivate::QCallableObject<ModuleView::addModule(MenuItem*, const QStringList&)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55cb56812e40, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522


Reported using DrKonqi
Comment 1 gr1da 2024-04-13 20:55:08 UTC
Created attachment 168480 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nicolas Fella 2024-08-31 15:03:40 UTC

*** This bug has been marked as a duplicate of bug 490937 ***