F-spot crashes when resizing the application window

Bug #2210 reported by Nathan Howell
4
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Fix Released
Medium
MOTU Mono Team

Bug Description

1. Launch f-spot (currently v0.1.1-2)
2. Resize the window
3. Watch it crash

Here's the exception:
Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
in <0x000c1> Pango.Context:GetMetrics (Pango.FontDescription desc, Pango.Language language)
in <0x00088> FSpot.GroupSelector:LegendHeight ()
in <0x0004f> FSpot.GroupSelector:OnSizeAllocated (Rectangle alloc)
in <0x00079> Gtk.Widget:sizeallocated_cb (IntPtr widget, Gdk.Rectangle allocation)
in (wrapper native-to-managed) Gtk.Widget:sizeallocated_cb (intptr,Gdk.Rectangle&)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00007> Gnome.Program:Run ()
in <0x0037b> Driver:Main (System.String[] args)

Revision history for this message
Andrew Mitchell (ajmitch) wrote :

This also occurs in 0.1.2, passing it on to upstream for comment

Changed in f-spot:
assignee: nobody → mono
Revision history for this message
Andrew Mitchell (ajmitch) wrote :

According to upstream, the bug may be in gtk#

Revision history for this message
Andrew Mitchell (ajmitch) wrote :

Fix is in GTK# SVN (rev. 50884), will test out backporting the patch

Revision history for this message
Sebastian Dröge (slomo) wrote :

Ok, fixed in the current gtk# version (2.3.91-0ubuntu4) which I uploaded a few minutes ago... reopen when the bug shows up again :)

Changed in f-spot:
status: New → Fixed
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.