Bug 454314 - kwin_wayland: XWayland applications crash and refuse to start
Summary: kwin_wayland: XWayland applications crash and refuse to start
Status: RESOLVED DUPLICATE of bug 452062
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-24 07:45 UTC by suraajvashisht
Modified: 2022-05-24 17:07 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 suraajvashisht 2022-05-24 07:45:43 UTC
SUMMARY
Every XWayland application, whether it's native, flatpak, or electron based, crashes immediately on starting. My applications which are crashing are Spotify(Flatpak), any application running through Wine, VSCode(native) and Steam(native). Others on Fedora 36 with KDE and same config machine as mine report the same issue. I'm sorry if this is not the place to report this.


STEPS TO REPRODUCE
1. Launch an application which utilizes XWayland.

OBSERVED RESULT
Application doesn't start and KDE notifies that XWayland has crashed.
Here's a `journalctl` output:
```
May 24 12:26:48 zeus krunner[4665]: QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffc99523bc0)
May 24 12:26:48 zeus krunner[4665]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
May 24 12:26:50 zeus systemd[1806]: Started app-com.spotify.Client-94b61658a0f547899ccaf5144f8be151.scope - Spotify - Online music streaming service.
May 24 12:26:50 zeus systemd[1806]: Starting flatpak-session-helper.service - flatpak session helper...
May 24 12:26:50 zeus systemd[1806]: Started flatpak-session-helper.service - flatpak session helper.
May 24 12:26:50 zeus systemd[1806]: Started app-flatpak-com.spotify.Client-19609.scope.
May 24 12:26:50 zeus krunner[19632]: /app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)
May 24 12:26:50 zeus krunner[19632]: [spotifywm] attached to spotify
May 24 12:26:51 zeus krunner[19640]: /app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
May 24 12:26:51 zeus krunner[19641]: /app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
May 24 12:26:51 zeus krunner[19640]: [spotifywm] attached to spotify
May 24 12:26:51 zeus krunner[19641]: [spotifywm] attached to spotify
May 24 12:26:51 zeus krunner[19684]: /proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
May 24 12:26:51 zeus kwin_wayland[1864]: kwin_core: XCB error: 3 (BadWindow), sequence: 544, resource id: 2097159, major code: 129 (SHAPE), minor code: 3 (Combine)
May 24 12:26:51 zeus kwin_wayland[1864]: kwin_core: XCB error: 3 (BadWindow), sequence: 547, resource id: 2097159, major code: 129 (SHAPE), minor code: 3 (Combine)
May 24 12:26:51 zeus kwin_wayland[1864]: kwin_core: XCB error: 3 (BadWindow), sequence: 560, resource id: 2097159, major code: 129 (SHAPE), minor code: 3 (Combine)
May 24 12:26:51 zeus kwin_wayland[1864]: kwin_core: XCB error: 3 (BadWindow), sequence: 563, resource id: 2097159, major code: 129 (SHAPE), minor code: 3 (Combine)
May 24 12:26:51 zeus kwin_wayland[1864]: kwin_core: XCB error: 3 (BadWindow), sequence: 583, resource id: 2097159, major code: 129 (SHAPE), minor code: 3 (Combine)
May 24 12:26:51 zeus kwin_wayland[1864]: kwin_core: XCB error: 3 (BadWindow), sequence: 586, resource id: 2097159, major code: 129 (SHAPE), minor code: 3 (Combine)
May 24 12:26:51 zeus krunner[19684]: [spotifywm] attached to spotify
May 24 12:26:53 zeus kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
May 24 12:26:53 zeus kernel: [drm] PSP is resuming...
May 24 12:26:53 zeus kernel: [drm] reserve 0x900000 from 0x817e400000 for PSP TMR
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
May 24 12:26:53 zeus kernel: [drm] kiq ring mec 2 pipe 1 q 0
May 24 12:26:53 zeus kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
May 24 12:26:53 zeus kernel: [drm] JPEG decode initialized successfully.
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 1
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 1
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 1
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes
May 24 12:26:53 zeus kernel: amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE)
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) Backtrace:
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 0: /usr/bin/Xwayland (0x558dc7bff000+0x16da82) [0x558dc7d6ca82]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 1: /usr/bin/Xwayland (0x558dc7bff000+0x16f764) [0x558dc7d6e764]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 2: /lib64/libc.so.6 (0x7efdb4616000+0x3ea70) [0x7efdb4654a70]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 3: /usr/bin/Xwayland (0x558dc7bff000+0x3c6d8) [0x558dc7c3b6d8]
May 24 12:26:54 zeus audit[9438]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:xserver_t:s0-s0:c0.c1023 pid=9438 comm="Xwayland" exe="/usr/bin/Xwayland" sig=6 res=1
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 4: /lib64/libffi.so.8 (0x7efdb4470000+0x7746) [0x7efdb4477746]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 5: /lib64/libffi.so.8 (0x7efdb4470000+0x44d2) [0x7efdb44744d2]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 6: /lib64/libwayland-client.so.0 (0x7efdb4f43000+0x7e03) [0x7efdb4f4ae03]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 7: /lib64/libwayland-client.so.0 (0x7efdb4f43000+0x8573) [0x7efdb4f4b573]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 8: /lib64/libwayland-client.so.0 (wl_display_dispatch_queue_pending+0x7c) [0x7efdb4f4b73c]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 9: /usr/bin/Xwayland (0x558dc7bff000+0x4192b) [0x558dc7c4092b]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 10: /usr/bin/Xwayland (0x558dc7bff000+0x170dd4) [0x558dc7d6fdd4]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 11: /usr/bin/Xwayland (0x558dc7bff000+0xaa239) [0x558dc7ca9239]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 12: /usr/bin/Xwayland (0x558dc7bff000+0x38019) [0x558dc7c37019]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 13: /lib64/libc.so.6 (0x7efdb4616000+0x29550) [0x7efdb463f550]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 14: /lib64/libc.so.6 (__libc_start_main+0x89) [0x7efdb463f609]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) 15: /usr/bin/Xwayland (0x558dc7bff000+0x39845) [0x558dc7c38845]
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE)
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) Segmentation fault at address 0x0
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE)
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: Fatal server error:
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE) Caught signal 11 (Segmentation fault). Server aborting
May 24 12:26:54 zeus kwin_wayland_wrapper[9438]: (EE)
May 24 12:26:54 zeus audit: BPF prog-id=95 op=LOAD
May 24 12:26:54 zeus audit: BPF prog-id=96 op=LOAD
May 24 12:26:54 zeus audit: BPF prog-id=97 op=LOAD
May 24 12:26:54 zeus systemd[1]: Started systemd-coredump@1-19763-0.service - Process Core Dump (PID 19763/UID 0).
May 24 12:26:54 zeus audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-19763-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=s>
May 24 12:26:54 zeus [19803]: [172B blob data]
May 24 12:26:54 zeus systemd-coredump[19765]: [🡕] Process 9438 (Xwayland) of user 1000 dumped core.
                                              
                                              Module linux-vdso.so.1 with build-id ba913fa9952d18d5cbc0173dcf2f2107d60c290e
                                              Module libdrm_nouveau.so.2 with build-id e29a9d395fc95c39184c0a74362b24f624fd2556
                                              Metadata for module libdrm_nouveau.so.2 owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "libdrm",
                                                      "version" : "2.4.110-20220221.d13ab997.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module libdrm_amdgpu.so.1 with build-id 379e4fbdb2ca9a750d1a8c0dbfa00353c7660acb
                                              Metadata for module libdrm_amdgpu.so.1 owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "libdrm",
                                                      "version" : "2.4.110-20220221.d13ab997.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module libelf.so.1 with build-id 0584bcb884371638ea33510ed3743571f5de8d26
                                              Metadata for module libelf.so.1 owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "elfutils",
                                                      "version" : "0.187-4.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module libdrm_radeon.so.1 with build-id 935e328c92169f2b1722a2df18b3b7721b947885
                                              Metadata for module libdrm_radeon.so.1 owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "libdrm",
                                                      "version" : "2.4.110-20220221.d13ab997.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module libsensors.so.4 with build-id 27c3cf169a7f8196e3626bd22a99c3a4b29b0fc1
                                              Metadata for module libsensors.so.4 owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "lm_sensors",
                                                      "version" : "3.6.0-11.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module radeonsi_dri.so with build-id 6e9e09338862b0e3e11d66e0bf64403e6b73ee1d
                                              Metadata for module radeonsi_dri.so owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "mesa",
                                                      "version" : "22.2.0-0.3.20220523.05.d12b971.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module libtinfo.so.6 with build-id 954d12f7d8216fde821db122a4768ee255382a63
                                              Metadata for module libtinfo.so.6 owned by FDO found: {
                                                      "type" : "rpm",
                                                      "name" : "ncurses",
                                                      "version" : "6.2-9.20210508.fc36",
                                                      "architecture" : "x86_64",
                                                      "osCpe" : "cpe:/o:fedoraproject:fedora:36"
                                              }
                                              
                                              Module libedit.so.0 with build-id 786ebbe150c63e27beb2957d717bece33431af6f
                                              Stack trace of thread 9438:
                                              #0  0x00007efdb46a4c3c __pthread_kill_implementation (libc.so.6 + 0x8ec3c)
                                              #1  0x00007efdb46549c6 raise (libc.so.6 + 0x3e9c6)
                                              #2  0x00007efdb463e7f4 abort (libc.so.6 + 0x287f4)
                                              #3  0x0000558dc7d70600 OsAbort (Xwayland + 0x171600)
                                              #4  0x0000558dc7d7bfff FatalError (Xwayland + 0x17cfff)
                                              #5  0x0000558dc7d6e7c1 OsSigHandler (Xwayland + 0x16f7c1)
                                              #6  0x00007efdb4654a70 __restore_rt (libc.so.6 + 0x3ea70)
                                              #7  0x0000558dc7c3b6d8 xwl_screen_destroy_drm_lease_device (Xwayland + 0x3c6d8)
                                              #8  0x00007efdb4477746 ffi_call_unix64 (libffi.so.8 + 0x7746)
                                              #9  0x00007efdb44744d2 ffi_call_int.lto_priv.0 (libffi.so.8 + 0x44d2)
                                              #10 0x00007efdb4f4ae03 wl_closure_invoke.constprop.0 (libwayland-client.so.0 + 0x7e03)
                                              #11 0x00007efdb4f4b573 dispatch_event.isra.0 (libwayland-client.so.0 + 0x8573)
                                              #12 0x00007efdb4f4b73c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x873c)
                                              #13 0x0000558dc7c4092b xwl_read_events (Xwayland + 0x4192b)
                                              #14 0x0000558dc7d6fdd4 ospoll_wait (Xwayland + 0x170dd4)
                                              #15 0x0000558dc7ca9239 Dispatch (Xwayland + 0xaa239)
                                              #16 0x0000558dc7c37019 main (Xwayland + 0x38019)
                                              #17 0x00007efdb463f550 __libc_start_call_main (libc.so.6 + 0x29550)
                                              #18 0x00007efdb463f609 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29609)
                                              #19 0x0000558dc7c38845 _start (Xwayland + 0x39845)
                                              
                                              Stack trace of thread 9466:
                                              #0  0x00007efdb469fa19 __futex_abstimed_wait_common (libc.so.6 + 0x89a19)
                                              #1  0x00007efdb46a2200 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c200)
                                              #2  0x00007efdb237731b util_queue_thread_func (radeonsi_dri.so + 0xbd31b)
                                              #3  0x00007efdb2376f6b impl_thrd_routine (radeonsi_dri.so + 0xbcf6b)
                                              #4  0x00007efdb46a2e1d start_thread (libc.so.6 + 0x8ce1d)
                                              #5  0x00007efdb47282e0 __clone3 (libc.so.6 + 0x1122e0)
                                              
                                              Stack trace of thread 9464:
                                              #0  0x00007efdb469fa19 __futex_abstimed_wait_common (libc.so.6 + 0x89a19)
                                              #1  0x00007efdb46a2200 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c200)
                                              #2  0x00007efdb237731b util_queue_thread_func (radeonsi_dri.so + 0xbd31b)
                                              #3  0x00007efdb2376f6b impl_thrd_routine (radeonsi_dri.so + 0xbcf6b)
                                              #4  0x00007efdb46a2e1d start_thread (libc.so.6 + 0x8ce1d)
                                              #5  0x00007efdb47282e0 __clone3 (libc.so.6 + 0x1122e0)
                                              
                                              Stack trace of thread 9467:
                                              #0  0x00007efdb469fa19 __futex_abstimed_wait_common (libc.so.6 + 0x89a19)
                                              #1  0x00007efdb46a2200 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c200)
                                              #2  0x00007efdb237731b util_queue_thread_func (radeonsi_dri.so + 0xbd31b)
                                              #3  0x00007efdb2376f6b impl_thrd_routine (radeonsi_dri.so + 0xbcf6b)
                                              #4  0x00007efdb46a2e1d start_thread (libc.so.6 + 0x8ce1d)
                                              #5  0x00007efdb47282e0 __clone3 (libc.so.6 + 0x1122e0)
                                              
                                              Stack trace of thread 9465:
                                              #0  0x00007efdb469fa19 __futex_abstimed_wait_common (libc.so.6 + 0x89a19)
                                              #1  0x00007efdb46a2200 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c200)
                                              #2  0x00007efdb237731b util_queue_thread_func (radeonsi_dri.so + 0xbd31b)
                                              #3  0x00007efdb2376f6b impl_thrd_routine (radeonsi_dri.so + 0xbcf6b)
                                              #4  0x00007efdb46a2e1d start_thread (libc.so.6 + 0x8ce1d)
                                              #5  0x00007efdb47282e0 __clone3 (libc.so.6 + 0x1122e0)
                                              
                                              Stack trace of thread 9468:
                                              #0  0x00007efdb469fa19 __futex_abstimed_wait_common (libc.so.6 + 0x89a19)
                                              #1  0x00007efdb46a2200 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c200)
                                              #2  0x00007efdb237731b util_queue_thread_func (radeonsi_dri.so + 0xbd31b)
                                              #3  0x00007efdb2376f6b impl_thrd_routine (radeonsi_dri.so + 0xbcf6b)
                                              #4  0x00007efdb46a2e1d start_thread (libc.so.6 + 0x8ce1d)
                                              #5  0x00007efdb47282e0 __clone3 (libc.so.6 + 0x1122e0)
                                              
                                              Stack trace of thread 19693:
                                              #0  0x00007efdb469fa19 __futex_abstimed_wait_common (libc.so.6 + 0x89a19)
                                              #1  0x00007efdb46a2200 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c200)
                                              #2  0x00007efdb237731b util_queue_thread_func (radeonsi_dri.so + 0xbd31b)
                                              #3  0x00007efdb2376f6b impl_thrd_routine (radeonsi_dri.so + 0xbcf6b)
                                              #4  0x00007efdb46a2e1d start_thread (libc.so.6 + 0x8ce1d)
                                              #5  0x00007efdb47282e0 __clone3 (libc.so.6 + 0x1122e0)
                                              ELF object binary architecture: AMD x86-64
May 24 12:26:54 zeus systemd[1]: systemd-coredump@1-19763-0.service: Deactivated successfully.
May 24 12:26:54 zeus krunner[19656]: X connection to :99.0 broken (explicit kill or server shutdown).
May 24 12:26:54 zeus krunner[19634]: Traceback (most recent call last):
May 24 12:26:54 zeus krunner[19634]:   File "/app/bin/set-dark-theme-variant.py", line 74, in <module>
May 24 12:26:54 zeus krunner[19634]:     disp.next_event()
May 24 12:26:54 zeus krunner[19634]:   File "/app/lib/python3.9/site-packages/Xlib/display.py", line 187, in next_event
May 24 12:26:54 zeus krunner[19634]:     return self.display.next_event()
May 24 12:26:54 zeus krunner[19634]:   File "/app/lib/python3.9/site-packages/Xlib/protocol/display.py", line 217, in next_event
May 24 12:26:54 zeus krunner[19634]:     self.send_and_recv(event = 1)
May 24 12:26:54 zeus krunner[19634]:   File "/app/lib/python3.9/site-packages/Xlib/protocol/display.py", line 609, in send_and_recv
May 24 12:26:54 zeus krunner[19634]:     raise self.socket_error
May 24 12:26:54 zeus krunner[19634]: Xlib.error.ConnectionClosedError: Display connection closed by server
May 24 12:26:54 zeus gmenudbusmenuproxy[9512]: The X11 connection broke (error 1). Did the X11 server die?
May 24 12:26:54 zeus xembedsniproxy[9513]: The X11 connection broke (error 1). Did the X11 server die?
May 24 12:26:54 zeus kwin_wayland[1864]: kwin_xwl: Xwayland process crashed
May 24 12:26:54 zeus systemd[1806]: plasma-xembedsniproxy.service: Main process exited, code=exited, status=1/FAILURE
May 24 12:26:54 zeus systemd[1806]: plasma-xembedsniproxy.service: Failed with result 'exit-code'.
May 24 12:26:54 zeus systemd[1806]: plasma-gmenudbusmenuproxy.service: Main process exited, code=exited, status=1/FAILURE
May 24 12:26:54 zeus systemd[1806]: plasma-gmenudbusmenuproxy.service: Failed with result 'exit-code'.
May 24 12:26:54 zeus audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-19763-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=su>
May 24 12:26:54 zeus kwin_wayland_wrapper[19811]: (WW) Option "-listen" for file descriptors is deprecated
May 24 12:26:54 zeus kwin_wayland_wrapper[19811]: Please use "-listenfd" instead.
May 24 12:26:54 zeus kwin_wayland_wrapper[19811]: (WW) Option "-listen" for file descriptors is deprecated
May 24 12:26:54 zeus kwin_wayland_wrapper[19811]: Please use "-listenfd" instead.
May 24 12:26:54 zeus kwin_wayland_wrapper[19811]: mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
May 24 12:26:54 zeus systemd[1806]: app-flatpak-com.spotify.Client-19609.scope: Consumed 4.401s CPU time.
May 24 12:26:54 zeus kwin_wayland_wrapper[19811]: mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
May 24 12:26:54 zeus audit: BPF prog-id=0 op=UNLOAD
May 24 12:26:54 zeus audit: BPF prog-id=0 op=UNLOAD
May 24 12:26:54 zeus audit: BPF prog-id=0 op=UNLOAD
May 24 12:26:54 zeus kwin_wayland_wrapper[19831]: The XKEYBOARD keymap compiler (xkbcomp) reports:
May 24 12:26:54 zeus kwin_wayland_wrapper[19831]: > Warning:          Could not resolve keysym XF86EmojiPicker
May 24 12:26:54 zeus kwin_wayland_wrapper[19831]: Errors from xkbcomp are not fatal to the X server
May 24 12:26:54 zeus kwin_wayland_wrapper[19832]: The XKEYBOARD keymap compiler (xkbcomp) reports:
May 24 12:26:54 zeus kwin_wayland_wrapper[19832]: > Warning:          Unsupported maximum keycode 708, clipping.
May 24 12:26:54 zeus kwin_wayland_wrapper[19832]: >                   X11 cannot support keycodes above 255.
May 24 12:26:54 zeus kwin_wayland_wrapper[19832]: Errors from xkbcomp are not fatal to the X server
May 24 12:26:54 zeus systemd[1806]: plasma-xembedsniproxy.service: Scheduled restart job, restart counter is at 2.
May 24 12:26:54 zeus systemd[1806]: plasma-gmenudbusmenuproxy.service: Scheduled restart job, restart counter is at 2.
May 24 12:26:54 zeus systemd[1806]: Stopped plasma-gmenudbusmenuproxy.service - Proxies GTK DBus menus to a Plasma readable format.
May 24 12:26:54 zeus systemd[1806]: Started plasma-gmenudbusmenuproxy.service - Proxies GTK DBus menus to a Plasma readable format.
May 24 12:26:54 zeus systemd[1806]: Stopped plasma-xembedsniproxy.service - Handle legacy xembed system tray icons.
May 24 12:26:54 zeus systemd[1806]: Started plasma-xembedsniproxy.service - Handle legacy xembed system tray icons.
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus audit[19865]: AVC avc:  denied  { read } for  pid=19865 comm="gdb" name="renderD129" dev="devtmpfs" ino=466 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file p>
May 24 12:26:55 zeus abrt-server[19844]: Deleting problem directory ccpp-2022-05-24-12:26:54.537146-9438 (dup of ccpp-2022-05-16-14:38:07.360488-1915)
May 24 12:26:55 zeus abrt-notification[19903]: [🡕] Process 1915 (Xwayland) crashed in __dlerror()
May 24 12:26:55 zeus xembedsniproxy[19840]: Qt: Session management error: Could not open network socket
May 24 12:26:55 zeus gmenudbusmenuproxy[19839]: Qt: Session management error: Could not open network socket
May 24 12:27:00 zeus kernel: [drm] free PSP TMR buffer
```
Hastebin link: https://www.toptal.com/developers/hastebin/jizoxiwitu.yaml
EXPECTED RESULT
Application should start normally.

SOFTWARE/OS VERSIONS:
Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.9-301.fsync.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 15.1 GiB of RAM
Graphics Processor: RENOIR

ADDITIONAL INFORMATION
The machine is a Dell G5 SE containing a hybrid setup of Renoir iGPU which drives the screen and RX5600M dGPU for graphic intensive workloads. The RX5600M has had buggy amdgpu drivers which hopefully are not causing a problem here, though I haven't faced this problem earlier on Fedora 35.
Comment 1 Nate Graham 2022-05-24 17:07:57 UTC

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