Bug 436469

Summary: Systemsettings: Window rules: crash on apply
Product: [Applications] systemsettings Reporter: foss
Component: kcm_kwinrulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: isma.af, nate, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description foss 2021-05-01 21:41:49 UTC
SUMMARY
Applying changes in the window rules kcm leads to systemsettings crash.

STEPS TO REPRODUCE
1. Add or change a window rule
2. Hit apply button
3. 

OBSERVED RESULT
Systemsettings window disappears.

EXPECTED RESULT
No crash after applying the changes.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

OS Type: 64-bit
Graphics Platform: Wayland

ADDITIONAL INFORMATION

*****************
* Journal logs: *
*****************

audit[36478]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 pid=36478 comm="systemsettings5" exe="/usr/bin/systemsettings5" sig=11 res=1                                                                                                                                   
kernel: systemsettings5[36478]: segfault at 60 ip 00007f9b52199d50 sp 00007ffd6ff0da00 error 4 in libQt5WaylandClient.so.5.15.2[7f9b52172000+87000]
kernel: Code: 5d c3 0f 1f 84 00 00 00 00 00 41 57 45 89 c7 41 56 41 89 d6 41 55 49 89 f5 41 54 49 89 cc 55 48 89 fd 53 4883 ec 08 48 8b 07 <ff> 50 60 48 8b 18 31 c0 48 85 db 74 09 48 89 df ff 15 82 48 0a 00
kernel: audit: type=1701 audit(1619903626.169:508): auid=1000 uid=1000 gid=1000 ses=1 pid=36478 comm="systemsettings5" exe="/usr/bin/systemsettings5" sig=11 res=1
audit: BPF prog-id=54 op=LOAD
audit: BPF prog-id=55 op=LOAD
audit: BPF prog-id=56 op=LOAD
audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-36519-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'                                                                           
systemd[1]: Started Process Core Dump (PID 36519/UID 0).
kernel: audit: type=1334 audit(1619903626.183:509): prog-id=54 op=LOAD
kernel: audit: type=1334 audit(1619903626.183:510): prog-id=55 op=LOAD
kernel: audit: type=1334 audit(1619903626.183:511): prog-id=56 op=LOAD
kernel: audit: type=1130 audit(1619903626.183:512): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-36519-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
systemd-coredump[36520]: Process 36478 (systemsettings5) of user 1000 dumped core.

Stack trace of thread 36478:
#0  0x00007f9b52199d50 _ZN30QWaylandClientExtensionPrivate20handleRegistryGlobalEPvP11wl_registryjRK7QStringj (libQt5WaylandClient.so.5 + 0x89d50)
#1  0x00007f9b52181b02 _ZN15QtWaylandClient15QWaylandDisplay15registry_globalEjRK7QStringj (libQt5WaylandClient.so.5 + 0x71b02)
#2  0x00007f9b521a34be _ZN9QtWayland11wl_registry13handle_globalEPvP11wl_registryjPKcj (libQt5WaylandClient.so.5 + 0x934be)
#3  0x00007f9b4fc40acd n/a (libffi.so.7 + 0x6acd)
#4  0x00007f9b4fc4003a n/a (libffi.so.7 + 0x603a)
#5  0x00007f9b52107fe4 n/a (libwayland-client.so.0 + 0x9fe4)
#6  0x00007f9b52104563 n/a (libwayland-client.so.0 + 0x6563)
#7  0x00007f9b52105cac wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x7cac)
#8  0x00007f9b5218141d _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5 + 0x7141d)
#9  0x00007f9b54619a20 n/a (libQt5Core.so.5 + 0x2eda20)
#10 0x00007f9b5461cf70 _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2f0f70)
#11 0x00007f9b5461d77d _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5 + 0x2f177d)
#12 0x00007f9b551a7762 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15a762)
#13 0x00007f9b545e268a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5+ 0x2b668a)
#14 0x00007f9b5463bda6 n/a (libQt5Core.so.5 + 0x30fda6)
#15 0x00007f9b5229602c g_main_context_dispatch (libglib-2.0.so.0 + 0x5402c)
#16 0x00007f9b522e9b59 n/a (libglib-2.0.so.0 + 0xa7b59)
#17 0x00007f9b52293781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
#18 0x00007f9b5463b191 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30f191)
#19 0x00007f9b545e0fec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b4fec)
#20 0x00007f9b545e94a4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2bd4a4)
#21 0x000055c48a1e8960 n/a (systemsettings5 + 0x13960)
#22 0x00007f9b53e64b25 __libc_start_main (libc.so.6 + 0x27b25)
#23 0x000055c48a1e947e _start (systemsettings5 + 0x1447e)

Stack trace of thread 36496:
#0  0x00007f9b53f3137f __poll (libc.so.6 + 0xf437f)
#1  0x00007f9b522e9ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
#2  0x00007f9b52293781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
#3  0x00007f9b5463b191 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30f191)
#4  0x00007f9b545e0fec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b4fec)
#5  0x00007f9b543f8e92 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce92)
#6  0x00007f9b5375ca39 n/a (libQt5Qml.so.5 + 0x30ba39)
#7  0x00007f9b543fa07f n/a (libQt5Core.so.5 + 0xce07f)
#8  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#9  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36483:
#0  0x00007f9b53f3137f __poll (libc.so.6 + 0xf437f)
#1  0x00007f9b522e9ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
#2  0x00007f9b52293781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
#3  0x00007f9b5463b191 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30f191)
#4  0x00007f9b545e0fec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b4fec)
#5  0x00007f9b543f8e92 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce92)
#6  0x00007f9b533e2098 n/a (libQt5DBus.so.5 + 0x17098)
#7  0x00007f9b543fa07f n/a (libQt5Core.so.5 + 0xce07f)
#8  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#9  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36484:
#0  0x00007f9b52ca89ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1  0x00007f9b52ca2260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2  0x00007f9b468ed9ec n/a (iris_dri.so + 0x1529ec)
#3  0x00007f9b468e7638 n/a (iris_dri.so + 0x14c638)
#4  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#5  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36488:
#0  0x00007f9b53f3137f __poll (libc.so.6 + 0xf437f)
#1  0x00007f9b522e9ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
#2  0x00007f9b52293781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
#3  0x00007f9b5463b191 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30f191)
#4  0x00007f9b545e0fec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b4fec)
#5  0x00007f9b543f8e92 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce92)
#6  0x00007f9b5375ca39 n/a (libQt5Qml.so.5 + 0x30ba39)
#7  0x00007f9b543fa07f n/a (libQt5Core.so.5 + 0xce07f)
#8  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#9  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36485:
#0  0x00007f9b52ca89ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1  0x00007f9b52ca2260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2  0x00007f9b468ed9ec n/a (iris_dri.so + 0x1529ec)
#3  0x00007f9b468e7638 n/a (iris_dri.so + 0x14c638)
#4  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#5  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36489:
#0  0x00007f9b53f3137f __poll (libc.so.6 + 0xf437f)
#1  0x00007f9b522e9ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
#2  0x00007f9b52293781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
#3  0x00007f9b5463b191 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30f191)
#4  0x00007f9b545e0fec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b4fec)
#5  0x00007f9b543f8e92 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce92)
#6  0x00007f9b5375ca39 n/a (libQt5Qml.so.5 + 0x30ba39)
#7  0x00007f9b543fa07f n/a (libQt5Core.so.5 + 0xce07f)
#8  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#9  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36487:
#0  0x00007f9b52ca89ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1  0x00007f9b52ca2260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2  0x00007f9b468ed9ec n/a (iris_dri.so + 0x1529ec)
#3  0x00007f9b468e7638 n/a (iris_dri.so + 0x14c638)
#4  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#5  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)

Stack trace of thread 36486:
#0  0x00007f9b52ca89ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1  0x00007f9b52ca2260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2  0x00007f9b468ed9ec n/a (iris_dri.so + 0x1529ec)
#3  0x00007f9b468e7638 n/a (iris_dri.so + 0x14c638)
#4  0x00007f9b52c9c299 start_thread (libpthread.so.0 + 0x9299)
#5  0x00007f9b53f3c053 __clone (libc.so.6 + 0xff053)
Comment 1 Nate Graham 2021-05-03 19:35:09 UTC

*** This bug has been marked as a duplicate of bug 414834 ***