System.ArgumentOutOfRangeException on startup

Bug #716484 reported by Daniël van Eeden
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: f-spot

After importing a few directories with old photos f-spot crashed and it also crashes every time on startup.

dveeden@galaxy:~$ f-spot
[Info 16:35:11.174] Initializing Mono.Addins
[Warn 16:35:12.243] There's (maybe) something wrong with some of the installed extensions. You can try removing the directory addin-db-000 from ~/.config/f-spot/
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)
dveeden@galaxy:~$ ls ~/.config/f-spot/
addin-db-001 addins-setup.config photos.db repository-cache
dveeden@galaxy:~$ rm -rf ~/.config/f-spot/addin-db-001
dveeden@galaxy:~$ f-spot
[Info 16:36:26.046] Initializing Mono.Addins
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)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: f-spot 0.8.0-1
ProcVersionSignature: Ubuntu 2.6.35-26.46-generic 2.6.35.10
Uname: Linux 2.6.35-26-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Feb 10 16:37:14 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: f-spot

Revision history for this message
Daniël van Eeden (dveeden) wrote :
Revision history for this message
Daniël van Eeden (dveeden) wrote :
Download full text (5.3 KiB)

Debug info:

dveeden@galaxy:~$ f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug **
[1 Info 19:25:39.900] Initializing Mono.Addins
[1 Debug 19:25:40.201] Mono.Addins Initialization took 0.286591
[1 Debug 19:25:40.421] Db Initialization took 0.101696
[1 Debug 19:25:40.821] 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 19:25:40.881] QueryToTemp took 0.05998 : 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 19:25:40.884] Reloading the query took 0.064413
[1 Debug 19:25:41.045] Query took 0.012706 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 19:25:41.157] 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
[2 Debug 19:25:41.162] PhotosPerMonth took 0.046566
[2 Debug 19:25:41.164] TimeAdaptor REAL Reload took 0.262394
[1 Debug 19:25:41.219] QueryToTemp took 0.061867 : 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 19:25:41.238] Query took 0.002095 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 19:25:41.301] Invalid thumbnail, reloading: file:///home/dveeden/Pictures/Foto's/2011/02/10/100%25network.jpg
[1 Warn 19:25:41.307] Caught an exception - System.Exception: Unsupported image: file:///home/dveeden/Pictures/Foto's/2011/02/10/100%25network.jpg (in `f-spot')
  at FSpot.Imaging.ImageFile.Create (Hyena.SafeUri uri) [0x00000] in <filename unknown>:0
  at FSpot.Loaders.GdkImageLoader.Load (Hyena.SafeUri uri) [0x00000] in <filename unknown>:0
  at FSpot.Widgets.PhotoImageView.Load (Hyena.SafeUri uri) [0x00000] in <filename unknown>:0
  at FSpot.Widgets.PhotoImageView.HandlePhotoItemChanged (System.Object sender, FSpot.Core.BrowsablePointerChangedEventArgs args) [0x00000] in <filename unknown>:0
[3 Debug 19:25:41.473] PhotosPerMonth took 0.031768
[3 Debug 19:25:41.474] TimeAdaptor REAL Reload took 0.252415
[1 Debug 19:25:41.900] Reloading the query took 0.743711

(f-spot:11697): 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.
[4 Debug 19:25:42.067] Invalid thumbnail, reloading: file:///home/dveeden/Pictures/Foto's/2011/02/10/100%25network.jpg
[4 Debug 19:25:42.068] Failed loading image for thumbnailing: file:///home/dveeden/Pictures/Foto's/2011/02/10/100%25network.jpg
[4 Warn 19:25:42.069] Caught an exception - System.Exception: Unsupported image: file:///home/dveeden/Pictures/Foto's/2011/02/10/100%25network.jpg (in `f-spot')
  at FSpot.Imaging.ImageFile.Create (Hyena.SafeUri uri) [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) [0x000...

Read more...

Revision history for this message
B Bobo (yout-bobo123) wrote :

This looks like a bug. You may be able to workaround it by following the advice in the warning message you quoted above:

[Warn 16:35:12.243] There's (maybe) something wrong with some of the installed extensions.
You can try removing the directory addin-db-000 from ~/.config/f-spot/

tags: added: f-spot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.