<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>466689</bug_id>
          
          <creation_ts>2023-03-02 01:30:16 +0000</creation_ts>
          <short_desc>System Settings Crash After Applying Global Theme</short_desc>
          <delta_ts>2023-03-02 22:38:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>general</component>
          <version>5.27.2</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>446111</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Michael Mikowski">z_mikowski</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2213165</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Mikowski">z_mikowski</who>
    <bug_when>2023-03-02 01:30:16 +0000</bug_when>
    <thetext>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 &gt; Appearance &gt; Global Theme
2. Select a different theme than the current (for this crash, I selected Breeze Dark IIRC)
3. In the &quot;Apply Breeze Dark&quot; 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&lt;QPointer&lt;QQuickPointerHandler&gt; &gt; const&amp;, 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&lt;QWidget&gt;&amp;, 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&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fc7c4ab875b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff5abf20a8) at ../csu/libc-start.c:392
#36 0x000055bfc47cef85 in ?? ()
[Inferior 1 (process 46421) detached]

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213432</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-03-02 20:30:23 +0000</bug_when>
    <thetext>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&apos;re using: &quot;Qt Version: 5.15.3&quot; which is rather old at this point and definitely doesn&apos;t have it. I recommend upgrading to 5.15.8 + the KDE patches. Hopefully that&apos;ll fix it.

*** This bug has been marked as a duplicate of bug 446111 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213485</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Mikowski">z_mikowski</who>
    <bug_when>2023-03-02 22:25:23 +0000</bug_when>
    <thetext>Thank you Nate!

&gt;  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&apos;t easily find anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213488</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-03-02 22:38:56 +0000</bug_when>
    <thetext>See https://community.kde.org/Qt5PatchCollection which should have some info in there about it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>