Bug 489428 - system settings crash when clicking away from monitor settings
Summary: system settings crash when clicking away from monitor settings
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kgamma (show other bugs)
Version: 6.1.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-06-29 12:24 UTC by partizan
Modified: 2025-03-14 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description partizan 2024-06-29 12:24:18 UTC
Application: systemsettings (6.1.0)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.6-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 6.1.0 [KCrashBackend]

-- Information about the crash:
When clicking away from monitor settings, the app crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  std::__atomic_base<int>::fetch_add (this=<optimized out>, __i=<optimized out>, __m=<optimized out>, this=<optimized out>, __i=<optimized out>, __m=<optimized out>) at /usr/include/c++/14.1.1/bits/atomic_base.h:629
#7  QAtomicOps<int>::ref<int> (_q_value=..., _q_value=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qatomic_cxx11.h:259
#8  QBasicAtomicInteger<int>::ref (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qbasicatomic.h:47
#9  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x60c5a5d97aa0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qsharedpointer.cpp:1456
#10 0x00007839ff21d100 in QWeakPointer<QObject>::QWeakPointer<QAbstractButton, true> (this=<optimized out>, ptr=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qsharedpointer_impl.h:733
#11 QPointer<QAbstractButton>::QPointer<void> (this=<optimized out>, p=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qpointer.h:36
#12 QAbstractButton::setChecked (this=0x60c5a5d97aa0, checked=true) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractbutton.cpp:606
#13 0x00007839dfd7db20 in ?? () from /usr/lib/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so
#14 0x00007839dfd7df18 in ?? () from /usr/lib/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so
#15 0x00007839dfd7df35 in ?? () from /usr/lib/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so
#16 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a5e59000) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#17 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#18 0x00007839ff2ec171 in QFrame::~QFrame (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qframe.cpp:235
#19 QAbstractScrollArea::~QAbstractScrollArea (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractscrollarea.cpp:478
#20 QScrollArea::~QScrollArea (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qscrollarea.cpp:133
#21 QScrollArea::~QScrollArea (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qscrollarea.cpp:133
#22 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a5305630) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#23 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#24 0x00007839ff8f4eda in KPageStackedWidget::~KPageStackedWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons/kwidgetsaddons-6.3.0/src/kpageview_p.h:25
#25 KPageStackedWidget::~KPageStackedWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons/kwidgetsaddons-6.3.0/src/kpageview_p.h:25
#26 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a5634b90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#27 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#28 0x00007839ff8f6ed6 in KPageWidget::~KPageWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons/kwidgetsaddons-6.3.0/src/kpagewidget.cpp:58
#29 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a530a410) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#30 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#31 0x000060c5736d2a95 in ?? ()
#32 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a53637f0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#33 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#34 0x000060c5736cb59a in ?? ()
#35 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a517cd80) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#36 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#37 0x00007839ff3029b9 in QFrame::~QFrame (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qframe.cpp:235
#38 QStackedWidget::~QStackedWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qstackedwidget.cpp:112
#39 QStackedWidget::~QStackedWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qstackedwidget.cpp:112
#40 0x00007839fd38adcb in QObjectPrivate::deleteChildren (this=this@entry=0x60c5a5196b70) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#41 0x00007839ff133911 in QWidget::~QWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:1559
#42 0x000060c5736cad25 in ?? ()
#43 0x00007839fd38be0a in qDeleteInEventHandler (o=0x60c5a51a8750) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:5002
#44 QObject::event (this=0x60c5a51a8750, e=0x60c5a51a8730) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1437
#45 0x00007839ff0fc51c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x60c5a51a8750, e=0x60c5a51a8730) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#46 0x00007839fd344d28 in QCoreApplication::notifyInternal2 (receiver=0x60c5a51a8750, event=event@entry=0x60c5a51a8730) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#47 0x00007839fd3450eb in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x60c5a51a8730) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60c5a4d9ba90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
#49 0x00007839fd5a49ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#50 postEventSourceDispatch (s=0x60c5a4eb7ce0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#51 0x00007839fc6e1a89 in g_main_dispatch (context=0x7839f0000f00) at ../glib/glib/gmain.c:3344
#52 0x00007839fc7439b7 in g_main_context_dispatch_unlocked (context=0x7839f0000f00) at ../glib/glib/gmain.c:4152
#53 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7839f0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#54 0x00007839fc6e0f95 in g_main_context_iteration (context=0x7839f0000f00, may_block=1) at ../glib/glib/gmain.c:4282
#55 0x00007839fd5a2cbd in QEventDispatcherGlib::processEvents (this=0x60c5a4edfe80, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#56 0x00007839fd34f01e in QEventLoop::processEvents (this=0x7ffc50fe5f10, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#57 QEventLoop::exec (this=0x7ffc50fe5f10, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#58 0x00007839fd34934d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#59 0x000060c5736c03a2 in ?? ()
#60 0x00007839fcc39c88 in __libc_start_call_main (main=main@entry=0x60c5736bf340, argc=argc@entry=1, argv=argv@entry=0x7ffc50fe6378) at ../sysdeps/nptl/libc_start_call_main.h:58
#61 0x00007839fcc39d4c in __libc_start_main_impl (main=0x60c5736bf340, argc=1, argv=0x7ffc50fe6378, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc50fe6368) at ../csu/libc-start.c:360
#62 0x000060c5736c16a5 in ?? ()
[Inferior 1 (process 287414) detached]

Reported using DrKonqi
Comment 1 TraceyC 2025-02-12 20:10:57 UTC
Thank you for the bug report. I'm not able to reproduce this on git-master. Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

#13 0x00007839dfd7db20 in ?? () from /usr/lib/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so

Could you please install debug symbols and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this. Thanks again!
Comment 2 Bug Janitor Service 2025-02-27 03:47:23 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-03-14 03:47:09 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.