[Pkg-kde-extras] Bug#763991: digikam: Digikam crashes with SIGSEGV while creating preview images

Eric Lavarde ewl+debian+nospam2014 at lavar.de
Sat Oct 4 15:03:55 UTC 2014


Package: digikam
Version: 4:4.3.0-1
Severity: important

Hello,

Digikam has stopped working today, it did work yesterday, and I did an
upgrade of digikam:amd64 (4.1.0-1+b2, 4.3.0-1) in between. So, even if
the segmentation fault is in libexiv2, I suspect the issue with digikam.

Anyway, feel free to re-assign or ask for more information, here the bug
description...

Digikam starts first, to the point where the hint dialog shows up, then
it crashes.

When starting it from the gdb, I get the following output (I don't get
more when starting digikam normally):

(gdb) run
Starting program: /usr/bin/digikam --sync --nocrashhandler
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd125e700 (LWP 7889)]
[New Thread 0x7fffca7b3700 (LWP 7890)]
[New Thread 0x7fffc9fb2700 (LWP 7891)]
Object::connect: No such signal
org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal
org::freedesktop::UPower::DeviceRemoved(QString)
[New Thread 0x7fffc97b1700 (LWP 7892)]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
still in use, all queries will cease to work.
[Thread 0x7fffc97b1700 (LWP 7892) exited]
[New Thread 0x7fffc97b1700 (LWP 7893)]
[New Thread 0x7fffb52ac700 (LWP 7895)]
[Thread 0x7fffb52ac700 (LWP 7895) exited]
[New Thread 0x7fffb52ac700 (LWP 7896)]
[New Thread 0x7fffb0aaa700 (LWP 7897)]
[New Thread 0x7fffabfff700 (LWP 7898)]
[New Thread 0x7fffab7fe700 (LWP 7899)]
[New Thread 0x7fffaaffd700 (LWP 7900)]
[New Thread 0x7fffaa7fc700 (LWP 7901)]
[New Thread 0x7fffa9ffb700 (LWP 7902)]
[New Thread 0x7fffa97fa700 (LWP 7903)]
[New Thread 0x7fffa8ff9700 (LWP 7904)]
[New Thread 0x7fff87fff700 (LWP 7905)]
[New Thread 0x7fff877fe700 (LWP 7906)]
[New Thread 0x7fff86ffd700 (LWP 7907)]
[New Thread 0x7fff867fc700 (LWP 7908)]
[New Thread 0x7fff85ffb700 (LWP 7909)]
[New Thread 0x7fff857fa700 (LWP 7910)]
[New Thread 0x7fff84ff9700 (LWP 7911)]
[New Thread 0x7fff77fff700 (LWP 7912)]
[New Thread 0x7fff777fe700 (LWP 7913)]
[New Thread 0x7fff76ffd700 (LWP 7914)]
[New Thread 0x7fff767fc700 (LWP 7915)]
[New Thread 0x7fff75ffb700 (LWP 7916)]
[New Thread 0x7fff757fa700 (LWP 7917)]
[New Thread 0x7fff74ff9700 (LWP 7918)]
[New Thread 0x7fff747f8700 (LWP 7919)]
[New Thread 0x7fff73ff7700 (LWP 7920)]
[New Thread 0x7fff737f6700 (LWP 7921)]
[New Thread 0x7fff72ff5700 (LWP 7922)]
[New Thread 0x7fff727f4700 (LWP 7923)]
[New Thread 0x7fff71ff3700 (LWP 7924)]
[New Thread 0x7fff717f2700 (LWP 7925)]
[New Thread 0x7fff70ff1700 (LWP 7926)]
[New Thread 0x7fff707f0700 (LWP 7927)]
[New Thread 0x7fff6ffef700 (LWP 7928)]
[New Thread 0x7fff6f7ee700 (LWP 7929)]
[New Thread 0x7fff6efed700 (LWP 7930)]
[New Thread 0x7fff6e7ec700 (LWP 7931)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff727f4700 (LWP 7923)]
0x00007fffedd266e5 in Exiv2::PreviewManager::getPreviewImage (
    this=0x7fffc400e450, properties=...) at preview.cpp:1157
1157    preview.cpp: No such file or directory.
(gdb) backtrace full
#0  0x00007fffedd266e5 in Exiv2::PreviewManager::getPreviewImage (
    this=0x7fffc400e450, properties=...) at preview.cpp:1157
        loader = <optimized out>
        buf = {pData_ = 0x7fff727f3320 "\240\063\177r\377\177", size_ = 0}
#1  0x00007ffff5c11902 in KExiv2Iface::KExiv2Previews::data(int) ()
   from /usr/lib/libkexiv2.so.11
No symbol table info available.
#2  0x00007ffff5c11a8b in KExiv2Iface::KExiv2Previews::image(int) ()
   from /usr/lib/libkexiv2.so.11
No symbol table info available.
#3  0x00007ffff551717b in
Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo
const&, QRect const&) const ()
   from /usr/lib/digikam/libdigikamcore.so.4.3.0
No symbol table info available.
#4  0x00007ffff551adf9 in Digikam::ThumbnailCreator::load(QString
const&, QRect const&, bool) const () from
/usr/lib/digikam/libdigikamcore.so.4.3.0
No symbol table info available.
#5  0x00007ffff551b790 in Digikam::ThumbnailCreator::pregenerate(QString
const&) const () from /usr/lib/digikam/libdigikamcore.so.4.3.0
No symbol table info available.
#6  0x00007ffff552a480 in ?? () from
/usr/lib/digikam/libdigikamcore.so.4.3.0
No symbol table info available.
#7  0x00007ffff54ffc8e in Digikam::LoadSaveThread::run() ()
   from /usr/lib/digikam/libdigikamcore.so.4.3.0
No symbol table info available.
#8  0x00007ffff55343ee in
Digikam::DynamicThread::DynamicThreadPriv::run() ()
   from /usr/lib/digikam/libdigikamcore.so.4.3.0
No symbol table info available.
#9  0x00007ffff1c508a4 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#10 0x00007ffff1c5d3ff in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#11 0x00007fffecd790a4 in start_thread (arg=0x7fff727f4700)
    at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fff727f4700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140735114331904, 
                4735007495537972241, 1, 140737354125408, 1,
140735114331904, 
                -4735318659627854831, -4734979111561178095}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#12 0x00007ffff0e7ec2d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

I tried to reproduce the issue using 'exiv2 -f -l /srv/photos/tmp -v
-ep' but didn't identify anything suspect. This said there are many
images and I can't promise I didn't oversee something. It would be nice
if it would be possible to make digikam spit out where it encounters a
problem.

Let me know what I can do to help solve this issue, I can't currently
use digikam at all and manage my pictures.

Thanks, Eric

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages digikam depends on:
ii  digikam-data          4:4.3.0-1
ii  digikam-private-libs  4:4.3.0-1
ii  kde-runtime           4:4.14.1-1
ii  libc6                 2.19-11
ii  libgcc1               1:4.9.1-15
ii  libgphoto2-6          2.5.4-1.1+b1
ii  libgphoto2-port10     2.5.4-1.1+b1
ii  libkdcraw23           4:4.14.0-1
ii  libkdecore5           4:4.14.1-1
ii  libkdeui5             4:4.14.1-1
ii  libkexiv2-11          4:4.14.0-1+b1
ii  libkhtml5             4:4.14.1-1
ii  libkio5               4:4.14.1-1
ii  libkipi11             4:4.13.3-1
ii  libknotifyconfig4     4:4.14.1-1
ii  libkparts4            4:4.14.1-1
ii  libopencv-core2.4     2.4.9.1+dfsg-1
ii  libopencv-imgproc2.4  2.4.9.1+dfsg-1
ii  libphonon4            4:4.8.0-1
ii  libqt4-dbus           4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqt4-sql            4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqt4-sql-sqlite     4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqt4-xml            4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtcore4            4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtgui4             4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libsolid4             4:4.14.1-1
ii  libstdc++6            4.9.1-15
ii  libthreadweaver4      4:4.14.1-1
ii  perl                  5.20.1-1
ii  phonon                4:4.8.0-1

Versions of packages digikam recommends:
ii  iceweasel [www-browser]  31.1.0esr-1
ii  kipi-plugins             4:4.3.0-1
ii  konqueror [www-browser]  4:4.14.1-1
ii  mplayerthumbs            4:4.14.0-1
ii  w3m [www-browser]        0.5.3-17

Versions of packages digikam suggests:
pn  digikam-doc     <none>
ii  systemsettings  4:4.11.12-1

-- no debconf information



More information about the pkg-kde-extras mailing list