GNOME Bugzilla – Bug 613053
gthumb crashes if dbus has been restarted
Last modified: 2010-03-16 17:16:37 UTC
this report has been filed here: https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/537238 "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 <xhejtman@ics.muni.cz> 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) "
Thanks for the patch, however this bug has already been fixed in the current development version.