Bug 473057

Summary: System Settings crashing when when switching between KCMs too quickly
Product: [Applications] systemsettings Reporter: guimarcalsilva
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi, qt6
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description guimarcalsilva 2023-08-05 22:33:13 UTC
Application: systemsettings (5.27.80)

Qt Version: 6.6.0
Frameworks Version: 5.240.0
Operating System: Linux 6.2.0-26-generic x86_64
Windowing System: X11
Distribution: KDE neon Unstable Edition
DrKonqi: 5.27.80 [CoredumpBackend]

-- Information about the crash:
I can consistently make System Settings crash if I switch too fast between KCMs. It's easier to reproduce in the Appearance section. Since I'm using a VM, switching between KCMs is slower than normal, so it will probably be harder to make it crash on a real machine. On the VM I can make SySe crash with the mouse cursor very easily, for a real machine I suggest the following:
1. Go to the Appearance category
2. In order to switch between categories very fast, spam the up/down arrow and enter keys in rapid succession. This will hopefully make it possible to reproduce the issue.

This issue is NOT present on Plasma 5.27
Unfortunately I couldn't install the debug symbols because the proccess responsible for doing that in Dr. Konqi crashes.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#7  0x00007f9e97fabe1c in qt_qFindChildren_helper(QObject const*, QMetaObject const&, QList<void*>*, QFlags<Qt::FindChildOption>) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
[...]
#9  0x00007f9e97fa777c in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#10 0x00007f9e99189596 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#11 0x00007f9e97f5a128 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#12 0x00007f9e97f5e0f8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt6Core.so.6


Reported using DrKonqi
Comment 1 guimarcalsilva 2023-08-05 22:33:15 UTC
Created attachment 160768 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 guimarcalsilva 2023-08-24 01:37:37 UTC
I cannot reproduce this with the newest update (August 23rd 2023)