gthumb crashes if dbus has been restarted

Bug #537238 reported by Lukas Hejtmanek on 2010-03-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gThumb
Expired
Critical
gthumb (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gthumb

gthumb 3:2.11.1-2ubuntu1 (ubuntu lucid)

gthumb crashes if dbus has been restarted. I looked over the source codes. This small patch fixes the problem.

below is patch that fixes use of uninitialized variable leading to crash when
dbus is restarted (and ck session is lost).

Signed-off-by: Lukas Hejtmanek <email address hidden>

diff -rNu a/gthumb/gth-icon-cache.c b/gthumb/gth-icon-cache.c
--- a/gthumb/gth-icon-cache.c 2010-03-11 10:54:10.673089507 +0100
+++ b/gthumb/gth-icon-cache.c 2010-03-11 10:51:53.000000000 +0100
@@ -118,7 +118,7 @@
 gth_icon_cache_get_pixbuf (GthIconCache *icon_cache,
                           GIcon *icon)
 {
- const char *key;
+ const char *key=0;
        GdkPixbuf *pixbuf;

        if (icon != NULL)

Pedro Villavicencio (pedro) wrote :

Thanks for the report, I've sent it to https://bugzilla.gnome.org/show_bug.cgi?id=613053 ; please subscribe there too, thanks.

Changed in gthumb (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in gthumb:
importance: Unknown → Critical
status: Unknown → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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