SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** Spectacle crashes and fails to launch. STEPS TO REPRODUCE 1. Attempt to open spectacle OBSERVED RESULT Application doesn't launch and KDE gives a notification reading "Launching Spectacle (failed) Remote peer disconnected" EXPECTED RESULT Spectacle opens SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.62 OS: EndeavourOS Linux x86_64 Kernel: 6.7.9-arch1-1 CPU: AMD Ryzen 9 7950X (32) GPU: AMD ATI 11:00.0 Raphael GPU: NVIDIA GeForce RTX 3080 Ti ADDITIONAL INFORMATION All packages are up to date, problem persists through restarts. This is while using the Wayland session. The system uses the CPU iGPU for the desktop with the Nvidia card for render offloading for games, and I noticed the trace includes a reference to nvidia_drv_video.so and radeonsi_dri.so. At time of the crash there were 0 processes running on the nvidia gpu. Hope that helps. Mar 12 20:56:21 host systemd[3508]: Starting Spectacle screenshot capture utility... Mar 12 20:56:21 host kernel: spectacle[7569]: segfault at d8 ip 00007bec5c77bab4 sp 00007ffc5ac63ab8 error 4 in libX11.so.6.4.0[7bec5c76c000+8b000] likely on CPU 25 (core 9, socket 0) Mar 12 20:56:21 host kernel: Code: 84 00 00 00 00 00 f3 0f 1e fa 8b 47 1c c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 47 74 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 d8 00 00 00 c3 0f 1f 40 00 f3 0f 1e fa 48 63 f6 48 c1 e6 Mar 12 20:56:21 host systemd[1]: Started Process Core Dump (PID 7585/UID 0). Mar 12 20:56:21 host systemd-coredump[7586]: [🡕] Process 7569 (spectacle) of user 1000 dumped core. Stack trace of thread 7569: #0 0x00007bec5c77bab4 XDisplayString (libX11.so.6 + 0x2bab4) #1 0x00007bec45233a1d __vaDriverInit_1_13 (nvidia_drv_video.so + 0xda1d) #2 0x00007bec5dbd627c vaInitialize (libva.so.2 + 0x627c) #3 0x00007bec5fea1dfa n/a (libKPipeWireRecord.so.6 + 0x13dfa) #4 0x00007bec5fe9e945 n/a (libKPipeWireRecord.so.6 + 0x10945) #5 0x00007bec5fe9ece2 _ZNK25PipeWireBaseEncodedStream17suggestedEncodersEv (libKPipeWireRecord.so.6 + 0x10ce2) #6 0x00007bec5fe9f30e _ZN25PipeWireBaseEncodedStreamC1EP7QObject (libKPipeWireRecord.so.6 + 0x1130e) #7 0x00007bec5fe9f4ce _ZN14PipeWireRecordC2EP7QObject (libKPipeWireRecord.so.6 + 0x114ce) #8 0x00005590fd4a04f8 n/a (spectacle + 0xbf4f8) #9 0x00005590fd4a0a67 n/a (spectacle + 0xbfa67) #10 0x00005590fd40e1e6 n/a (spectacle + 0x2d1e6) #11 0x00007bec5ca43cd0 n/a (libc.so.6 + 0x25cd0) #12 0x00007bec5ca43d8a __libc_start_main (libc.so.6 + 0x25d8a) #13 0x00005590fd410855 n/a (spectacle + 0x2f855) Stack trace of thread 7570: #0 0x00007bec5cb190bf __poll (libc.so.6 + 0xfb0bf) #1 0x00007bec5956c2f6 n/a (libglib-2.0.so.0 + 0xb82f6) #2 0x00007bec5950c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162) #3 0x00007bec5d3739c4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3739c4) #4 0x00007bec5d143d6e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x143d6e) #5 0x00007bec5d22106f _ZN7QThread4execEv (libQt6Core.so.6 + 0x22106f) #6 0x00007bec5f5039df n/a (libQt6DBus.so.6 + 0x299df) #7 0x00007bec5d2a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3) #8 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #9 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7572: #0 0x00007bec5cb190bf __poll (libc.so.6 + 0xfb0bf) #1 0x00007bec5f93ab18 n/a (libQt6WaylandClient.so.6 + 0x64b18) #2 0x00007bec5d2a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3) #3 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #4 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7571: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec5d2a3c10 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2a3c10) #3 0x00007bec5f93aa98 n/a (libQt6WaylandClient.so.6 + 0x64a98) #4 0x00007bec5d2a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3) #5 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #6 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7575: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec2f08685c n/a (radeonsi_dri.so + 0x8685c) #3 0x00007bec2f09e82c n/a (radeonsi_dri.so + 0x9e82c) #4 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #5 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7573: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec2f08685c n/a (radeonsi_dri.so + 0x8685c) #3 0x00007bec2f09e82c n/a (radeonsi_dri.so + 0x9e82c) #4 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #5 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7574: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec2f08685c n/a (radeonsi_dri.so + 0x8685c) #3 0x00007bec2f09e82c n/a (radeonsi_dri.so + 0x9e82c) #4 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #5 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7576: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec2f08685c n/a (radeonsi_dri.so + 0x8685c) #3 0x00007bec2f09e82c n/a (radeonsi_dri.so + 0x9e82c) #4 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #5 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7578: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec2f08685c n/a (radeonsi_dri.so + 0x8685c) #3 0x00007bec2f09e82c n/a (radeonsi_dri.so + 0x9e82c) #4 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #5 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) Stack trace of thread 7577: #0 0x00007bec5caa5ebe n/a (libc.so.6 + 0x87ebe) #1 0x00007bec5caa8750 pthread_cond_wait (libc.so.6 + 0x8a750) #2 0x00007bec2f08685c n/a (radeonsi_dri.so + 0x8685c) #3 0x00007bec2f09e82c n/a (radeonsi_dri.so + 0x9e82c) #4 0x00007bec5caa955a n/a (libc.so.6 + 0x8b55a) #5 0x00007bec5cb26a3c n/a (libc.so.6 + 0x108a3c) ELF object binary architecture: AMD x86-64
*** This bug has been marked as a duplicate of bug 481977 ***
As mentioned in Bug 481977, replacing libva-vdpau-driver with libva-nvidia-driver helped me with this issue.