GNOME Bugzilla – Bug 345920
Meta browsing on deleted file crashes f-spot
Last modified: 2006-06-28 13:21:05 UTC
Distribution: Ubuntu 6.06 (dapper) Package: f-spot Severity: Normal Version: GNOME2.14.2 0.1.11 Gnome-Distributor: Ubuntu Synopsis: Meta browsing on deleted file crashes f-spot Bugzilla-Product: f-spot Bugzilla-Component: General Bugzilla-Version: 0.1.11 BugBuddy-GnomeVersion: 2.0 (2.14.1) Description: Description of the crash: A image was deleted from the harddrive. The tumbnail is still shown in f-spot, and when I tried to look at its meta data (Ctrl+I) f-spot crashed. Additional Information: An unhandled exception was thrown: Object reference not set to an instance of an object in <0x0000c> FSpot.Tiff.TiffFile:Select (StatementSink sink) in <0x00820> FSpot.InfoDisplay:Update () in <0x0007e> FSpot.InfoDisplay:set_Photo (IBrowsableItem value) in <0x00105> MainWindow:HandleViewFullExif (System.Object sender, System.EventArgs args) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch) in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) in <0x00000> <unknown method> in (wrapper managed-to-native) Gtk.Application:gtk_main () in <0x00007> Gtk.Application:Run () in <0x00007> Gnome.Program:Run () in <0x00542> FSpot.Driver:Main (System.String[] args) .NET Version: 1.1.4322.2032 Assembly Version Information: FlickrNet (1.1.0.0) System.Web (1.0.5000.0) gconf-sharp (2.8.0.0) pango-sharp (2.8.0.0) SemWeb (0.5.0.2) glade-sharp (2.8.0.0) gtkhtml-sharp (2.8.0.0) System.Data (1.0.5000.0) Mono.Data.SqliteClient (1.0.5000.0) gdk-sharp (2.8.0.0) Mono.Posix (1.0.5000.0) gnome-vfs-sharp (2.8.0.0) dbus-sharp (0.60.0.0) System (1.0.5000.0) atk-sharp (2.8.0.0) gtk-sharp (2.8.0.0) glib-sharp (2.8.0.0) gnome-sharp (2.8.0.0) f-spot (0.0.0.0) mscorlib (1.0.5000.0) Platform Information: Linux 2.6.15-25-686 i686 unknown GNU/Linux Disribution Information: [/etc/debian_version] testing/unstable [/etc/lsb-release] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=6.06 DISTRIB_CODENAME=dapper DISTRIB_DESCRIPTION="Ubuntu 6.06 LTS" Debugging Information: Backtrace was generated from '/usr/bin/f-spot' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1213179584 (LWP 24142)] [New Thread -1260053584 (LWP 24147)] [New Thread -1259000912 (LWP 24146)] [New Thread -1223062608 (LWP 24144)] [New Thread -1209144400 (LWP 24143)] (no debugging symbols found) 0xffffe410 in __kernel_vsyscall ()
+ Trace 69061
Thread 1 (Thread -1213179584 (LWP 24142))
------- Bug created by bug-buddy at 2006-06-26 01:10 -------
Related information in bug #167752 (Behaviour if images no longer on disk) But, not sure it is a duplicate though... no crash is reported in the other bug.
Anders, I think this might already be solved in version 1.33 of src/InfoDisplay.cs; both in the HEAD and in the f_spot_0_1 branch. see http://cvs.gnome.org/viewcvs/f-spot/src/InfoDisplay.cs?r1=1.32&r2=1.33 for a diff. Could you test this and confirm? The f_spot_0_1 is your ubuntu 0.1.11 version plus some bugfixes.
I tested HEAD and that works fine. If I try to show meta data for a deleted image I'll just get a dialog saying "image no longer exists". I guess this one can be closed.
thanks for testing this fix.