Bug 497169

Summary: [Wayland] Frequent plasmashell crashes
Product: [Plasma] plasmashell Reporter: smow <smowtenshi>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: nicolas.fella
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: plasmashell segmentation fault backtrace

Description smow 2024-12-07 16:38:39 UTC
Created attachment 176418 [details]
plasmashell segmentation fault backtrace

SUMMARY
For at least a month I've been observing plasmashell crashes and until a few days ago I was convinced they're related to https://bugs.kde.org/show_bug.cgi?id=492606 (and its duplicates), but even though I'm now running Qt 6.8.1, those crashes still happen. I'm not entirely sure whether this my bug report is related or a duplicate to that closed one, or actually any recent generic-crash entry, and I don't want to mess anything up by posting unrelated backtrace. Other bug reports I found similar are listed below this report. Attached backtrace is made with instructions from https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Procedure_gdb_and_debuginfod.

STEPS TO REPRODUCE
I'm not sure it can be easily reproduced. Most of the times the crash occurs on hovering over Panel with Task Manager or System Tray entries, but today it happened after minimizing an app. The other day it crashed when I was running a fullscreen program with Wine.

OBSERVED RESULT
plasmashell is automatically restarted after the crash but grouped tasks aren't displayed properly (missing "+" symbol) and some workspace elements seem to be otherwise broken (eg. KRunner logs "qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x57fbe8a2fcf0" to the journal).

EXPECTED RESULT
No crashes.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.12.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 47.0 GB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

ADDITIONAL INFORMATION
- https://bugs.kde.org/show_bug.cgi?id=496823
- https://bugs.kde.org/show_bug.cgi?id=497010
- https://bugs.kde.org/show_bug.cgi?id=493660
- https://bugs.kde.org/show_bug.cgi?id=497003
Comment 1 Nicolas Fella 2024-12-08 12:24:52 UTC
This is a bug in the Nvidia driver, see https://github.com/NVIDIA/egl-wayland/pull/153