mono based apps crash consistently

Bug #177945 reported by Khashayar Naderehvandi
4
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Several mono applications crash as of a few days back on Gutsy. Here's a few of the outputs I get when attempting to run some of them:

f-spot:
** (/usr/lib/f-spot/f-spot.exe:17800): WARNING **: The following assembly referenced from /usr/lib/f-spot/f-spot.exe could not be loaded:
     Assembly: NDesk.DBus (assemblyref_index=8)
     Version: 1.0.0.0
     Public Key: f6716e4f9b2ed099
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/f-spot).

** (/usr/lib/f-spot/f-spot.exe:17800): WARNING **: Could not load file or assembly 'NDesk.DBus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099' or one of its dependencies.
Stacktrace:

Native stacktrace:

        f-spot [0x8194ca6]
        f-spot [0x81770ed]
        [0xffffe440]
        f-spot(mono_object_new+0x18) [0x80b596a]
        f-spot(mono_exception_from_name_two_strings+0x44) [0x80f0a45]
        f-spot(mono_get_exception_file_not_found2+0x4f) [0x80f0b9c]
        f-spot [0x810f9a7]
        f-spot [0x811a390]
        f-spot(mono_class_vtable+0x181) [0x80b29b3]
        f-spot(mono_object_new+0x18) [0x80b596a]
        f-spot(mono_exception_from_name_two_strings+0x44) [0x80f0a45]
        f-spot(mono_get_exception_file_not_found2+0x4f) [0x80f0b9c]
        f-spot [0x810f9a7]
        f-spot [0x8176370]
        f-spot [0x817699e]
        f-spot [0x8176a98]
        f-spot [0x8176f2d]
        f-spot(mono_runtime_invoke+0x27) [0x80b0b2f]
        f-spot(mono_runtime_exec_main+0x142) [0x80b5383]
        f-spot(mono_runtime_run_main+0x27e) [0x80b5631]
        f-spot(mono_jit_exec+0xbd) [0x805a4cb]
        f-spot [0x805a5a8]
        f-spot(mono_main+0x1683) [0x805bdc9]
        f-spot [0x8059636]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0x4d898050]
        f-spot [0x80595b1]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208609072 (LWP 17800)]
[New Thread -1219937392 (LWP 17802)]
[New Thread -1214256240 (LWP 17801)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
  3 Thread -1214256240 (LWP 17801) 0xffffe410 in __kernel_vsyscall ()
  2 Thread -1219937392 (LWP 17802) 0xffffe410 in __kernel_vsyscall ()
  1 Thread -1208609072 (LWP 17800) 0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread -1214256240 (LWP 17801)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4da079f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811bc9f in ?? ()
#3 0xb79fe3ac in ?? ()
#4 0x00000000 in ?? ()

Thread 2 (Thread -1219937392 (LWP 17802)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4da04676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08120dde in ?? ()
#3 0xb797d1dc in ?? ()
#4 0xb797d1c4 in ?? ()
#5 0x4da02541 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x081210eb in ?? ()
#7 0xb797d1dc in ?? ()
#8 0xb797d1c4 in ?? ()
#9 0x00000000 in ?? ()

Thread 1 (Thread -1208609072 (LWP 17800)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4d94e2a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0x4db9b780 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3 0x4db9bb4c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#4 0x08194d84 in ?? ()
#5 0xb7e21844 in ?? ()
#6 0xb7e2182c in ?? ()
#7 0xb7e21828 in ?? ()
#8 0xb7e21824 in ?? ()
#9 0x00000000 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()

=================================================================
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.
=================================================================

Aborted (core dumped)

Tomboy:
[DEBUG]: NoteManager created with note path "/home/khashayar/.tomboy".
[INFO]: Initializing Mono.Addins
WARNING: Could not scan file: /usr/lib/tomboy/Tomboy.exe
WARNING: The add-in 'Tomboy.PrintNotesAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.FixedWidthAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.BugzillaAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.StickyNoteImportAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.BacklinksAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.ExportToHtmlAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.EvolutionAddin,0.1' is trying to extend '/Tomboy/NoteAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.NoteOfTheDayAddin,0.1' is trying to extend '/Tomboy/ApplicationAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.BugzillaAddin,0.1' is trying to extend '/Tomboy/AddinPreferences', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.NoteOfTheDayAddin,0.1' is trying to extend '/Tomboy/AddinPreferences', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.WebDavSyncServiceAddin,0.1' is trying to extend '/Tomboy/SyncServiceAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.FileSystemSyncServiceAddin,0.1' is trying to extend '/Tomboy/SyncServiceAddins', but there isn't any add-in defining this extension point
WARNING: The add-in 'Tomboy.SshSyncServiceAddin,0.1' is trying to extend '/Tomboy/SyncServiceAddins', but there isn't any add-in defining this extension point

Unhandled Exception: System.InvalidOperationException: Extension node not found in path: /Tomboy/ApplicationAddins
  at Mono.Addins.ExtensionContext.AddExtensionNodeHandler (System.String path, Mono.Addins.ExtensionNodeEventHandler handler) [0x00000]
  at Mono.Addins.AddinManager.AddExtensionNodeHandler (System.String path, Mono.Addins.ExtensionNodeEventHandler handler) [0x00000]
  at Tomboy.AddinManager.InitializeMonoAddins () [0x00000]
  at Tomboy.AddinManager..ctor (System.String tomboy_conf_dir) [0x00000]
  at Tomboy.NoteManager.CreateAddinManager () [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory, System.String backup_directory) [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory) [0x00000]
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000]

Please let me know what additional information I need to post.
The mono libraries I have installed are at version 1.2.4-6ubuntu6.1.

Thanks!

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Revision history for this message
Khashayar Naderehvandi (khashayar) wrote :

I don't see this problem anymore. I guess it's fixed with the current mono libs I'm running on hardy (although I no longer have the installation where I first saw this issue). I'm not sure if I should mark this as "fix released" or "invalid", so I'll leave that to a dev who knows more.

Regards,
K.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for following up. I'm closing this report due to your last comment. Don't hesitate to submit any new bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.