[ubuntu-mono] [Bug 373202] Re: When no photos are displayed, clicking on timeline crashes f-spot

David Gibson launchpad at gibson.dropbear.id.au
Thu May 14 15:08:47 BST 2009


Sorry I haven't done this sooner; I've been sidetracked by other things.

This recipe crashes it for me:
  1. Start without pre-existing f-spot configuration (no ~/Photos, ~/.gnome2/f-spot or ~/.gconf/apps/f-spot directory).
  2. Start f-spot
  3. In the import dialog which appears, select a directory with some images and import them.
  4. Click the close button in the search bar thingy (the brown bar where it says "import roll")
  5. Double-click a tag which has no photos (none of the photos I imported had any tags so this was trivial)
  6. Maximise the window
  7. Click in the timeline pane.

At this point f-spot seems to crash reliably for me.  If I leave out
step (6), it doesn't always seem to crash, however it also doesn't seem
to respond at all to the click in the timeline pane and clicking there
repeatedly does generally seem to crash it.

Running the above recipe starting f-spot from a terminal, I get these
messages:

mulberryst:~$ rm -r .gconf/apps/f-spot/ .gnome2/f-spot/ Photos/
rm: cannot remove `.gconf/apps/f-spot/': No such file or directory
mulberryst:~$ f-spot
[Info  00:04:44.459] Initializing DBus
[Info  00:04:44.566] Initializing Mono.Addins
[Info  00:04:46.181] Starting new FSpot server
item ImportCommand+SourceItem
cleanup context
cleanup context

(f-spot:5935): 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.
Stopping
[Info  00:05:03.237] Starting BeagleService
[Info  00:05:03.237] Hack for gnome-settings-daemon engaged
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IndexOutOfRangeException: Array index is out of range.
  at FSpot.PhotoQuery+PhotoCache.Get (Int32 index) [0x00000] 
  at FSpot.PhotoQuery.get_Item (Int32 index) [0x00000] 
  at FSpot.PhotoQuery.LookupItem (DateTime date, Boolean asc) [0x00000] 
  at FSpot.PhotoQuery.LookupItem (DateTime date) [0x00000] 
  at FSpot.TimeAdaptor.SetGlass (Int32 min) [0x00000] 
  at FSpot.GroupSelector+Glass.PositionChanged () [0x00000] 
  at FSpot.GroupSelector+Manipulator.SetPosition (Int32 position, Boolean update) [0x00000] 
  at FSpot.GroupSelector+Manipulator.SetPosition (Int32 position) [0x00000] 
  at FSpot.GroupSelector.OnButtonPressEvent (Gdk.EventButton args) [0x00000] 
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)

-- 
When no photos are displayed, clicking on timeline crashes f-spot
https://bugs.launchpad.net/bugs/373202
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to f-spot in ubuntu.



More information about the Ubuntu-mono mailing list