Comment 16 for bug 971353

Revision history for this message
Michael Terry (mterry) wrote :

OK, I think I know why this is happening, though I can't reproduce myself. I have uploaded gnome-settings-daemon 3.4.2-0ubuntu12 to quantal-proposed. I'd really appreciate testing by those that get this crash. I'm confident, but not certain I've got the right fix.

[Gory details if you happen to know the code] The idletime signals are firing after the power manager is stopped. idletime is a singleton that hands out references to itself every time it is 'created'. And stop() is expecting a mere unref() to disconnect the signals. But it doesn't if idletime has been reffed more times. So this patch manually disconnect the signals we set up.