Bug 488846

Summary: Plasma shell freezes and consumes all ram when dismissing notifications one by one
Product: [Plasma] plasmashell Reporter: Marcelo Bossoni <mmbossoni>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: major CC: ahiemstra, akselmo, kde, nate
Priority: NOR    
Version: 6.1.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=486743
Latest Commit: Version Fixed In:
Attachments: state plasma was frozen
coredump after attaching to plasmashell when it got stuck

Description Marcelo Bossoni 2024-06-20 22:55:29 UTC
Created attachment 170714 [details]
state plasma was frozen

SUMMARY
This is somewhat the same as https://bugs.kde.org/show_bug.cgi?id=460895, but this is happening on plasma 6.1 and happens when I dismiss notifications one by one
In this case my notification had a button in it, so maybe the fix of 460895 didn't apply to buttons?

STEPS TO REPRODUCE
1. Have a lot of notifications (usually I have the ones from kdeconnect from my phone)
2. Dismiss notifications one by one

OBSERVED RESULT
Upon dismissing the last one sometimes plasma shell freezes and start consuming my ram

EXPECTED RESULT
Notification panel is closed normally

SOFTWARE/OS VERSIONS
Operating System: Nobara Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.8.12-201.fsync.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT

ADDITIONAL INFORMATION
This also happens on Arch with plasma 6.1
Comment 1 Nate Graham 2024-06-20 23:15:30 UTC
Can't reproduce this one myself on Fedora 40 KDE with Qt 6.7.1 and all KDE software built from source. Potentially related to Bug 486743.
Comment 2 Marcelo Bossoni 2024-06-23 22:18:20 UTC
Created attachment 170883 [details]
coredump after attaching to plasmashell when it got stuck

Added a backtrace of all threads when issue happened.
As a bit more info:
I have a left side floating panel, with dodge windows to hide it and size of the panel is to wrap to content (and not fill the screen)
Dunno if it is something related to panel hiding when hiding the last notification or not.
Hope this helps
Comment 3 Akseli Lahtinen 2024-06-24 09:14:58 UTC
I don't spot any obvious KDE code related issues, possibly upstream/Qt bug?
Comment 4 Marcelo Bossoni 2024-06-24 18:06:33 UTC
I still have the 16gb process dump generated by gdb in case you need any more info.