After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634930 - Scrolling down my database, F-spot crashes
Scrolling down my database, F-spot crashes
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: Browsing
WISHLIST
Other Linux
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-11-15 19:07 UTC by antti ahonen
Modified: 2018-07-01 09:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description antti ahonen 2010-11-15 19:07:27 UTC
I scroll down my database, when I get almost to the bottom, F-spot crashes. 

Seems to have something to do with addins, tried to remove those, but it did not work. 

Crashes also if I merge raw files. 

Here is what it says: 

antti@stealydan2:~$ f-spot
[Info  20:25:54.876] Initializing Mono.Addins

(f-spot:26742): 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.
Marshaling value_changed signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Something is horribly wrong, this should never happen: no default version!
  at FSpot.Photo.get_DefaultVersion () [0x00000] in <filename unknown>:0 
  at FSpot.Widgets.CollectionGridView.PreloadCell (Int32 cell_num) [0x00000] in <filename unknown>:0 
  at FSpot.Widgets.CellGridView.Preload (Rectangle area, Boolean back) [0x00000] in <filename unknown>:0 
  at FSpot.Widgets.CellGridView.PreloadRegion (Gdk.Region region, Int32 step) [0x00000] in <filename unknown>:0 
  at FSpot.Widgets.CellGridView.Scroll () [0x00000] in <filename unknown>:0 
  at FSpot.Widgets.CellGridView.HandleAdjustmentValueChanged (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   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)
antti@stealydan2:~$
Comment 1 antti ahonen 2010-11-15 19:10:26 UTC
Here is also stacktrace of Merge raw:

antti@stealydan2:~$ f-spot
[Info  15:53:58.030] Initializing Mono.Addins
[Warn  15:54:01.884] There's (maybe) something wrong with some of the installed extensions. You can try removing the directory addin-db-000 from ~/.config/f-spot/

(f-spot:15867): 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.

(f-spot:15867): Gtk-CRITICAL **: IA__gtk_style_detach: assertion `style->attach_count > 0' failed

(f-spot:15867): Gtk-CRITICAL **: IA__gtk_style_detach: assertion `style->attach_count > 0' failed
Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The comparer threw an exception. ---> System.Exception: Something is horribly wrong, this should never happen: no default version!
  at FSpot.Photo.get_DefaultVersion () [0x00000] in <filename unknown>:0 
  at FSpot.Core.IPhotoExtensions.CompareDefaultVersionUri (IPhoto photo1, IPhoto photo2) [0x00000] in <filename unknown>:0 
  at FSpot.Core.IPhotoComparer+CompareDirectory.Compare (IPhoto p1, IPhoto p2) [0x00000] in <filename unknown>:0 
  at System.Array.compare[IPhoto] (IPhoto value1, IPhoto value2, IComparer`1 comparer) [0x00000] in <filename unknown>:0 
  at System.Array.qsort[IPhoto,IPhoto] (FSpot.Core.IPhoto[] keys, FSpot.Core.IPhoto[] items, Int32 low0, Int32 high0, IComparer`1 comparer) [0x00000] in <filename unknown>:0 
  at System.Array.Sort[IPhoto,IPhoto] (FSpot.Core.IPhoto[] keys, FSpot.Core.IPhoto[] items, Int32 index, Int32 length, IComparer`1 comparer) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Array.Sort[IPhoto,IPhoto] (FSpot.Core.IPhoto[] keys, FSpot.Core.IPhoto[] items, Int32 index, Int32 length, IComparer`1 comparer) [0x00000] in <filename unknown>:0 
  at System.Array.Sort[IPhoto] (FSpot.Core.IPhoto[] array, IComparer`1 comparer) [0x00000] in <filename unknown>:0 
  at FSpot.Tools.RawPlusJpeg.RawPlusJpeg.Run (System.Object o, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at FSpot.Extensions.CommandMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   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)
Comment 2 antti ahonen 2010-11-15 20:02:34 UTC
Installed extensions are:
Change path
Develop in Ufraw
LiveWebGallery
Merge DB
RawPlusJPG
Retroactiveroll
Comment 3 antti ahonen 2010-11-15 21:20:35 UTC
I also noticed that if I limit the date to anything from 1970 or later it does not crash. When dates are not limited, or starting before 1970, it crashes. Is it possible that it could be crashing because some photos have faulty dates? 

All my digital photos are taken after 2000.
Comment 4 André Klapper 2018-07-01 09:05:14 UTC
f-spot is not under active development anymore, has not seen code changes for five years, and saw its last tarball release in the year 2010.
Its codebase has been archived: https://gitlab.gnome.org/Archive/f-spot/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.