Bug 466689 - System Settings Crash After Applying Global Theme
Summary: System Settings Crash After Applying Global Theme
Status: RESOLVED DUPLICATE of bug 446111
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.27.2
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-02 01:30 UTC by Michael Mikowski
Modified: 2023-03-02 22:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mikowski 2023-03-02 01:30:16 UTC
Application: systemsettings (5.27.2)

Qt Version: 5.15.3
Frameworks Version: 5.102.0
Operating System: Linux 5.19.0-32-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.2 LTS
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
Steps to Reproduce:

1. Open System Settings > Appearance > Global Theme
2. Select a different theme than the current (for this crash, I selected Breeze Dark IIRC)
3. In the "Apply Breeze Dark" dialog,  check [x] Appearance settings and [x] Desktop and window layout
4. Click [ Apply ] button

Expected Results:

1. Theme should be applied as selected.
2. System settings should not crash.

Actual Results:

1. Theme is applied as selected (Good!)
2. System settings crashes (BAD)

This behamatches closed bug 458405 which is marked as a duplicate of bug 446111. However, I have been able to reproduce, and the failure mode may vbe different. This is also on Plasma 5.27.2.

Frequency: Estimated below 5%. While this crash occured once, I tried 20 additional times using the same system settings instance each time, and it occurred again on the 20th attempt. The detail listed is:

Executable: systemsettings PID 50,622 Signal: Segmentation fault (11) Time 3/1/23 5:27 PM

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc7c2e7df00 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fc7c2e7de19 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fc7c2e7de19 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fc7c2e7de19 in QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent*, QQuickItem*, QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fc7c2e7ebde in QQuickWindowPrivate::deliverToPassiveGrabbers(QVector<QPointer<QQuickPointerHandler> > const&, QQuickPointerEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fc7c2e84ed5 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fc7c2e8665f in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fc7c4f4d5a5 in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007fc7c576c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fc7c4ab9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fc7c39470ab in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#15 0x00007fc7c57af4ee in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fc7c576c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fc7c5774364 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fc7c4ab9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fc7c5772e47 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fc7c57c8d40 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fc7c57cbfd5 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fc7c576c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fc7c4ab9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fc7c4f41307 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fc7c4f16a2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007fc7bf0f8d6e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007fc7c3320d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fc7c33756c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fc7c331e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc7c4b130b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fc7c4ab875b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fc7c4ac0cf4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x000055bfc47ce5f6 in ?? ()
#34 0x00007fc7c4029d90 in __libc_start_call_main (main=main@entry=0x55bfc47cdaa0, argc=argc@entry=1, argv=argv@entry=0x7fff5abf20b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x00007fc7c4029e40 in __libc_start_main_impl (main=0x55bfc47cdaa0, argc=1, argv=0x7fff5abf20b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5abf20a8) at ../csu/libc-start.c:392
#36 0x000055bfc47cef85 in ?? ()
[Inferior 1 (process 46421) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-03-02 20:30:23 UTC
The backtrace is identical to the one in Bug 446111, which was fixed with a backported patch in the KDE Qt patch collection. I see that you're using: "Qt Version: 5.15.3" which is rather old at this point and definitely doesn't have it. I recommend upgrading to 5.15.8 + the KDE patches. Hopefully that'll fix it.

*** This bug has been marked as a duplicate of bug 446111 ***
Comment 2 Michael Mikowski 2023-03-02 22:25:23 UTC
Thank you Nate!

>  I recommend upgrading to 5.15.8 + the KDE patches.
 
Agreed. Please point me to a document on how to do this if you know one exists. I looked around for a few minutes, and didn't easily find anything.
Comment 3 Nate Graham 2023-03-02 22:38:56 UTC
See https://community.kde.org/Qt5PatchCollection which should have some info in there about it.