GNOME Bugzilla – Bug 657180
tomboy blocks shutdown
Last modified: 2011-12-20 14:33:15 UTC
shutdown or restart in ubuntu oneiric is blocked by tomboy. When shutting down one gets a "a program is still running" dialog. If one kills tomboy the logout continues. This appears to be an regression in 1.7. 1.6 is according to user reports not affected. Please see downstream bug https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/816950 ubuntu oneiric uses version 1.7.3-1ubuntu1 and mono 2.10.4-3
If you run with DBUS_VERBOSE=1, you can see that the DBus bindings are receiving the QueryEndSignal, but it's not getting passed onto tomboy's handler: evan@caron:~$ DBUS_VERBOSE=1 tomboy Warning: WriteBsdCred() failed; falling back to ordinary WriteCred() Warning: WriteBsdCred() failed; falling back to ordinary WriteCred() Warning: No signal handler for NameAcquired Warning: No signal handler for NameAcquired [INFO 11:52:53.993] Initializing Mono.Addins Warning: No signal handler for NameAcquired Warning: No signal handler for QueryEndSession Warning: No signal handler for CancelEndSession I don't know enough about Mono's event mechanisms or dbus-sharp's dispatch mechanisms to follow this any further, though.
This turns out to be a bug in dbus-sharp, which is fixed in trunk: https://github.com/mono/dbus-sharp/issues/8
I've tested by building out of the git repo and the issue is gone. The tarballs on the site look too old though, which means you have to build from the repo. Link for git https://github.com/mono/dbus-sharp.git