GNOME Bugzilla – Bug 620559
Crash in g_file_get_path, _gth_icon_cache_get_icon_key at gth-icon-cache.c line 105
Last modified: 2015-12-18 16:58:34 UTC
Version: 2.11.3 What were you doing when the application crashed? nothing, I can't stat gthumb!! Distribution: Debian squeeze/sid Gnome Release: 2.30.0 2010-04-26 (Debian) BugBuddy Version: 2.30.0 System: Linux 2.6.32.5 #4 SMP PREEMPT Mon Jan 25 20:06:23 CET 2010 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10707000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome GTK+ Modules: gnomebreakpad, canberra-gtk-module Memory status: size: 414195712 vsize: 414195712 resident: 19992576 share: 15499264 rss: 19992576 rss_rlim: 18446744073709551615 CPU usage: start_time: 1275653807 rtime: 11 utime: 10 stime: 1 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/gthumb' [Thread debugging using libthread_db enabled] [New Thread 0x7fee3a732710 (LWP 26677)] [New Thread 0x7fee3a7b3710 (LWP 26676)] [New Thread 0x7fee3a834710 (LWP 26675)] [New Thread 0x7fee52d0c710 (LWP 26674)] [New Thread 0x7fee52d8d710 (LWP 26673)] 0x00007fee4ecc7b4d in waitpid () from /lib/libpthread.so.0
+ Trace 222232
Thread 1 (Thread 0x7fee52dea7c0 (LWP 26672))
Inferior 1 [process 26672] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] ---- Critical and fatal warnings logged during execution ---- ** GLib-GIO **: g_file_get_path: assertion `G_IS_FILE (file)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GIO **: g_file_get_path: assertion `G_IS_FILE (file)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GIO **: g_file_get_path: assertion `G_IS_FILE (file)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GIO **: g_file_get_path: assertion `G_IS_FILE (file)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GIO **: g_file_get_path: assertion `G_IS_FILE (file)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ----------- .xsession-errors --------------------- ** (alarm-clock-applet:26433): DEBUG: AlarmAction: toggle list window /usr/share/smart-notifier/smart_notifier/gui.py:51: DeprecationWarning: Passing the named_service parameter to add_signal_receiver by name is deprecated: please use positional parameters path=smart_notifier.UD_SERVICE) (gnome-panel:26384): Gdk-WARNING **: /tmp/buildd/gtk+2.0-2.20.1/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window [gphoto2] init_gphoto2: error: serial:/dev/ttyd1 is not a valid gphoto2 port. Use "gphoto2 --list-ports" for list. [gphoto2] init_gphoto2: error: serial:/dev/ttyd1 is not a valid gphoto2 port. Use "gphoto2 --list-ports" for list. [gphoto2] init_gphoto2: error: serial:/dev/ttyd1 is not a valid gphoto2 port. Use "gphoto2 --list-ports" for list. Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/blueman/plugins/AppletPlugin.py", line 105, in _load self.on_load(applet) File "/usr/lib/python2.5/site-packages/blueman/plugins/applet/KillSwitch.py", line 52, in on_load raise Exception("Failed to initialize killswitch manager") Exception: Failed to initialize killswitch manager ** (alarm-clock-applet:26433): DEBUG: AlarmAction: toggle list window --------------------------------------------------
*** Bug 620722 has been marked as a duplicate of this bug. ***
*** Bug 620723 has been marked as a duplicate of this bug. ***
*** Bug 620770 has been marked as a duplicate of this bug. ***
Thanks for taking the time to report this bug. However, I cannot reproduce this bug and the code that caused it has changed since this report was created. You were using a development version that is prone to crashes, I suggest you to use the latest version available, which is still a development version but more stable. This report will be closed as obsolete, but you can reopen it if the crash still occurs to you with the latest version.
*** Bug 628248 has been marked as a duplicate of this bug. ***
*** Bug 633183 has been marked as a duplicate of this bug. ***
*** Bug 633763 has been marked as a duplicate of this bug. ***
*** Bug 636847 has been marked as a duplicate of this bug. ***
Hello, I've been having similar problems to this bug and would not say it's resolved. See my comments here (https://bugzilla.gnome.org/show_bug.cgi?id=636847) for info on my situation. The general error I'm seeing is this... $ gthumb (gthumb:28748): GLib-GIO-CRITICAL **: g_file_get_path: assertion `G_IS_FILE (file)' failed (gthumb:28748): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Segmentation fault $ Are there any specific questions you have about my install, or things that I could test which would help diagnose the problem? I'd be happy to help get it resolved. I'm not a C coder, but know how to run commandline stuff. Tell me what to try and I'll be happy to assist and post results.
Re-opening since bug 636847 is from git master. - Mike
*** Bug 639310 has been marked as a duplicate of this bug. ***
*** Bug 640311 has been marked as a duplicate of this bug. ***
*** Bug 641156 has been marked as a duplicate of this bug. ***
*** Bug 645945 has been marked as a duplicate of this bug. ***
If anyone is compiling from source, you can try this patch: diff --git a/gthumb/gth-icon-cache.c b/gthumb/gth-icon-cache.c index f4c25f1..1f9eea0 100644 --- a/gthumb/gth-icon-cache.c +++ b/gthumb/gth-icon-cache.c @@ -106,7 +106,6 @@ _gth_icon_cache_get_icon_key (GIcon *icon) key = get_static_string (uri); g_free (uri); - g_object_unref (file); } } - Mike
Mike, patch applied to master and gthumb-2-12 branches, thank you.