Bug 465516 - kwin-wayland crash Failed to recreate shadow for PlasmaQuick
Summary: kwin-wayland crash Failed to recreate shadow for PlasmaQuick
Status: RESOLVED BACKTRACE
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.26.90
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2023-02-09 18:21 UTC by Pawel
Modified: 2023-07-06 12:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gdb dump (10.53 KB, text/plain)
2023-02-09 18:26 UTC, Pawel
Details
gdb wayland kwin (8.59 KB, text/plain)
2023-04-05 18:44 UTC, Pawel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel 2023-02-09 18:21:27 UTC
Seems to have been random - no dump was generated. coredumpctl shows the below:

Thu 2023-02-09 19:13:48 CET   1745 1000 1000 SIGABRT inaccessible /usr/bin/kwin_wayland                                           -

the journal is showing the below:

Feb 09 19:14:06 arch-Bednar plasmashell[54631]: trying to show an empty dialog
Feb 09 19:14:06 arch-Bednar plasmashell[54631]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:61:17: Unable to assign [undefined] to int
Feb 09 19:14:08 arch-Bednar plasmashell[54631]: org.kde.kf5.kwindowsystem.kwayland: Failed to recreate shadow for PlasmaQuick::Dialog(0x562495619b10, name="popupWindow")

Operating System: Arch Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT

I am not sure if the titular Failed to recreate shadow for PlasmaQuick has anything to do with this. 

What I did notice though was that when kwin recovered, all windows and applications were killed and had to be restarted.
Comment 1 Pawel 2023-02-09 18:26:57 UTC
Created attachment 156107 [details]
gdb dump

apparently I needed root to access the file.

attaching what I got
Comment 2 Vlad Zahorodnii 2023-02-10 08:56:19 UTC
"Failed to recreate shadow for" can be printed for various reasons by plasmashell. If kwin crashes, we need a backtrace of the crash; otherwise the crash is inactionable.
Comment 3 Thomas Craig Dodson 2023-02-16 06:09:57 UTC
Comment on attachment 156107 [details]
gdb dump


Webpage not available
The webpage at https://bugsfiles.kde.org/attachment.cgi?id=156107 could not be loaded because:

net::ERR_BLOCKED_BY_RESPONSE
Comment 4 Bug Janitor Service 2023-03-03 03:45:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-03-18 03:45:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 Pawel 2023-04-05 18:44:35 UTC
Created attachment 157881 [details]
gdb wayland kwin

Reopening as this crash happened earlier today. This time thee was nothing about failing to  recreate shadow for PlasmaQuick.

I have a backtrace but it appears useless and I am noticing a strange pattern. Whenever this crash occurs,

> $ coredumpctl list --reverse                                                                                                                                                                                                                          

shows the backtrace of kwin_wayland is "inaccesible".  Executing the above command with su privileges, I do get the attached.

Any ideas?
Comment 7 David Edmundson 2023-07-06 12:36:13 UTC
It's missing symbols for the most relevant part.

It mentions spa

which could mean it's the known (and fixed) pipewire crash