Re: [gthumb-list] gthumb coredumps on import



Il 23/03/2012 04:55, David Raymond ha scritto:

For both the stable (2.14) and development (2.90.1) versions
of gthumb, I am getting a core dump when I try to import
pictures from a directory on my computer.  The pictures do
indeed get imported before the core dump occurs, as they
are there the next time gthumb is run.

I am running on Arch Linux with an up-to-date i686 system.

Should this be submitted as a bug report?

Dave Raymond

-----------------

Here is the diagnostic message from gthumb:

(gthumb:13966): GLib-GIO-CRITICAL **: g_file_make_directory: assertion `G_IS_FILE (file)' failed
Segmentation fault (core dumped)

Here is a backtrace from gdb for the development version:

swallow:~$ gdb /usr/bin/gthumb core
GNU gdb (GDB) 7.4
Copyright (C) 2012 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gthumb...done.
[New LWP 13966]
[New LWP 13968]
[New LWP 14227]
[New LWP 14193]
[New LWP 14225]
[New LWP 13969]
[New LWP 14226]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `gthumb'.
Program terminated with signal 11, Segmentation fault.
#0  0xb6fb247e in g_file_make_directory_with_parents ()
    from /usr/lib/libgio-2.0.so.0

(gdb) bt
#0  0xb6fb247e in g_file_make_directory_with_parents ()
    from /usr/lib/libgio-2.0.so.0
#1  0xb502160b in gth_catalog_save (catalog=0x8d55548) at gth-catalog.c:1161
#2  0xb5031e3f in save_catalog (key=0x8caa470, value=0x8d55548,
     user_data=0x8b49e90) at gth-import-task.c:114
#3  0xb6d7b661 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#4  0xb5031e79 in save_catalogs (self=0x8b49e90) at gth-import-task.c:121

From the backtrace it looks like it fails to save the catalog with the imported images. I'll take a look at this, thank you.

- Paolo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]