Bug 485271

Summary: plasmashell crashes in wl_abort() with interaction to the panel ("Tried to add event to destroyed queue")
Product: [Plasma] plasmashell Reporter: Catty Steve <cattysteve89265>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, niccolo.venerandi
Priority: NOR    
Version: 6.0.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: full trace log
debug info from kwin
Full trace log, updated.

Description Catty Steve 2024-04-09 12:09:06 UTC
SUMMARY
plasmashell crashes after clicking on icon, clicking on built-in widgets (like network or battery) and sometimes without interaction.

STEPS TO REPRODUCE
1. Click on icon or widgets several times.

OBSERVED RESULT
Crashes.

EXPECTED RESULT
Doesn't crash.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.4-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics
Memory: 13.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82QF
System Version: Yoga 14c ARB7

ADDITIONAL INFORMATION
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007d64e8aab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007d64e8a5a6c8 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007d64eb7aa43f in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kcrash/kcrash-6.0.0/src/kcrash.cpp:586
#4  0x00007d64e8a5a770 in <signal handler called> () at /usr/lib/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007d64e8aab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007d64e8a5a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007d64e8a424b8 in __GI_abort () at abort.c:79
#9  0x00007d64eb8374f2 in wl_abort (fmt=fmt@entry=0x7d64eb83c6d8 "Tried to add event to destroyed queue\n")
    at ../wayland-1.22.0/src/wayland-util.c:462
#10 0x00007d64eb8397e2 in queue_event (len=<optimized out>, display=0x633ad13d1e60) at ../wayland-1.22.0/src/wayland-client.c:1575
#11 read_events (display=0x633ad13d1e60) at ../wayland-1.22.0/src/wayland-client.c:1670
#12 wl_display_read_events (display=0x633ad13d1e60) at ../wayland-1.22.0/src/wayland-client.c:1753
#13 0x00007d64ead7eb40 in QtWaylandClient::EventThread::run (this=0x633ad13d0780)
    at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.3/src/client/qwaylanddisplay.cpp:193
#14 0x00007d64e92a15d3 in operator() (__closure=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.3/src/corelib/thread/qthread_unix.cpp:324
#15 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.3/src/corelib/thread/qthread_unix.cpp:260
#16 QThreadPrivate::start (arg=0x633ad13d0780)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.3/src/corelib/thread/qthread_unix.cpp:283
#17 0x00007d64e8aa955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#18 0x00007d64e8b26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 1 Nate Graham 2024-04-09 15:07:15 UTC
Looks exactly like Bug 482754. Have you by any chance forced the system to render with Vulkan? If you're not sure, can you attach the full backtrace with all threads so I can see for myself.
Comment 2 Catty Steve 2024-04-10 00:17:56 UTC
Created attachment 168321 [details]
full trace log

This is the full backtrace log for /usr/bin/plasmashell.
Comment 3 Catty Steve 2024-04-10 00:22:03 UTC
Created attachment 168322 [details]
debug info from kwin
Comment 4 Catty Steve 2024-04-10 00:40:39 UTC
Created attachment 168323 [details]
Full trace log, updated.

full trace log for /usr/bin/plasmashell
Comment 5 Catty Steve 2024-04-11 11:12:37 UTC
Trace log attached.
Maybe I need to change the bug status manually?
Comment 6 Nate Graham 2024-04-11 19:37:09 UTC
Yup, it's Bug 482754, thanks. I see Vulkan stuff in the trace.

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