System.InvalidCastException: Cannot cast from source type to destination type. at FSpot.SingleView+PreferenceDialog.LoadPreference (System.String key) [0x00000] at FSpot.SingleView+PreferenceDialog..ctor () [0x00000] at FSpot.SingleView+PreferenceDialog.Show () [0x00000] at FSpot.SingleView.HandlePreferences (System.Object sender, System.EventArgs args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Gnome.Program.Run () [0x00000] at FSpot.Driver.Main (System.String[] args) [0x00000] ================================================================= 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) GLib.Signal.g_signal_get_invocation_hint (intptr) <0x00004> at (wrapper managed-to-native) GLib.Signal.g_signal_get_invocation_hint (intptr) <0xffffffff> at GLib.Signal.get_Handler () <0x0001c> at GLib.Signal.voidObjectCallback (intptr,intptr) <0x00060> at (wrapper native-to-managed) GLib.Signal.voidObjectCallback (intptr,intptr) <0xffffffff> at (wrapper managed-to-native) Gtk.Object.gtk_object_destroy (intptr) <0x00004> at (wrapper managed-to-native) Gtk.Object.gtk_object_destroy (intptr) <0xffffffff> at Gtk.Object.Destroy () <0x0001a> at Gtk.Widget.Destroy () <0x0000d> at FSpot.Driver.Main (string[]) <0x0068e> at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: f-spot [0x8159fdd] f-spot [0x8124718] [0xffffe440] [0xb4153ab6] [0xb4153a05] [0xb4155da1] [0xb4d50ede] /opt/gnome2.18/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49) [0xb63a8239] /opt/gnome2.18/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0xb639aeab] /opt/gnome2.18/lib/libgobject-2.0.so.0 [0xb63ab591] /opt/gnome2.18/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0xb63ac7c7] /opt/gnome2.18/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb63ac989] /opt/gnome2.18/lib/libgtk-x11-2.0.so.0 [0xb6871241] /opt/gnome2.18/lib/libgtk-x11-2.0.so.0 [0xb696bcd1] /opt/gnome2.18/lib/libgtk-x11-2.0.so.0 [0xb6977f96] /opt/gnome2.18/lib/libgobject-2.0.so.0(g_object_run_dispose+0x50) [0xb639d540] /opt/gnome2.18/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x7e) [0xb6870f4e] [0xb3d9cb75] [0xb3d9cb2b] [0xb3d9cb06] [0xb738357f] [0xb7382063] f-spot(mono_runtime_exec_main+0x62) [0x80935f2] f-spot(mono_runtime_run_main+0x1b9) [0x80938d9] f-spot(mono_main+0xe41) [0x8058de1] f-spot [0x8057ab2] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7dce8cc] f-spot [0x8057a01] Debug info from gdb: Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1210353984 (LWP 18117)] [New Thread -1274942560 (LWP 18125)] [New Thread -1261163616 (LWP 18124)] [New Thread -1221067872 (LWP 18119)] [New Thread -1215325280 (LWP 18118)] 0xffffe410 in __kernel_vsyscall () 5 Thread -1215325280 (LWP 18118) 0xffffe410 in __kernel_vsyscall () 4 Thread -1221067872 (LWP 18119) 0xffffe410 in __kernel_vsyscall () 3 Thread -1261163616 (LWP 18124) 0xffffe410 in __kernel_vsyscall () 2 Thread -1274942560 (LWP 18125) 0xffffe410 in __kernel_vsyscall () 1 Thread -1210353984 (LWP 18117) 0xffffe410 in __kernel_vsyscall () Thread 5 (Thread -1215325280 (LWP 18118)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f1ebf6 in __nanosleep_nocancel () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x080f7254 in collection_thread (unused=0x0) at collection.c:34 #3 0xb7f18504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #4 0xb7e8651e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread -1221067872 (LWP 18119)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f1b816 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x080f9ebf in timedwait_signal_poll_cond (cond=0xb78651dc, mutex=0xb78651c4, timeout=0x0, alertable=0) at handles.c:1409 #3 0x080fc6df in _wapi_handle_timedwait_signal_handle (handle=0x404, timeout=0x0, alertable=0) at handles.c:1489 #4 0x080fc75c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0) at handles.c:1449 #5 0x0810bccf in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, alertable=0) at wait.c:200 #6 0x080a938a in finalizer_thread (unused=0x0) at gc.c:816 #7 0x080c3634 in start_wrapper (data=0x82941e8) at threads.c:312 #8 0x0810aa7e in thread_start_routine (args=0xb7715e88) at threads.c:253 #9 0x08121145 in GC_start_routine (arg=0x824cf40) at pthread_support.c:1357 #10 0xb7f18504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb7e8651e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread -1261163616 (LWP 18124)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f1ba8c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x080f9e7a in timedwait_signal_poll_cond (cond=0xb7865758, mutex=0xb7865740, timeout=0x0, alertable=1) at handles.c:1419 #3 0x080fc6df in _wapi_handle_timedwait_signal_handle (handle=0x411, timeout=0x0, alertable=1) at handles.c:1489 #4 0x080fc75c in _wapi_handle_wait_signal_handle (handle=0x411, alertable=1) at handles.c:1449 #5 0x0810bccf in WaitForSingleObjectEx (handle=0x411, timeout=4294967295, alertable=1) at wait.c:200 #6 0x080c04ad in ves_icall_System_Threading_Monitor_Monitor_wait ( obj=0x83667e0, ms=4294967295) at monitor.c:787 #7 0xb4d4e5aa in ?? () #8 0x083667e0 in ?? () #9 0xffffffff in ?? () #10 0x08715878 in ?? () #11 0x08715878 in ?? () #12 0x08366708 in ?? () #13 0x00000000 in ?? () Thread 2 (Thread -1274942560 (LWP 18125)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f1ba8c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x080f9e7a in timedwait_signal_poll_cond (cond=0xb78657c4, mutex=0xb78657ac, timeout=0x0, alertable=1) at handles.c:1419 #3 0x080fc6df in _wapi_handle_timedwait_signal_handle (handle=0x412, timeout=0x0, alertable=1) at handles.c:1489 #4 0x080fc75c in _wapi_handle_wait_signal_handle (handle=0x412, alertable=1) at handles.c:1449 #5 0x0810bccf in WaitForSingleObjectEx (handle=0x412, timeout=4294967295, alertable=1) at wait.c:200 #6 0x080c04ad in ves_icall_System_Threading_Monitor_Monitor_wait ( obj=0x85c0230, ms=4294967295) at monitor.c:787 #7 0xb4d4e5aa in ?? () #8 0x085c0230 in ?? () #9 0xffffffff in ?? () #10 0x08beec48 in ?? () #11 0x08beec48 in ?? () #12 0x00683d70 in ?? () #13 0x0885b4b0 in ?? () #14 0x085c0230 in ?? () #15 0x00000001 in ?? () #16 0xb401e2c0 in ?? () #17 0xb4d4e584 in ?? () #18 0xb401e2d8 in ?? () #19 0xb4d4e47e in ?? () #20 0x085c0230 in ?? () #21 0xffffffff in ?? () #22 0x08738d00 in ?? () #23 0x0885b4b0 in ?? () #24 0xb401e318 in ?? () #25 0xb4150486 in ?? () #26 0x085c0230 in ?? () #27 0x0085b4b0 in ?? () #28 0x00000000 in ?? () Thread 1 (Thread -1210353984 (LWP 18117)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e7f321 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7f85c70 in IA__g_spawn_sync (working_directory=0x0, argv=0x8c6c398, envp=0x0, flags=G_SPAWN_SEARCH_PATH, child_setup=0, user_data=0x0, standard_output=0xbf8bcb94, standard_error=0xbf8bcb90, exit_status=0xbf8bcb8c, error=0x0) at gspawn.c:284 #3 0xb7f8603c in IA__g_spawn_command_line_sync ( command_line=0xbf8bcb98 "gdb --ex 'attach 18117' --ex 'info threads' --ex 'thread apply all bt' --batch", standard_output=0xbf8bcb94, standard_error=0xbf8bcb90, exit_status=0xbf8bcb8c, error=0x0) at gspawn.c:652 #4 0x0815a078 in mono_handle_native_sigsegv (signal=11, ctx=0xbf8bd05c) at mini-exceptions.c:1073 #5 0x08124718 in sigsegv_signal_handler (_dummy=11, info=0xbf8bcfdc, context=0xbf8bd05c) at mini.c:10767 #6 #7 IA__g_signal_get_invocation_hint (instance=0x8cd88b8) at gsignal.c:683 #8 0xb4153ab6 in ?? () #9 0x08cd88b8 in ?? () #10 0x00000000 in ?? () #0 0xffffe410 in __kernel_vsyscall () Aborted (core dumped)