GNOME Bugzilla – Bug 611540
f-spot crashes without loading
Last modified: 2012-08-28 03:27:26 UTC
version of Ubuntu: karmic Programme attempts to load and crashes with the following output from the terminal: desktop:~$ f-spot (/usr/lib/f-spot/f-spot.exe:6770): GLib-WARNING **: g_set_prgname() called multiple times [Info 01:41:14.251] Initializing DBus [Info 01:41:14.431] Initializing Mono.Addins [Info 01:41:14.680] Starting new FSpot server (f-spot 0.6.1.5) ** (/usr/lib/f-spot/f-spot.exe:6770): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:6770): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:6770): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:6770): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:6770): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed [Info 01:41:16.114] Starting BeagleService [Info 01:41:16.144] Hack for gnome-settings-daemon engaged (/usr/lib/f-spot/f-spot.exe:6770): 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. The program '/usr/lib/f-spot/f-spot.exe' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 3655 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
Could you please run f-spot --debug from terminal and provide the output, tia.
Hi, I'm also having this problem. Here goes the output of the program with --debug: ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** (/usr/lib/f-spot/f-spot.exe:3287): GLib-WARNING **: g_set_prgname() called multiple times [Info 20:47:37.721] Initializing DBus [Debug 20:47:37.920] DBusInitialization took 0.181226s [Info 20:47:37.920] Initializing Mono.Addins [Debug 20:47:38.209] Mono.Addins Initialization took 0.288733s [Info 20:47:38.218] Starting new FSpot server (f-spot 0.6.1.5) [Debug 20:47:38.431] Db Initialization took 0.137838s ** (/usr/lib/f-spot/f-spot.exe:3287): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:3287): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:3287): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:3287): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed ** (/usr/lib/f-spot/f-spot.exe:3287): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed [Debug 20:47:38.869] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 20:47:38.874] QueryToTemp took 0.004975s : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 20:47:38.874] Reloading the query took 0.010401s [Debug 20:47:39.153] PhotosPerMonth took 0.016932s [Debug 20:47:39.156] TimeAdaptor REAL Reload took 0.229575s [Debug 20:47:39.323] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 20:47:39.326] QueryToTemp took 0.002606s : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 20:47:39.405] Reloading the query took 0.083031s [Debug 20:47:39.411] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 20:47:39.413] QueryToTemp took 0.002488s : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 20:47:39.437] Reloading the query took 0.027052s [Info 20:47:39.443] Starting BeagleService [Debug 20:47:39.444] BeagleService startup took 1.7E-05s [Info 20:47:39.486] Hack for gnome-settings-daemon engaged (/usr/lib/f-spot/f-spot.exe:3287): 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. [Debug 20:47:39.546] PhotosPerMonth took 0.010623s [Debug 20:47:39.546] TimeAdaptor REAL Reload took 0.132544s [Debug 20:47:39.644] PhotosPerMonth took 0.023109s [Debug 20:47:39.644] TimeAdaptor REAL Reload took 0.230265s The program '/usr/lib/f-spot/f-spot.exe' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 3347 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Hope this helps. Cheers
Features - nice to have Automatic face tagging - just like in iPhoto.
Etienne: please comment on the proper bug *** This bug has been marked as a duplicate of bug 600349 ***
F-spot starts then crashes while scrolling through thumbnails
SEE DEBUG FOLLOWING: f-spot --debug ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 15:26:20.855] Initializing Mono.Addins [1 Debug 15:26:21.212] Mono.Addins Initialization took 0.2976 [1 Debug 15:26:21.692] Db Initialization took 0.169297 [1 Debug 15:26:22.281] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 15:26:22.293] QueryToTemp took 0.011928 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 15:26:22.293] Reloading the query took 0.018153 [2 Debug 15:26:22.565] PhotosPerMonth took 0.022498 [2 Debug 15:26:22.568] TimeAdaptor REAL Reload took 0.23942 [1 Debug 15:26:22.682] Query took 0.031895 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 15:26:22.874] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 15:26:22.888] QueryToTemp took 0.014046 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 15:26:22.953] Query took 0.024549 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [3 Debug 15:26:23.147] PhotosPerMonth took 0.027677 [3 Debug 15:26:23.148] TimeAdaptor REAL Reload took 0.256423 [1 Debug 15:26:23.210] open uri = file:///home/rick/Pictures/Photos/2011/03/27/ssss.JPG [1 Debug 15:26:23.263] Reloading the query took 0.390492 [1 Debug 15:26:24.144] Loading image took 1.187074 Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.NullReferenceException: Object reference not set to an instance of an object at FSpot.Widgets.ImageView.ComputeScaledSize () [0x00000] in <filename unknown>:0 at FSpot.Widgets.ImageView.OnSizeAllocated (Rectangle allocation) [0x00000] in <filename unknown>:0 at Gtk.Widget.sizeallocated_cb (IntPtr widget, IntPtr allocation) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at Gtk.Widget.sizeallocated_cb(IntPtr widget, IntPtr allocation) at Gtk.Application.gtk_main() at Gtk.Application.Run() at FSpot.Driver.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args)
f-spot --debug ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 16:50:15.468] Initializing Mono.Addins [1 Debug 16:50:15.602] Mono.Addins Initialization took 0.122257 [1 Debug 16:50:15.793] Db Initialization took 0.044572 [1 Debug 16:50:16.072] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 16:50:16.123] QueryToTemp took 0.050395 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 16:50:16.123] Reloading the query took 0.053162 [1 Debug 16:50:16.221] Query took 0.00752 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 16:50:16.240] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time ASC, filename ASC [1 Debug 16:50:16.292] QueryToTemp took 0.051429 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time ASC, filename ASC [1 Debug 16:50:16.301] Query took 0.004207 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 16:50:16.337] Invalid thumbnail, reloading: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [1 Debug 16:50:16.355] Loading of metadata failed for file: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg, trying extension fallback [1 Debug 16:50:16.356] Loading of metadata failed for file: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [1 Warn 16:50:16.360] Caught an exception - TagLib.CorruptFileException: Expected SOI marker at the start of the file. (in `TagLib') at TagLib.Jpeg.File.ValidateHeader () [0x00000] in <filename unknown>:0 at TagLib.Jpeg.File.Read (ReadStyle propertiesStyle) [0x00000] in <filename unknown>:0 at TagLib.Jpeg.File..ctor (IFileAbstraction abstraction, ReadStyle propertiesStyle) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [1 Debug 16:50:16.360] open uri = file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [1 Debug 16:50:16.368] Reloading the query took 0.128417 [2 Debug 16:50:16.388] PhotosPerMonth took 0.048858 [2 Debug 16:50:16.389] TimeAdaptor REAL Reload took 0.09601 [1 Debug 16:50:16.408] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time ASC, filename ASC [1 Debug 16:50:16.457] QueryToTemp took 0.048342 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time ASC, filename ASC [1 Debug 16:50:16.465] IndexOf took 0.001256 : SELECT ROWID AS row_id FROM photoquery_temp_0 WHERE id = 6078 [1 Debug 16:50:16.465] Reloading the query took 0.05668 [3 Debug 16:50:16.537] PhotosPerMonth took 0.0404 [1 Debug 16:50:16.537] Query took 0.00836 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [3 Debug 16:50:16.537] TimeAdaptor REAL Reload took 0.0802 [4 Debug 16:50:16.540] Invalid thumbnail, reloading: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [4 Debug 16:50:16.541] Loading of metadata failed for file: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg, trying extension fallback [4 Debug 16:50:16.541] Loading of metadata failed for file: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [4 Warn 16:50:16.542] Caught an exception - TagLib.CorruptFileException: Expected SOI marker at the start of the file. (in `TagLib') at TagLib.Jpeg.File.ValidateHeader () [0x00000] in <filename unknown>:0 at TagLib.Jpeg.File.Read (ReadStyle propertiesStyle) [0x00000] in <filename unknown>:0 at TagLib.Jpeg.File..ctor (IFileAbstraction abstraction, ReadStyle propertiesStyle) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [4 Debug 16:50:16.542] open uri = file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [4 Debug 16:50:16.543] Failed loading image for thumbnailing: file:///home/pdc/Pictures/Photos/1/01/01/img_0528-1.jpg [4 Warn 16:50:16.544] Caught an exception - GLib.GException: Unrecognized image file format (in `gdk-sharp') at Gdk.PixbufLoader.Write (System.Byte[] buf, UInt64 count) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.Write (System.Byte[] bytes, UInt32 count) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.LoadFromStream (System.IO.Stream input) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.InitFromStream (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at FSpot.Imaging.BaseImageFile.Load () [0x00000] in <filename unknown>:0 at FSpot.Driver.<Main>m__4F (Hyena.SafeUri uri) [0x00000] in <filename unknown>:0 at FSpot.Utils.XdgThumbnailSpec.CreateFrom (Hyena.SafeUri uri, Hyena.SafeUri thumb_uri, ThumbnailSize size, FSpot.Utils.PixbufLoader loader) [0x00000] in <filename unknown>:0 [4 Debug 16:50:16.554] Invalid thumbnail, reloading: file:///home/pdc/Pictures/Photos/2005/07/26/img_0001.jpg [1 Debug 16:50:16.582] Query took 0.002306 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 100 [4 Debug 16:50:16.582] open uri = file:///home/pdc/Pictures/Photos/2005/07/26/img_0001.jpg Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: Parameters describe an unrepresentable DateTime. at System.DateTime..ctor (Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond) [0x00000] in <filename unknown>:0 at System.DateTime..ctor (Int32 year, Int32 month, Int32 day) [0x00000] in <filename unknown>:0 at FSpot.TimeAdaptor.DateFromIndexAscending (Int32 item) [0x00000] in <filename unknown>:0 at FSpot.TimeAdaptor.DateFromIndex (Int32 item) [0x00000] in <filename unknown>:0 at FSpot.TimeAdaptor.TickLabel (Int32 item) [0x00000] in <filename unknown>:0 at FSpot.GroupSelector.HandleAdaptorChanged (FSpot.GroupAdaptor adaptor) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) FSpot.GroupAdaptor/ChangedHandler:invoke_void__this___GroupAdaptor (FSpot.GroupAdaptor) at FSpot.TimeAdaptor+<DoReload>c__AnonStorey19.<>m__6B () [0x00000] in <filename unknown>:0 at FSpot.Driver+<RunIdle>c__AnonStorey11.<>m__50 () [0x00000] in <filename unknown>:0 at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Idle+IdleProxy.Handler() at Gtk.Application.gtk_main() at Gtk.Application.Run() at FSpot.Driver.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args)