Bug 483481

Summary: Plasma can be DDOSed by applications sending too many notifications in short intervals
Product: [Plasma] plasmashell Reporter: Janet Blackquill <uhhadd>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: major CC: kde, nate, trenazery.g0xi11a
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Other   
See Also: https://bugs.kde.org/show_bug.cgi?id=441906
https://bugs.kde.org/show_bug.cgi?id=486070
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Janet Blackquill 2024-03-13 20:04:42 UTC
Title is somewhat self-explanatory. If an application sends too many notifications in a short interval, Plasma becomes unresponsive as it processes the notification deluge. While undoubtetly an application programming error, Plasma should be robust against this.

A simple while loop in bash can replicate this:
```
while true; do
  echo "^G" # this is BEL and it needs to be inputted as ctrl+v ctrl+g
done
```
and switch to another tab in Konsole. (notify-send will trigger the "too many same notifications" error.)

If you're curious, the application on my system that results in this is sbt.
Comment 1 Nate Graham 2025-03-29 16:49:44 UTC
*** Bug 496605 has been marked as a duplicate of this bug. ***