Bug 450066

Summary: systemsettings crashed when switching from Icon View to Sidebar View
Product: [Applications] systemsettings Reporter: Fushan Wen <qydwhotmail>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: bugseforuns, isma.af, nate, qydwhotmail
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=444599
https://bugs.kde.org/show_bug.cgi?id=450507
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Fushan Wen 2022-02-12 04:56:20 UTC
Application: systemsettings (5.24.80)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.4-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
1. Open systemsettings with Icon View.
2. Switch to Sidebar View, and the Quick Settings page should appear.
3. Close the window.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007ff4772234ae in QObjectPrivate::~QObjectPrivate (this=0x563d7f2bd480, __in_chrg=<optimized out>) at kernel/qobject.cpp:211
#7  0x00007ff477ed3df9 in QWidgetPrivate::~QWidgetPrivate (this=0x563d7f2bd480, __in_chrg=<optimized out>) at kernel/qwidget.cpp:214
#8  0x00007ff47863cfa9 in KTitleWidget::~KTitleWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.91.0git.20220206T232626~a6b25905-ku.5.1.x86_64/src/ktitlewidget.cpp:188
#9  0x00007ff477221bae in QObjectPrivate::deleteChildren (this=this@entry=0x563d7f2b2990) at kernel/qobject.cpp:2104
#10 0x00007ff477ee9026 in QWidget::~QWidget (this=0x563d7f2c0f30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#11 0x00007ff478615e29 in KPageWidget::~KPageWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.91.0git.20220206T232626~a6b25905-ku.5.1.x86_64/src/kpagewidget.cpp:58
#12 0x00007ff477221bae in QObjectPrivate::deleteChildren (this=this@entry=0x563d7f2d36e0) at kernel/qobject.cpp:2104
#13 0x00007ff477ee9026 in QWidget::~QWidget (this=0x563d7f2b1d00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#14 0x00007ff47887d919 in ModuleView::~ModuleView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220211T014724~8afb5331-ku.9.1.x86_64/core/ModuleView.cpp:197
#15 0x00007ff477221bae in QObjectPrivate::deleteChildren (this=this@entry=0x563d7f2e5560) at kernel/qobject.cpp:2104
#16 0x00007ff477ee9026 in QWidget::~QWidget (this=this@entry=0x563d7f2be4c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#17 0x00007ff42405032d in FocusHackWidget::~FocusHackWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220211T014724~8afb5331-ku.9.1.x86_64/sidebar/SidebarMode.cpp:60
#18 FocusHackWidget::~FocusHackWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220211T014724~8afb5331-ku.9.1.x86_64/sidebar/SidebarMode.cpp:60
#19 0x00007ff477221bae in QObjectPrivate::deleteChildren (this=this@entry=0x563d7eff5d20) at kernel/qobject.cpp:2104
#20 0x00007ff477ee9026 in QWidget::~QWidget (this=0x563d7eed5770, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#21 0x00007ff478062169 in QStackedWidget::~QStackedWidget (this=0x563d7eed5770, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:147
#22 0x00007ff477221bae in QObjectPrivate::deleteChildren (this=this@entry=0x7ff46c005430) at kernel/qobject.cpp:2104
#23 0x00007ff477ee9026 in QWidget::~QWidget (this=0x563d7eeecb40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#24 0x0000563d7d1ecc20 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220211T014724~8afb5331-ku.9.1.x86_64/app/SettingsBase.cpp:81
#25 0x0000563d7d1ecd39 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220211T014724~8afb5331-ku.9.1.x86_64/app/SettingsBase.cpp:81
#26 0x00007ff47722423f in QObject::event (this=0x563d7eeecb40, e=0x563d7f4940c0) at kernel/qobject.cpp:1301
#27 0x00007ff47882f429 in KXmlGuiWindow::event (this=0x563d7eeecb40, ev=0x563d7f4940c0) at /usr/src/debug/kxmlgui-5.91.0git.20220205T151839~2243c785-ku.9.1.x86_64/src/kxmlguiwindow.cpp:219
#28 0x00007ff477eaba7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563d7eeecb40, e=0x563d7f4940c0) at kernel/qapplication.cpp:3632
#29 0x00007ff4771f7e2a in QCoreApplication::notifyInternal2 (receiver=0x563d7eeecb40, event=0x563d7f4940c0) at kernel/qcoreapplication.cpp:1064
#30 0x00007ff4771fae67 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x563d7ecfe480) at kernel/qcoreapplication.cpp:1821
#31 0x00007ff47724fce3 in postEventSourceDispatch (s=s@entry=0x563d7ee0ca50) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007ff474d17d5f in g_main_dispatch (context=0x7ff46c005000) at ../glib/gmain.c:3381
#33 g_main_context_dispatch (context=0x7ff46c005000) at ../glib/gmain.c:4099
#34 0x00007ff474d180e8 in g_main_context_iterate (context=context@entry=0x7ff46c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#35 0x00007ff474d1819f in g_main_context_iteration (context=0x7ff46c005000, may_block=1) at ../glib/gmain.c:4240
#36 0x00007ff47724f364 in QEventDispatcherGlib::processEvents (this=0x563d7ee19f70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007ff4771f682b in QEventLoop::exec (this=this@entry=0x7ffe18bb87a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007ff4771feb00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x00007ff47774d25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#40 0x00007ff477eab9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#41 0x0000563d7d1e4ea7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220211T014724~8afb5331-ku.9.1.x86_64/app/main.cpp:183
[Inferior 1 (process 20909) detached]

Possible duplicates by query: bug 289355, bug 280022, bug 265100.

Reported using DrKonqi
Comment 1 Patrick Silva 2022-02-12 19:30:09 UTC
possibly duplicate of bug 444599
Comment 2 Fushan Wen 2022-02-19 13:12:38 UTC
Created attachment 146932 [details]
New crash information added by DrKonqi

systemsettings (5.24.80) using Qt 5.15.2

- What I was doing when the application crashed:
1. Open systesettings in Icon View mode.
2. Switch to Sidebar View mode.
3. Click an item and close the window.

-- Backtrace (Reduced):
#6  0x00007f7f1a41349e in QObjectPrivate::~QObjectPrivate (this=this@entry=0x55ee4bf77910, __in_chrg=<optimized out>) at kernel/qobject.cpp:211
#7  0x00007f7f1b0c3ca8 in QWidgetPrivate::~QWidgetPrivate (this=this@entry=0x55ee4bf77910, __in_chrg=<optimized out>) at kernel/qwidget.cpp:214
#8  0x00007f7f1b189b73 in QFramePrivate::~QFramePrivate (this=this@entry=0x55ee4bf77910, __in_chrg=<optimized out>) at widgets/qframe.cpp:66
#9  0x00007f7f1b1d70be in QLabelPrivate::~QLabelPrivate (this=0x55ee4bf77910, __in_chrg=<optimized out>) at widgets/qlabel.cpp:110
#10 QLabelPrivate::~QLabelPrivate (this=0x55ee4bf77910, __in_chrg=<optimized out>) at widgets/qlabel.cpp:110
Comment 3 Fushan Wen 2022-03-08 01:40:20 UTC
Created attachment 147358 [details]
New crash information added by DrKonqi

systemsettings (5.24.80) using Qt 5.15.2

- What I was doing when the application crashed:
Open systemsettings and switch from icon view to sidebar view, and close systemsettings.

The latest commit is included: https://invent.kde.org/plasma/systemsettings/-/commit/1022d0b0d5945613104978e4cdcf58987f846143

-- Backtrace (Reduced):
#6  0x00007fa7e3ad94be in QObjectPrivate::~QObjectPrivate (this=0x139f0c0, __in_chrg=<optimized out>) at kernel/qobject.cpp:211
#7  0x00007fa7e4966df9 in QWidgetPrivate::~QWidgetPrivate (this=0x139f0c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:214
#8  0x00007fa7e51594e9 in KToolTipWidget::~KToolTipWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.92.0git.20220305T111917~97bd373d-ku.5.1.x86_64/src/ktooltipwidget.cpp:159
#9  0x00007fa7e3ad7bbe in QObjectPrivate::deleteChildren (this=this@entry=0x1b21dc0) at kernel/qobject.cpp:2104
#10 0x00007fa7e497c026 in QWidget::~QWidget (this=0x1592dd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
Comment 4 Fushan Wen 2023-10-07 00:10:07 UTC
Icon View is removed. Closing...