Bug 2232207

Summary: plasmashell sometimes crashes when clicking on Notifications
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: plasma-desktopAssignee: KDE SIG <kde-sig>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: hygorhernane, jgrulich, kde-sig, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2023-08-15 18:23:16 UTC
openQA is showing that plasmashell sometimes crashes when we open the "Status and Notifications" pane and click "Notifications", e.g. here:

https://openqa.fedoraproject.org/tests/2073354

if you watch the video - https://openqa.fedoraproject.org/tests/2073354/video?filename=video.ogv&t=51.08,51.12 carefully, around the 11:30:36 mark, you can see the test clicks Notifications, and the entire desktop briefly goes black while the shell reloads. In the system logs we see this:

Aug 15 08:30:34 localhost-live plasmashell[1795]: trying to show an empty dialog
Aug 15 08:30:34 localhost-live plasmashell[1795]: trying to show an empty dialog
Aug 15 08:30:34 localhost-live plasmashell[1795]: trying to show an empty dialog
Aug 15 08:30:35 localhost-live plasmashell[1795]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Aug 15 08:30:35 localhost-live plasmashell[1795]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Aug 15 08:30:35 localhost-live plasmashell[1795]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Aug 15 08:30:35 localhost-live plasmashell[1795]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Aug 15 08:30:37 localhost-live plasmashell[1795]: KCrash: Application 'plasmashell' crashing...
Aug 15 08:30:37 localhost-live plasmashell[1795]: The Wayland connection experienced a fatal error: Bad file descriptor
Aug 15 08:30:37 localhost-live systemd[1448]: plasma-plasmashell.service: Main process exited, code=exited, status=1/FAILURE
Aug 15 08:30:37 localhost-live systemd[1448]: plasma-plasmashell.service: Failed with result 'exit-code'.
Aug 15 08:30:37 localhost-live systemd[1448]: plasma-plasmashell.service: Consumed 15.842s CPU time.
Aug 15 08:30:37 localhost-live systemd[1448]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 1.
Aug 15 08:30:37 localhost-live systemd[1448]: Starting plasma-plasmashell.service - KDE Plasma Workspace...

(the timestamp difference is just a timezone thing). Not sure how to get better details on the crash, please advise.

Reproducible: Sometimes

Steps to Reproduce:
1. Boot a Fedora 39 or Rawhide KDE live image
2. Wait ten minutes (probably not necessary, but openQA does this)
3. Click the up-arrow thingy in the bottom right pane to open the "Status and Notifications" pane
4. Click "Notifications"
Actual Results:  
Desktop briefly goes black then reloads, you never actually get where clicking "Notifications" should have taken you

Expected Results:  
Clicking "Notifications" should work as expected

Comment 1 Fedora Release Engineering 2023-08-16 08:08:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.