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 350463 - tomboy crashes on startup initializing dbus
tomboy crashes on startup initializing dbus
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-08 17:10 UTC by Götz Waschk
Modified: 2008-02-26 20:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Götz Waschk 2006-08-08 17:10:01 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.
Comment 1 Jerome Soyer 2006-08-09 07:25:12 UTC
Same for me. I confirm.
Comment 2 Alex Graveley 2006-08-09 19:21:53 UTC
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...
Comment 3 Götz Waschk 2006-08-10 05:52:58 UTC
I still have the problem in 20060810 CVS. The error message is exactly the same as above.
Comment 4 Götz Waschk 2006-08-16 08:34:50 UTC
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.
Comment 5 Alex Graveley 2006-08-16 09:27:58 UTC
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.
Comment 6 Alex Graveley 2006-08-16 09:29:11 UTC
Please try out CVS, and let me know if this fixes the problem (it does for me).
Comment 7 Götz Waschk 2006-08-16 10:11:43 UTC
Yes, CVS seems to work, thanks.