https://bugs.kde.org/show_bug.cgi?id=456945
Bug ID: 456945 Summary: SystemSettings5 crash on sudo Product: systemsettings Version: unspecified Platform: Debian stable OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_colors Assignee: plasma-b...@kde.org Reporter: alexcode...@gmail.com CC: noaha...@gmail.com, tantalising...@gmail.com, uhh...@gmail.com Target Milestone: --- Application: systemsettings5 (5.20.5) Qt Version: 5.15.2 Frameworks Version: 5.78.0 Operating System: Linux 5.10.0-16-amd64 x86_64 Windowing system: X11 Distribution: Debian GNU/Linux 11 (bullseye) -- Information about the crash: - What I was doing when the application crashed: I logged in to an user account and did sudo systsemsettings5, because I wanted to have dark mode in sudo applications because they are always light mode. I changed general theme, and closed the windows. - Unusual behavior I noticed: When clicking Apply button, nothing happens, I still have dark mode. The crash can be reproduced every time. -- Backtrace: Application: Configuration du système (systemsettings5), signal: Segmentation fault [KCrash Handler] #4 0x00007f47f1789348 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118 #5 qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const> (ptr=...) at global/qglobal.h:1135 #6 QObject::d_func (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:132 #7 QObject::property (this=0x0, name=name@entry=0x7f47d8842db0 "theme") at kernel/qobject.cpp:4085 #8 0x00007f47d8838e6d in Kirigami::BasicThemeDeclarative::instance (this=this@entry=0x7f47d8849080 <Kirigami::(anonymous namespace)::Q_QGS_privateBasicThemeDeclarativeSelf::innerFunction()::holder>, theme=0x7ffc0d7b9480, theme@entry=0x563cf27f5f00) at ./src/libkirigami/basictheme.cpp:65 #9 0x00007f47d88402ff in Kirigami::BasicTheme::syncCustomColorsToQML (this=0x563cf27f5f00) at ./src/libkirigami/basictheme.cpp:27 #10 0x00007f47f178d5a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0d7b9620, r=0x563cf27f5f00, this=0x563cf273e7d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #11 doActivate<false> (sender=0x563cf27f5f00, signal_index=3, argv=0x7ffc0d7b9620, argv@entry=0x0) at kernel/qobject.cpp:3886 #12 0x00007f47f1786900 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f47d88482e0 <Kirigami::PlatformTheme::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946 #13 0x00007f47d8832e70 in Kirigami::PlatformTheme::colorsChanged (this=<optimized out>) at ./obj-x86_64-linux-gnu/src/libkirigami/KF5Kirigami2_autogen/include/moc_platformtheme.cpp:456 #14 0x00007f47d8833ce2 in operator() (__closure=0x563cf267c770) at ./src/libkirigami/platformtheme.cpp:202 #15 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Kirigami::PlatformThemePrivate::emitCompressedColorChanged()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146 #16 QtPrivate::Functor<Kirigami::PlatformThemePrivate::emitCompressedColorChanged()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256 #17 QtPrivate::QFunctorSlotObject<Kirigami::PlatformThemePrivate::emitCompressedColorChanged()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x563cf267c760, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443 #18 0x00007f47f1782ff1 in QObject::event (this=0x563cf27f5f00, e=0x563cf58e1020) at kernel/qobject.cpp:1314 #19 0x00007f47f231615f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563cf27f5f00, e=0x563cf58e1020) at kernel/qapplication.cpp:3632 #20 0x00007f47f1756fca in QCoreApplication::notifyInternal2 (receiver=0x563cf27f5f00, event=0x563cf58e1020) at kernel/qcoreapplication.cpp:1063 #21 0x00007f47f1759a01 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x563cf220b7b0) at kernel/qcoreapplication.cpp:1817 #22 0x00007f47f17aee93 in postEventSourceDispatch (s=0x563cf22c5420) at kernel/qeventdispatcher_glib.cpp:277 #23 0x00007f47ef288e6b in g_main_dispatch (context=0x7f47e4005000) at ../../../glib/gmain.c:3325 #24 g_main_context_dispatch (context=0x7f47e4005000) at ../../../glib/gmain.c:4043 #25 0x00007f47ef289118 in g_main_context_iterate (context=context@entry=0x7f47e4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119 #26 0x00007f47ef2891cf in g_main_context_iteration (context=0x7f47e4005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4184 #27 0x00007f47f17ae51f in QEventDispatcherGlib::processEvents (this=0x563cf22cdb00, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #28 0x00007f47f175598b in QEventLoop::exec (this=this@entry=0x7ffc0d7b9a20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #29 0x00007f47f175dc00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #30 0x00007f47f1c21bdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #31 0x00007f47f23160d5 in QApplication::exec () at kernel/qapplication.cpp:2824 #32 0x0000563cf1872d2c in main (argc=<optimized out>, argv=0x7ffc0d7b9b50) at ./app/main.cpp:209 [Inferior 1 (process 156250) detached] Possible duplicates by query: bug 454240, bug 453799, bug 453658, bug 453605, bug 453547. -- You are receiving this mail because: You are watching all bug changes.