f-spot crashes on startup when color management enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
F-Spot |
Fix Released
|
Critical
|
|||
f-spot (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: f-spot
1) Interpid, upgraded from Hardy on the release date, amd64
2) f-spot 0.5.0.3-0ubuntu2
3) f-spot starts with color managed display
4) When I enable color management from f-spot's preferences menu, f-spot won't start anymore. Starting it from a console gives
$ f-spot
[Info 17:33:27.950] Initializing DBus
[Info 17:33:28.056] Initializing Mono.Addins
[Info 17:33:28.418] Starting new FSpot server
error checking orientation
[Info 17:33:30.103] Starting BeagleService
[Info 17:33:30.103] Hack for gnome-settings-
(f-spot:7434): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_
error checking orientation
[Info 17:33:39.553] Exiting
rose@harper:~$ f-spot
[Info 17:33:41.237] Initializing DBus
[Info 17:33:41.323] Initializing Mono.Addins
[Info 17:33:41.455] Starting new FSpot server
error checking orientation
[Info 17:33:42.425] Starting BeagleService
[Info 17:33:42.425] Hack for gnome-settings-
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionM
System.
at TagSelectionWid
at GtkSharp.
at GLib.ExceptionM
at GtkSharp.
at GtkSharp.
at Gtk.Application
at Gtk.Application
at Gtk.Application
at Gnome.Program.Run()
at FSpot.Driver.
I can disable color management via gconf-editor and it starts flawlessly again.
==========
The impact of this bug is that if a user enables Color Management out of curiosity, F-Spot will not work next start next time they try to use it. Although the user can fix it by changing a gconf key, this will not be obvious to most users.
The bug has been addressed by backporting the patch from SVN. The crash is caused because a null check is performed on the wrong object, and the patch attached addresses this.
TEST CASE:
1) With F-Spot version 0.5.0.3-0ubuntu2, go to Edit -> Preferences and enable 'Color Management'.
2) Close F-Spot
3) Attempt to re-open F-Spot and notice that is crashes immediately.
4) Recover F-Spot by doing "gconftool-2 --type bool -s /apps/f-
5) Install the version of F-Spot with the full patch (0.5.0.3-0ubuntu4)
6) Enable 'Color Management' as before.
7) Close F-Spot
8) Open F-Spot again and notice that it no longer crashes
====
9) In addition to this, show tags in the left-hand pane and make sure it doesn't crash.
10) With tags shown in the left-hand pane, go to View - Tag Icons and select every icon size in turn (HIdden, Small, Medium, Large), making sure that no crash occurs and tag icon size is updated correctly.
11) With tag icons displayed (not hidden), make sure that you have at least one tag that has no icon defined, verifying that no crash occurs
Related branches
description: | updated |
description: | updated |
Changed in f-spot: | |
status: | Unknown → Fix Released |
Changed in f-spot: | |
importance: | Unknown → Critical |
Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http:// bugzilla. gnome.org/ show_bug. cgi?id= 558751