GNOME Bugzilla – Bug 350463
tomboy crashes on startup initializing dbus
Last modified: 2008-02-26 20:50:42 UTC
Tomboy 0.3.9 crashes on startup on Mandriva Cooker with latest GNOME 2.15 and mono 2.1.16.1. This is the error message: NoteManager created with note path "/home/goetz/.tomboy". Trying Plugin: Evolution.dll ... EvolutionPlugin. Done. Trying Plugin: ExportToHTML.dll ... ExportToHTMLPlugin. Done. Trying Plugin: NoteOfTheDay.dll ... NoteOfTheDayPlugin. Done. Trying Plugin: PrintNotes.dll ... PrintPlugin. Done. Trying Plugin: StickyNoteImport.dll ... StickyNoteImporter. Done. ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: at (wrapper managed-to-native) DBus.Connection.dbus_connection_setup_with_g_main (intptr,intptr) <0x00004> at (wrapper managed-to-native) DBus.Connection.dbus_connection_setup_with_g_main (intptr,intptr) <0xffffffff> at DBus.Connection.SetupWithMain () <0x0001a> at DBus.Bus.GetBus (DBus.Bus/BusType) <0x00059> at DBus.Bus.GetSessionBus () <0x00009> at Tomboy.Tomboy.RegisterRemoteControl (Tomboy.NoteManager) <0x0001d> at Tomboy.Tomboy.Main (string[]) <0x000fc> at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono(mono_handle_native_sigsegv+0xed) [0x815485d] mono [0x8120dee] [0xbfffe440] /usr/lib/libdbus-glib-1.so.2(dbus_connection_setup_with_g_main+0x60) [0xb64c8830] [0xb5e89397] [0xb5e8934b] [0xb5e8821a] [0xb5e8818a] [0xb5e8801e] [0xb7a3ea4d] [0xb7a3e7c3] mono(mono_runtime_exec_main+0x66) [0x8098366] Abgebrochen If I disable dbus by running tomboy like this: DBUS_SESSION_BUS_ADDRESS="" tomboy it is working fine. I guess this is related to this bug: https://bugs.freedesktop.org/show_bug.cgi?id=7570 The previous tomboy version 0.3.5 using dbus-sharp 0.70 is working fine.
Same for me. I confirm.
Okay, I don't know if this is fixed, but can you please try out CVS and tell me if it crashes for you? I commited some fixes to HEAD for a bug related to the one you mention, which causes Tomboy to no longer crash for me. But it is still not receiving DBUS requests correctly. More poking...
I still have the problem in 20060810 CVS. The error message is exactly the same as above.
I have found the problem. The Tomboy.exe.config maps dbus-1 to libdbus-1.so.2, but I have dbus 0.91 and the still installed libdbus-1.so.2 and libdbus-glib-1.so.2 from dbus-glib 0.71 conflict. Patching the config file fixes this crash for me.
Thanks for tracking this down Götz. I've just bumped the required version of dbus to 0.90, and changed Tomboy.exe.config to use libdbus-1.so.3.
Please try out CVS, and let me know if this fixes the problem (it does for me).
Yes, CVS seems to work, thanks.