f-spot crash with System.ArgumentNullException when deleting a photo

Bug #290654 reported by Lorenco Trichardt
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
Medium
f-spot (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

[Info 12:50:50.371] Initializing DBus
[Info 12:50:50.542] Initializing Mono.Addins
[Info 12:50:50.764] Starting new FSpot server
[Info 12:50:52.767] Starting DBusService
[Info 12:50:52.778] Starting BeagleService
[Info 12:50:52.778] Hack for gnome-settings-daemon engaged

(f-spot:13328): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
System.ArgumentException: length
  at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000]
  at FSpot.Tiff.CFAPattern..ctor (System.Byte[] raw_data, Boolean little) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
System.ArgumentException: length
  at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000]
  at FSpot.Tiff.CFAPattern..ctor (System.Byte[] raw_data, Boolean little) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
System.ArgumentException: length
  at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000]
  at FSpot.Tiff.CFAPattern..ctor (System.Byte[] raw_data, Boolean little) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
System.IO.FileNotFoundException: Could not find uri "file:///media/data/mydocs/pics/Photos/2008/10/03/dsc_0076.nef".
  at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000]
  at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000]
  at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode)
  at FSpot.ImageFile.Open () [0x00000]
  at FSpot.Tiff.TiffFile..ctor (System.Uri uri) [0x00000]
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.Tiff.TiffFile.GetOrientation () [0x00000]
  at FSpot.ImageFile.get_Orientation () [0x00000]
  at FSpot.AsyncPixbufLoader.Load (System.Uri uri) [0x00000]
  at FSpot.PhotoImageView.PhotoItemChanged (FSpot.BrowsablePointer item, FSpot.BrowsablePointerChangedArgs args) [0x00000]
System.IO.FileNotFoundException: Could not find uri "file:///media/data/mydocs/pics/Photos/2008/10/03/dsc_0076.nef".
  at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000]
  at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000]
  at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode)
  at FSpot.ImageFile.Open () [0x00000]
  at FSpot.Tiff.TiffFile..ctor (System.Uri uri) [0x00000]
System.IO.FileNotFoundException: Could not find uri "file:///media/data/mydocs/pics/Photos/2008/10/03/dsc_0076.nef".
  at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000]
  at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000]
  at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode)
  at FSpot.ImageFile.Open () [0x00000]
  at FSpot.Tiff.TiffFile..ctor (System.Uri uri) [0x00000]
System.IO.FileNotFoundException: Could not find uri "file:///media/data/mydocs/pics/Photos/2008/10/03/dsc_0076.nef".
  at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000]
  at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000]
  at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode)
  at FSpot.ImageFile.Open () [0x00000]
  at FSpot.Tiff.TiffFile..ctor (System.Uri uri) [0x00000]
/media/data/mydocs/pics/Photos/2008/10/03/dsc_0076.nef: No such file or directory
Count is greater than 1 (2) on Subdirectory SubIFDs interesting
Stacktrace:

  at (wrapper managed-to-native) Exif.ExifData.exif_data_unref (System.Runtime.InteropServices.HandleRef) <0x00004>
  at (wrapper managed-to-native) Exif.ExifData.exif_data_unref (System.Runtime.InteropServices.HandleRef) <0xffffffff>
  at Exif.ExifData.Cleanup () <0x0004c>
  at Exif.ExifObject.Dispose () <0x0000b>
  at FSpot.Widgets.MetadataDisplayWidget.set_Photo (FSpot.IBrowsableItem) <0x00022>
  at FSpot.Widgets.MetadataDisplayWidget.HandleSelectionChanged (FSpot.IBrowsableCollection) <0x00040>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_IBrowsableCollection (FSpot.IBrowsableCollection) <0xffffffff>
  at FSpot.Widgets.Sidebar.HandleSelectionChanged (FSpot.IBrowsableCollection) <0x00028>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_IBrowsableCollection (FSpot.IBrowsableCollection) <0x00056>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_IBrowsableCollection (FSpot.IBrowsableCollection) <0xffffffff>
  at MainSelection.HandlePhotoChanged (FSpot.PhotoView) <0x00020>
  at FSpot.PhotoView.HandlePhotoChanged (FSpot.PhotoImageView) <0x0007b>
  at FSpot.PhotoImageView.PhotoItemChanged (FSpot.BrowsablePointer,FSpot.BrowsablePointerChangedArgs) <0x0046e>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_BrowsablePointer_BrowsablePointerChangedArgs (FSpot.BrowsablePointer,FSpot.BrowsablePointerChangedArgs) <0xffffffff>
  at FSpot.BrowsablePointer.SetIndex (int,FSpot.IBrowsableItemChanges) <0x00069>
  at FSpot.BrowsablePointer.SetIndex (int) <0x0000f>
  at FSpot.BrowsablePointer.HandleCollectionChanged (FSpot.IBrowsableCollection) <0x000c5>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_IBrowsableCollection (FSpot.IBrowsableCollection) <0x00056>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_IBrowsableCollection (FSpot.IBrowsableCollection) <0xffffffff>
  at FSpot.PhotoQuery.RequestReload () <0x0018c>
  at MainWindow.UpdateQuery () <0x00070>
  at MainWindow.HandleDeleteCommand (object,System.EventArgs) <0x00243>
  at FSpot.Extensions.Delete.Run (object,System.EventArgs) <0x00017>
  at FSpot.Extensions.CommandMenuItemNode.OnActivated (object,System.EventArgs) <0x000aa>
  at GLib.Signal.voidObjectCallback (intptr,intptr) <0x000da>
  at (wrapper native-to-managed) GLib.Signal.voidObjectCallback (intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x00007>
  at Gnome.Program.Run () <0x00007>
  at FSpot.Driver.Main (string[]) <0x015ec>
  at (wrapper runtime-invoke) FSpot.Driver.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

 f-spot [0x817b4ae]
 f-spot [0x807f78b]
 [0xb7f91410]
 [0xb33138e4]
 [0xb33138a5]
 [0xb331384c]
 [0xb332f813]
 [0xb332f7c9]
 [0xb332f317]
 [0xb332f351]
 [0xb332f2f8]
 [0xb332f317]
 [0xb3313741]
 [0xb3312c0c]
 [0xb3310d07]
 [0xb3310887]
 [0xb3cd7402]
 [0xb3cd7380]
 [0xb32e1ffe]
 [0xb332f2f8]
 [0xb332f317]
 [0xb32e1db5]
 [0xb32e1c01]
 [0xb32e3334]
 [0xb32e30d8]
 [0xb32e03f3]
 [0xb3cdbcdb]
 [0xb3e17be0]
 /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x84) [0xb62993d4]
 /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab) [0xb628bc4b]
 /usr/lib/libgobject-2.0.so.0 [0xb62a25d8]
 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7dc) [0xb62a37ac]
 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26) [0xb62a3c26]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x87) [0xb6703477]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0x120) [0xb65f5f70]
 /usr/lib/libgtk-x11-2.0.so.0 [0xb65f7b4d]
 /usr/lib/libgtk-x11-2.0.so.0 [0xb65ee4fb]
 /usr/lib/libgtk-x11-2.0.so.0 [0xb65e8036]
 /usr/lib/libgobject-2.0.so.0 [0xb628a3c9]
 /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab) [0xb628bc4b]
 /usr/lib/libgobject-2.0.so.0 [0xb62a1d3d]
 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x65b) [0xb62a362b]
 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26) [0xb62a3c26]
 /usr/lib/libgtk-x11-2.0.so.0 [0xb66fd33e]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xec) [0xb65e0b4c]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2e7) [0xb65e1ef7]
 /usr/lib/libgdk-x11-2.0.so.0 [0xb647850a]
 /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8) [0xb7ed46f8]
 /usr/lib/libglib-2.0.so.0 [0xb7ed7da3]
 /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1d2) [0xb7ed82c2]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9) [0xb65e23a9]
 [0xb3cbc8a6]
 [0xb3cbc870]
 [0xb3cbc858]
 [0xb75e1dfd]
 [0xb75e01c4]
 f-spot(mono_runtime_exec_main+0xf7) [0x809cbb7]
 f-spot(mono_runtime_run_main+0x16b) [0x809d19b]
 f-spot(mono_main+0x60e) [0x805af2e]
 f-spot [0x805a432]
 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7d10685]
 f-spot [0x805a371]

Debug info from gdb:

(no debugging symbols found)
(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 0xb7cce6d0 (LWP 13328)]
[New Thread 0xb36ffb90 (LWP 13407)]
[New Thread 0xb34fdb90 (LWP 13340)]
[New Thread 0xb35feb90 (LWP 13339)]
[New Thread 0xb4035b90 (LWP 13334)]
[New Thread 0xb7058b90 (LWP 13330)]
[New Thread 0xb7f65b90 (LWP 13329)]
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7f91430 in __kernel_vsyscall ()
  7 Thread 0xb7f65b90 (LWP 13329) 0xb7f91430 in __kernel_vsyscall ()
  6 Thread 0xb7058b90 (LWP 13330) 0xb7f91430 in __kernel_vsyscall ()
  5 Thread 0xb4035b90 (LWP 13334) 0xb7f91430 in __kernel_vsyscall ()
  4 Thread 0xb35feb90 (LWP 13339) 0xb7f91430 in __kernel_vsyscall ()
  3 Thread 0xb34fdb90 (LWP 13340) 0xb7f91430 in __kernel_vsyscall ()
  2 Thread 0xb36ffb90 (LWP 13407) 0xb5843567 in ?? ()
  1 Thread 0xb7cce6d0 (LWP 13328) 0xb7f91430 in __kernel_vsyscall ()

Thread 7 (Thread 0xb7f65b90 (LWP 13329)):
#0 0xb7f91430 in __kernel_vsyscall ()
#1 0xb7e8b906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08110fc8 in ?? ()
#3 0xb7e8450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7ddb7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb7058b90 (LWP 13330)):
#0 0xb7f91430 in __kernel_vsyscall ()
#1 0xb7e88075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081143b7 in ?? ()
#3 0x081169ec in ?? ()
#4 0x08116a2c in ?? ()
#5 0x0812962a in ?? ()
#6 0x080b5c1a in ?? ()
#7 0x080d5f74 in ?? ()
#8 0x081279de in ?? ()
#9 0x0813ff75 in ?? ()
#10 0xb7e8450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7ddb7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb4035b90 (LWP 13334)):
#0 0xb7f91430 in __kernel_vsyscall ()
#1 0xb7de9d43 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d6ee61 in ?? () from /lib/tls/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb35feb90 (LWP 13339)):
#0 0xb7f91430 in __kernel_vsyscall ()
#1 0xb7e883a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08114368 in ?? ()
#3 0x081169ec in ?? ()
#4 0x08116a2c in ?? ()
#5 0x0812962a in ?? ()
#6 0x080d1821 in ?? ()
#7 0xb3cd21aa in ?? ()
#8 0xb3cd1f86 in ?? ()
#9 0xb3cd1e78 in ?? ()
#10 0xb5a1a829 in ?? ()
#11 0x08098c55 in mono_runtime_delegate_invoke ()
#12 0x080d5fdf in ?? ()
#13 0x081279de in ?? ()
#14 0x0813ff75 in ?? ()
#15 0xb7e8450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb7ddb7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb34fdb90 (LWP 13340)):
#0 0xb7f91430 in __kernel_vsyscall ()
#1 0xb7e883a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08114368 in ?? ()
#3 0x081169ec in ?? ()
#4 0x08116a2c in ?? ()
#5 0x0812962a in ?? ()
#6 0x080d1821 in ?? ()
#7 0xb3cd21aa in ?? ()
#8 0xb3cd1f86 in ?? ()
#9 0xb3cd206e in ?? ()
#10 0xb5a1a829 in ?? ()
#11 0x08098c55 in mono_runtime_delegate_invoke ()
#12 0x080d5fdf in ?? ()
#13 0x081279de in ?? ()
#14 0x0813ff75 in ?? ()
#15 0xb7e8450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb7ddb7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb36ffb90 (LWP 13407)):
#0 0xb5843567 in ?? ()
#1 0xb5847a82 in ?? ()
#2 0xb5847a26 in ?? ()
#3 0xb3cb366c in ?? ()
#4 0xb3ce0f83 in ?? ()
#5 0xb5a1a829 in ?? ()
#6 0x08098c55 in mono_runtime_delegate_invoke ()
#7 0x080d5fdf in ?? ()
#8 0x081279de in ?? ()
#9 0x0813ff75 in ?? ()
#10 0xb7e8450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7ddb7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7cce6d0 (LWP 13328)):
#0 0xb7f91430 in __kernel_vsyscall ()
#1 0xb7d96ed5 in fork () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e8d834 in fork () from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb7f0cd25 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0xb7f0d87b in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#5 0xb7f0dd3c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#6 0x0817b565 in ?? ()
#7 0x0807f78b in ?? ()
#8 <signal handler called>
#9 0xb3d0effc in exif_data_unref () from /usr/lib/libexif.so.12
#10 0xb33138e4 in ?? ()
#11 0xb33138a5 in ?? ()
#12 0xb331384c in ?? ()
#13 0xb332f813 in ?? ()
#14 0xb332f7c9 in ?? ()
#15 0xb332f317 in ?? ()
#16 0xb332f351 in ?? ()
#17 0xb332f2f8 in ?? ()
#18 0xb332f317 in ?? ()
#19 0xb3313741 in ?? ()
#20 0xb3312c0c in ?? ()
#21 0xb3310d07 in ?? ()
#22 0xb3310887 in ?? ()
#23 0xb3cd7402 in ?? ()
#24 0xb3cd7380 in ?? ()
#25 0xb32e1ffe in ?? ()
#26 0xb332f2f8 in ?? ()
#27 0xb332f317 in ?? ()
#28 0xb32e1db5 in ?? ()
#29 0xb32e1c01 in ?? ()
#30 0xb32e3334 in ?? ()
#31 0xb32e30d8 in ?? ()
#32 0xb32e03f3 in ?? ()
#33 0xb3cdbcdb in ?? ()
#34 0xb3e17be0 in ?? ()
#35 0xb62993d4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#36 0xb628bc4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#37 0xb62a25d8 in ?? () from /usr/lib/libgobject-2.0.so.0
#38 0xb62a37ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#39 0xb62a3c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#40 0xb6703477 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb65f5f70 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb65f7b4d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb65ee4fb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb65e8036 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb628a3c9 in ?? () from /usr/lib/libgobject-2.0.so.0
#46 0xb628bc4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#47 0xb62a1d3d in ?? () from /usr/lib/libgobject-2.0.so.0
#48 0xb62a362b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#49 0xb62a3c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#50 0xb66fd33e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#51 0xb65e0b4c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb65e1ef7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#53 0xb647850a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#54 0xb7ed46f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb7ed7da3 in ?? () from /usr/lib/libglib-2.0.so.0
#56 0xb7ed82c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#57 0xb65e23a9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#58 0xb3cbc8a6 in ?? ()
#59 0xb3cbc870 in ?? ()
#60 0xb3cbc858 in ?? ()
#61 0xb75e1dfd in ?? ()
#62 0xb75e01c4 in ?? ()
#63 0x0809cbb7 in mono_runtime_exec_main ()
#64 0x0809d19b in mono_runtime_run_main ()
#65 0x0805af2e in mono_main ()
#66 0x0805a432 in ?? ()
#67 0xb7d10685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#68 0x0805a371 in ?? ()
#0 0xb7f91430 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

Related branches

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, which version of f-spot are you running? may you tell us a few steps in order to reproduce the crash? thanks.

Changed in f-spot:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Lorenco Trichardt (trichalo) wrote :

Sorry should have added this :)
I am running Intrepid with f-spot 0.5.0.3

I happened to create somehow (?) more than one entry for the same Photo in the catalog maybe during initial import from old fspot and importing a directory....

If I delete one entry the other entry points to a non existing file. Trying to delete / open or remove the photo from catalog it crashes.

This did not happen every time and I managed to remove most of these empty entries.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?
 * Could you try on jaunty?

 This will help us to find and resolve the problem.

Revision history for this message
Lorenco Trichardt (trichalo) wrote :

All I can do at the moment is reproduce the following.

Make a selection (Like star rating 1 *)
Make sure that there is only one photo.

Then Open that photo in large (not thumbnail) mode
The right click and delete....

It dumps:
[Info 11:05:25.855] BaseDirectory is now /media/data/mydocs/pics/fspotdbs/all
[Info 11:05:25.864] Initializing DBus
[Info 11:05:26.094] Initializing Mono.Addins
[Info 11:05:27.085] Starting new FSpot server
get fences failed: -1
param: 6, val: 0
[Info 11:05:29.493] Starting DBusService
[Info 11:05:29.505] Starting BeagleService
[Info 11:05:29.506] Hack for gnome-settings-daemon engaged

(f-spot:14540): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
Syncing metadata to file...
old = "" new = "" heading = "ASCII"
value = 2009:04:26 16:03:34 len = 19
_:bnode506143744 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
_:bnode506143744 <http://www.w3.org/1999/02/22-rdf-syntax-ns#li> "SunSets" .
<http://fakebase.f-spot.org/internal/> <http://purl.org/dc/elements/1.1/subject> _:bnode506143744 .
<http://fakebase.f-spot.org/internal/> <http://ns.adobe.com/xap/1.0/Rating> "1" .
value = f-spot version 0.5.0.3 len = 22
value = 2009:05:03 11:05:59 len = 19
value = f-spot version 0.5.0.3 len = 22
value = 2009:05:03 11:06:00 len = 19
Saved 11900 bytes
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[System.Object,System.Object].set_Item (System.Object key, System.Object value) [0x00000]
  at FSpot.Utils.DisposableCache`2[System.String,Gdk.Pixbuf].Add (System.String key, Gdk.Pixbuf value) [0x00000]
  at FSpot.Widgets.Filmstrip.GetPixbuf (Int32 i, Boolean highlighted) [0x00000]
  at FSpot.Widgets.Filmstrip.GetPixbuf (Int32 i) [0x00000]
  at FSpot.Widgets.Filmstrip.OnExposeEvent (Gdk.EventExpose evnt) [0x00000]
  at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)

Hope this helps.

Revision history for this message
Lorenco Trichardt (trichalo) wrote :

BTW: This is the latest Jaunty Version.

Revision history for this message
Paul Larson (pwlars) wrote :

Confirming this bug exists, and is reproducible with the steps provided.

Changed in f-spot (Ubuntu):
status: Incomplete → Confirmed
Changed in f-spot:
status: Unknown → New
Paul Larson (pwlars)
summary: - f-spot crash if file no longer exsist
+ f-spot crash with System.ArgumentNullException when deleting a photo
Revision history for this message
fan (fbommeli) wrote :

Slight variation, I do not delete the picture, I only remove it from the catalog (The picture is not present)
But 2 pictures do have the same name. The first one was imported at the wrong location.

F-Spot does not crash every time, I must sometimes remove up to 5 pictures from the catalog before I got a crash.

Steps.
 1. Select a tag.
 2. Edit Image
     Important, I do not have the image present.
 3. Right click the picture
 4. Remove from Catalog
 5. Crash

F-Spot 0.5.0.3
Ubuntu 9.04

Revision history for this message
C de-Avillez (hggdh2) wrote :

Marking as triaged.

Changed in f-spot (Ubuntu):
status: Confirmed → Triaged
Changed in f-spot:
status: New → Invalid
Changed in f-spot:
status: Invalid → Unknown
Changed in f-spot:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package f-spot - 0.6.1.1-0ubuntu1

---------------
f-spot (0.6.1.1-0ubuntu1) karmic; urgency=low

  * Sync on debian with updated requirement to build on karmic
  * debian/control, debian/rules:
    - use a gnome-screensaver build-depends rather than a rules workaround

  [ Iain Lane ]
  * New Upstream Version 0.6.1.1 (LP: #418936)
    - some files were missing from the tarball
    - fix SendEmail for thunderbird3beta
  * New Upstream Version 0.6.1.0
    - fix some crashers
    - reduce the both the package size and installed size by a few Megs
    - works on gtk+ > 2.17
    - load .pcx files
    - extendable slideshow
    - ~30 bugs fixed
      + screensaver too fast (LP: #387656)
      + crash with ArgumentNullException when deleting a photo (LP: #290654)
      + Should remember "copy photos to Photos folder" setting (LP: #270238)
      + Crash when opening settings dialog (Closes: #531301)
    - updated translations
  * debian/patches/debian_link-system-flickrnet.patch,
    debian/patches/debian_link-system-gnome-keyring.patch
    debian/patches/debian_link-system-mono-addins.patch
    debian/patches/ubuntu_nofuse_fix_photo_import.patch: Update to apply cleanly
  * debian/patches/ubuntu_xdg-photo-dir.patch: Add new patch from Andrew
    Higginson, slightly modified, to default to update the user's default
    directory to XDG_PICTURES_DIR/Photos (localised) as the location to import
    pictures. Only applies to new users; existing users will see no change.
    (LP: #127315)
  * debian/rules: Remove leftover CDBS variables
  * debian/rules: Move f-spot-screensaver to /usr/lib/xscreensaver so it
    actually works. Previously it was installed in /usr/libexec and so was not
    found by gnome-screensaver. (Closes: #544204)
  * debian/control, debian_link-system-flickrnet.patch: Update flickrnet
    dependency to new ABI (Closes: #543803)
  * debian/control: Increase Standards-Version to 3.8.3, no changes required
  * debian/copyright: Update bundled library locations, point to versioned GPL
    and update FSF address

 -- Sebastien Bacher <email address hidden> Tue, 01 Sep 2009 21:37:53 +0200

Changed in f-spot (Ubuntu):
status: Triaged → Fix Released
Changed in f-spot:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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