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

everflux 653327 at bugs.launchpad.net
Mon Oct 4 21:21:32 UTC 2010


I really would like to, but even though I searched I could not identify the offending image.
>From the stacktrace when run with "-v" it looks like f-spot DOES detect that the meta data looks bogus, but then does not handle the situation fully:

$ f-spot -verbose
[Info  01:02:03.718] Initializing Mono.Addins
[Warn  01:02:06.365] Metadata of file file:///.,,/DSCN0140-1.jpg may be corrupt, refusing to write to it, falling back to XMP sidecar.
Exception in Gtk# callback delegate....

then removing the file stated above:

$ f-spot -verbose
[Info  01:05:21.965] Initializing Mono.Addins
Exception in Gtk# callback delegate...

I could not triage which image/database entry leads to the crash, while
the above mentioned image imported cleanly on a separate machine. (All
machines running maverick 10.10, current f-spot)

-- 
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