About your test case:

 1. It uses threads with incorrect locking, see attached patch to fix
it;

 2. In my system, X is not frozen, just becomes very slow.  But the
program is asking for trouble by continually updating the status icon in
a while True: loop without even a pause for breath between each loop;

3. I am actually able to kill the program with a simple Ctrl-C,
evidencing that X is not completely frozen.

So perhaps this is just a performance issue wrt gtk status icons.  I see
no bug here, just a denial of service.  Or we could consider a gtk bug
for momentarily freezing an entire X session while a status icon is
being updated.


** Attachment added: "test case with thread safety fixed"
   http://launchpadlibrarian.net/26244131/p.diff

-- 
[Jaunty] alarm-clock causes screen to freeze
https://bugs.launchpad.net/bugs/321176
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygtk in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to