After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 636847 - gThumb crashes on startup
gThumb crashes on startup
Status: RESOLVED DUPLICATE of bug 620559
Product: gthumb
Classification: Other
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2010-12-09 06:23 UTC by jim.warkior
Modified: 2010-12-09 16:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jim.warkior 2010-12-09 06:23:27 UTC
This has been a very frustrating problem for us as we've catalogued all our pics using this app and now it doesn't work.
Problem started with upgrade to Ubuntu Karmic (64 bit)
Running from commandline yields:

$ 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
$ 

I also tried the following based on reading others with similar bugs...

$ gdb gthumb %U
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gthumb...done.
/home/***removed***/%U: No such file or directory.
(gdb) run
Starting program: /usr/bin/gthumb 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeea02700 (LWP 28766)]

(gthumb:28763): GLib-GIO-CRITICAL **: g_file_get_path: assertion `G_IS_FILE (file)' failed

(gthumb:28763): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff69c334b in g_file_get_path () from /usr/lib/libgio-2.0.so.0
(gdb) bt
  • #0 g_file_get_path
    from /usr/lib/libgio-2.0.so.0
  • #1 _gth_icon_cache_get_icon_key
    at gth-icon-cache.c line 105
  • #2 gth_icon_cache_get_pixbuf
    at gth-icon-cache.c line 127
  • #3 _gth_browser_add_file_menu_item_full
    at gth-browser.c line 336
  • #4 _gth_browser_update_entry_point_list
    at gth-browser.c line 817
  • #5 _gth_browser_construct
    at gth-browser.c line 4216
  • #6 gth_browser_new
    at gth-browser.c line 4295
  • #7 open_browser_window
    at main.c line 267
  • #8 prepare_application
    at main.c line 350
  • #9 main
    at main.c line 444


I *think* this is running the version of gThumb that I just compiled following directions here:
http://live.gnome.org/gthumb/development

Interestingly, the first time I ran it, the app sorta worked.  I quit and restarted and now it continues to give the seg fault.

Any help or advice would be super appreciated.  I know just enough about this stuff to be dangerous but that's where it ends.

James
Comment 1 Akhil Laddha 2010-12-09 13:52:09 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but the maintainers need more information to fix the bug. Could you please answer the questions in the other report in order to help the developers?

*** This bug has been marked as a duplicate of bug 620559 ***
Comment 2 jim.warkior 2010-12-09 16:30:01 UTC
I saw that bug, but it is marked as Resolved and Obsolete.  Also, there are no specific questions about it that I saw.  I will ask if they have any.  tnx.
Comment 3 Michael Chudobiak 2010-12-09 16:32:44 UTC
You were testing the latest code from git master, right?

- Mike
Comment 4 jim.warkior 2010-12-09 16:40:36 UTC
As far as I know.  Ran the following:

git clone git://git.gnome.org/gthumb
cd gthumb
./autogen.sh --prefix=/usr CFLAGS="-ggdb"
make
sudo make install

The reason I did so though was because it was broken with my regular Ubuntu distro as well.