Bug 468893

Summary: Crashes on Wayland when closing Xwayland-bridge notification
Product: [Unmaintained] lattedock Reporter: Michał Dybczak <michal.dybczak>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: latte-dock-20230424-081400.kcrash

Description Michał Dybczak 2023-04-24 06:58:37 UTC
Created attachment 158380 [details]
latte-dock-20230424-081400.kcrash

SUMMARY
***
Latte sometimes crashes (not always reproducible) when closing notification of Xwayland-bridge app. Possibly it can crash when closing any notification that shows after the system boot.
***


STEPS TO REPRODUCE
1. Install xwayland-bridge app
2. Put the default .desktop file from this app to autostart
3. Boot the OS
4. A visual Plasma notification shows up - close it.

OBSERVED RESULT
Latte sometimes crashes (not always reproducible) when closing notification of Xwayland-bridge app. Sometimes it restarts, sometimes it is not. It started happening pretty recently, so some update must have changed it, because earlier, for weeks there has been no crash after closing Xwayland-bridge notification. And no, I can't turn off the notification. The .desktop file has a line about no notification, and yet it still shows up - that's an issue with the xwayland-bridge app.

EXPECTED RESULT
Plasma notification is closed and latte doesn't crash.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.12-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Alienware
Product Name: Alienware 17 R3
System Version: 1.13.1

ADDITIONAL INFORMATION

I'm attaching crash info with debug codes. Hopefully this has a helpful info. If not, I can try to re-compile with debug codes and try it again, if the crash happens.

Latte is installed from AUR as latte-dock-git and was re-compiled a few days ago, but the bug showed up prior to that (although the latte was restarting then).

I'm not sure, if that is caused by Xwayland-bridge app or by any Plasma notification, because this app notification shows up right after the system starts, and doesn't go away, so the first action after system boot is to close the notification. It is possible that the crash would happen if other app would have such notification.