[ubuntu-mono] [Bug 653327] Re: f-spot crashes when image has wrong date

Guillaume Lanquepin-Chesnais 653327 at bugs.launchpad.net
Sat Oct 9 13:42:21 BST 2010


I get similary errors when I import picture. First, when I import:

[1 Debug 14:32:09.604] Received controller event: ImportFinished
Marshaling destroy 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.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.Widgets.CollectionGridView.OnDestroyed () [0x00000] in <filename unknown>:0 
  at Gtk.Object.NativeDestroy (System.Object o, 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.Object.gtk_object_destroy(IntPtr )
   at Gtk.Object.Destroy()
   at Gtk.Widget.Destroy()
   at FSpot.UI.Dialog.ImportDialog.OnControllerStatusEvent(ImportEvent evnt)
   at FSpot.Import.ImportController+ImportEventHandler.invoke_void__this___ImportEvent(ImportEvent )
   at FSpot.Import.ImportController+<FireEvent>c__AnonStorey8.<>m__24()
   at FSpot.Driver+<RunIdle>c__AnonStorey11.<>m__50()
   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)

Then when I run after import:

[1 Info  14:33:10.650] Initializing Mono.Addins
[1 Debug 14:33:10.874] Mono.Addins Initialization took 0,205211
[1 Debug 14:33:11.324] Db Initialization took 0,204318
[1 Debug 14:33:11.838] 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 14:33:11.955] QueryToTemp took 0,116788 : 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 14:33:11.955] Reloading the query took 0,120919
[2 Debug 14:33:12.250] PhotosPerMonth took 0,055398
[2 Debug 14:33:12.258] TimeAdaptor REAL Reload took 0,278713
[1 Debug 14:33:12.266] Query took 0,027232 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 14:33:12.394] 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 14:33:12.527] QueryToTemp took 0,133033 : 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 14:33:12.549] Query took 0,002065 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 14:33:12.691] open uri = file:///home/guyome/Images/Photos/2010/10/03/cover-1-2.png
[1 Debug 14:33:12.708] Reloading the query took 0,314935
[3 Debug 14:33:12.805] PhotosPerMonth took 0,071873
[3 Debug 14:33:12.805] TimeAdaptor REAL Reload took 0,275702
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.DaysInMonth (Int32 year, Int32 month) [0x00000] in <filename unknown>:0 
  at FSpot.TimeAdaptor.DateFromIndexDescending (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)

And, it crashes directly after. Then, I removed the currupted files and
I get:

[1 Info  14:41:26.885] Initializing Mono.Addins
[1 Debug 14:41:27.098] Mono.Addins Initialization took 0,196232
[1 Debug 14:41:27.534] Db Initialization took 0,210955
[1 Debug 14:41:28.043] 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 14:41:28.165] QueryToTemp took 0,121976 : 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 14:41:28.165] Reloading the query took 0,126874
[2 Debug 14:41:28.455] PhotosPerMonth took 0,055726
[2 Debug 14:41:28.467] TimeAdaptor REAL Reload took 0,282792
[1 Debug 14:41:28.477] Query took 0,029277 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 14:41:28.600] 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 14:41:28.736] QueryToTemp took 0,136004 : 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 14:41:28.757] Query took 0,001979 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 14:41:28.904] open uri = file:///home/guyome/Images/Photos/2010/10/03/cover-1-2.png
[1 Debug 14:41:28.920] Reloading the query took 0,321117
[3 Debug 14:41:29.002] PhotosPerMonth took 0,060203
[3 Debug 14:41:29.003] TimeAdaptor REAL Reload took 0,264217
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.DaysInMonth (Int32 year, Int32 month) [0x00000] in <filename unknown>:0 
  at FSpot.TimeAdaptor.DateFromIndexDescending (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)
[4 Debug 14:41:29.431] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.437] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.437] Finalizer called on FSpot.Core.Tag. Should be Disposed
[4 Debug 14:41:29.437] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.438] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.438] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.438] Finalizer called on FSpot.Utils.DisposableCache`2[Hyena.SafeUri,Gdk.Pixbuf]. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.441] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.442] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.443] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.443] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.443] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.443] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.443] Finalizer called on FSpot.Core.Category. Should be Disposed
[4 Debug 14:41:29.444] Finalizer called on FSpot.Utils.DisposableCache`2[System.String,Gdk.Pixbuf]. Should be Disposed
[4 Debug 14:41:29.449] Finalizer called on FSpot.Database.Db. Should be Disposed
[4 Debug 14:41:29.450] Finalizer called on FSpot.Widgets.Filmstrip. Should be Disposed
[4 Debug 14:41:29.451] Finalizer called on FSpot.PhotoView. Should be Disposed

-- 
f-spot crashes when image has wrong date
https://bugs.launchpad.net/bugs/653327
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in ubuntu.

Status in “f-spot” package in Ubuntu: Incomplete

Bug description:
Binary package hint: f-spot

f-spot crashes when the gallery contains an image which has an invalid date. f-spot can not be started / crashes on each start.
This should be handled and not result in an application crash.

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.DaysInMonth (Int32 year, Int32 month) [0x00000] in <filename unknown>:0 
  at FSpot.TimeAdaptor.DateFromIndexDescending (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)





More information about the Ubuntu-mono mailing list