Package: gthumb
Version: 3:2.11.5-3
Severity: important

Hello,

I have stumbled upon this when checking out a hugin crash[1], I am not a
regular gthumb user. gthumb crashes on opening
<http://home.arcor.de/rm369/tmp/CIMG0875.JPG>.

----------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf2c48b70 (LWP 10783)]
Exiv2::ValueType<unsigned short>::toLong (this=0x8292d50, n=0)
    at value.hpp:1580
1580    value.hpp: No such file or directory.
        in value.hpp
Current language:  auto
The current source language is "auto; currently c++".
(gdb) bt
#0  Exiv2::ValueType<unsigned short>::toLong (this=0x8292d50, n=0)
    at value.hpp:1580
#1  0xf5dc6d72 in exiv2_generate_thumbnail (
    uri=0x8289878 "file:///tmp/crashing/CIMG0875.JPG",
    mime_type=0x811c6b8 "image/jpeg", requested_size=128)
    at exiv2-utils.cpp:964
#2  0x080ad3c8 in invoke_marshaller_3_get (hook=0x81450f0, data=0x8280c20)
    at gth-hook.c:319
#3  0xf71f2026 in g_hook_list_marshal () from /lib/libglib-2.0.so.0
#4  0x080ad575 in gth_hook_invoke_get (name=0x80e3448 "generate-thumbnail",
    first_data=0x8289878) at gth-hook.c:378
#5  0x08074891 in gnome_desktop_thumbnail_factory_generate_no_script (
    factory=0x81aaa28, uri=0x8289878 "file:///tmp/crashing/CIMG0875.JPG",
    mime_type=0x811c6b8 "image/jpeg") at gnome-desktop-thumbnail.c:731
#6  0x080d2cf2 in thumb_loader (file_data=0xf5e14880, error=0xf2c482b8,
    data=0x8222a60) at gth-thumb-loader.c:494
#7  0x080b0666 in load_image_thread (thread_data=0x81cc990)
    at gth-image-loader.c:227
#8  0xf72296cf in ?? () from /lib/libglib-2.0.so.0
#9  0xf73cf955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xf7148e7e in clone () from /lib/i686/cmov/libc.so.6
(gdb) quit
A debugging session is active.

        Inferior 1 [process 10775] will be killed.

Quit anyway? (y or n) y
----------------------------------

I suspect this is similar to
<https://bugs.kde.org/show_bug.cgi?id=246675>. At least for hugin
following the advice in that bugreport ("Is toLong() called on an
empty value? That's the usual cause for this crash.  The caller
(libkexiv2) must ensure this does not happen by checking that the
value has at least one element before calling toLong().") seems to
have fixed the issue.

cu andreas

[1] 
http://mid.gmane.org/d9ba30d6-1735-429b-9b53-2de9df0a5b7f%40l14g2000yqb.googlegroups.com

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gthumb depends on:
ii  gthumb-data            3:2.11.5-3        an image viewer and browser - arch
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libbrasero-media0      2.30.3-1          CD/DVD burning library for GNOME -
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libcairo2              1.8.10-6          The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.24-3          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.88-2            simple interprocess messaging syst
ii  libexiv2-9             0.20-2            EXIF/IPTC metadata manipulation li
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.2-1           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.5-4         GCC support library
ii  libgconf2-4            2.28.1-5          GNOME configuration database syste
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgnome-keyring0      2.30.1-1          GNOME keyring services library
ii  libgstreamer-plugins-b 0.10.30-1         GStreamer libraries from the "base
ii  libgstreamer0.10-0     0.10.30-1         Core GStreamer libraries and eleme
ii  libgtk2.0-0            2.20.1-1+b1       The GTK+ graphical user interface 
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libpango1.0-0          1.28.1-1          Layout and rendering of internatio
ii  libsoup-gnome2.4-1     2.30.2-1          an HTTP library implementation in 
ii  libsoup2.4-1           2.30.2-1          an HTTP library implementation in 
ii  libstdc++6             4.4.5-4           The GNU Standard C++ Library v3
ii  libtiff4               3.9.4-5           Tag Image File Format (TIFF) libra
ii  libunique-1.0-0        1.1.6-1.1         Library for writing single instanc
ii  libxml2                2.7.7.dfsg-4      GNOME XML library
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages gthumb recommends:
pn  gstreamer0.10-gnomevfs        <none>     (no description available)
pn  gvfs-bin                      <none>     (no description available)

gthumb suggests no packages.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to