Bug 197315 - knotify4 slows down when flooding with messages
Summary: knotify4 slows down when flooding with messages
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knotify (show other bugs)
Version: 4.2
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-20 21:31 UTC by Bob K
Modified: 2013-11-05 12:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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