Bug 197315

Summary: knotify4 slows down when flooding with messages
Product: [Frameworks and Libraries] kdelibs Reporter: Bob K <metamorfozis>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED FIXED    
Severity: normal CC: MattFinn, plasma-bugs
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Bob K 2009-06-20 21:31:52 UTC
Version:            (using KDE 4.2.90)
Installed from:    Ubuntu Packages

If knotify4 (i hope this is the name of the app, correct me if not) receives a lot of messages, then the whole plasma-desktop freezes.

After i do:
$ killall plasma-desktop; plasma-desktop;
it starts up very slowly, and prints thousands of lines like this:
QGraphicsGridLayout::itemAt: invalid index 7                                                                                     
QGraphicsGridLayout::itemAt: invalid index 0                                                                                     
QGraphicsGridLayout::itemAt: invalid index 2                                                                                     
QGraphicsGridLayout::itemAt: invalid index 7                                                                                     
QGraphicsGridLayout::itemAt: invalid index 0                                                                                     
QGraphicsGridLayout::itemAt: invalid index 2                                                                                     
QGraphicsGridLayout::itemAt: invalid index 7         


I just notified (lol) it while getting a bug in networkmanager:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/389985
Comment 1 Murph Finnicum 2010-05-13 08:08:13 UTC
I got this. knotify4 shot up to 2GB+ of memory usage, X locked up.

Somebody ran this on from their ssh term

yes "blah" | write myusername

this triggered some infinitely many kde write daemon messages.

Perhaps there should be some flood limiting?
Comment 2 Bob K 2013-11-05 12:22:08 UTC
Tried with this :
#watch -n 0,1 "kdialog --passivepopup "thing" 3 --title TEST"
Seems to be okay.

Thanks