After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657180 - tomboy blocks shutdown
tomboy blocks shutdown
Status: RESOLVED NOTGNOME
Product: tomboy
Classification: Applications
Component: General
1.7.x
Other Linux
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-23 17:23 UTC by Julian Taylor
Modified: 2011-12-20 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julian Taylor 2011-08-23 17:23:18 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
Comment 1 Evan Broder 2011-09-27 16:44:22 UTC
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.
Comment 2 Christopher Halse Rogers 2011-10-04 05:59:47 UTC
This turns out to be a bug in dbus-sharp, which is fixed in trunk: https://github.com/mono/dbus-sharp/issues/8
Comment 3 Jared Jennings 2011-12-20 14:33:15 UTC
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