Bug 227064 - 1.1.0: crash on image download
Summary: 1.1.0: crash on image download
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 1.1.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 20:24 UTC by Wolfram Quester
Modified: 2017-08-16 06:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Quester 2010-02-15 20:24:23 UTC
Application that crashed: digikam
Version of the application: 1.1.0
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
I know that there were some bug reports about digikam crashing while downloading images, but they were fixed in release 1.0.0 and I could never reproduce them here. Now I have this crash highly reproducible using 1.1.0. 

Below, I paste the installed versions and other informations as reported by debian's bug reporting tool, reportbug.

Thnaks,

Wolfi

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages digikam depends on:
ii  kdebase-runtime         4:4.3.4-2        runtime components from the offici
ii  kdelibs5                4:4.3.4-1+b1     core libraries for all KDE 4 appli
ii  kdepimlibs5             4:4.3.4-2        core libraries for KDE PIM 4 appli
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.3-2        GCC support library
ii  libglib2.0-0            2.22.4-1         The GLib library of C routines
ii  libgphoto2-2            2.4.6-1          gphoto2 digital camera library
ii  libgphoto2-port0        2.4.6-1          gphoto2 digital camera port librar
ii  libjasper1              1.900.1-6.1      The JasPer JPEG-2000 runtime libra
ii  libjpeg62               6b-16.1          The Independent JPEG Group's JPEG 
ii  libkdcraw7              4:4.3.4-1+b1     RAW picture decoding C++ library (
ii  libkexiv2-7             4:4.3.4-1+b1     Qt like interface for the libexiv2
ii  libkipi6                4:4.3.4-1+b1     library for apps that want to use 
ii  liblcms1                1.18.dfsg-1.2+b1 Color management library
ii  liblensfun0             0.2.4-1          Lens Correction library - Runtime 
ii  liblqr-1-0              0.4.1-1          converts plain array images into m
ii  libphonon4              4:4.5.3-4        Qt 4 Phonon module
ii  libpng12-0              1.2.42-2         PNG library - runtime
ii  libqt4-dbus             4:4.5.3-4        Qt 4 D-Bus module
ii  libqt4-network          4:4.5.3-4        Qt 4 network module
ii  libqt4-qt3support       4:4.5.3-4        Qt 3 compatibility library for Qt 
ii  libqt4-sql              4:4.5.3-4        Qt 4 SQL module
ii  libqt4-sql-sqlite       4:4.5.3-4        Qt 4 SQLite 3 database driver
ii  libqt4-svg              4:4.5.3-4        Qt 4 SVG module
ii  libqt4-xml              4:4.5.3-4        Qt 4 XML module
ii  libqtcore4              4:4.5.3-4        Qt 4 core module
ii  libqtgui4               4:4.5.3-4        Qt 4 GUI module
ii  libsoprano4             2.4.0.1+dfsg.1-2 libraries for the Soprano RDF fram
ii  libstdc++6              4.4.3-2          The GNU Standard C++ Library v3
ii  libtiff4                3.9.2-3+b1       Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.3.3-1        X11 client-side library
ii  libxau6                 1:1.0.5-1        X11 authorisation library
ii  libxdmcp6               1:1.0.3-1        X11 Display Manager Control Protoc
ii  phonon                  4:4.5.3-4        Qt 4 Phonon module metapackage
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages digikam recommends:
ii  epiphany-browser [www-browse 2.29.90.1-2 Intuitive GNOME web browser
ii  iceweasel [www-browser]      3.5.6-2     Web browser based on Firefox
ii  kipi-plugins                 1.1.0-1     image manipulation/handling plugin
ii  konqueror [www-browser]      4:4.3.4-1   KDE 4's advanced file manager, web
ii  w3m [www-browser]            0.5.2-2.1   WWW browsable pager with excellent



 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fd6b318c750 (LWP 18305))]

Thread 11 (Thread 0x7fd6a264d910 (LWP 18306)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6acbe2499 in QWaitConditionPrivate::wait (this=0x23a6048, mutex=0x23a6040, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x23a6048, mutex=0x23a6040, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006dad4b in Digikam::ScanController::run (this=0x23a8970) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/digikam/scancontroller.cpp:502
#4  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x23a8970) at thread/qthread_unix.cpp:188
#5  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd69ec90910 (LWP 18328)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fffcc3ff6fb in ?? ()
#2  0x00007fd6a6b57e5f in *__GI_clock_gettime (clock_id=-1630995024, tp=0x7fd69ec8fdb0) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007fd6accf10fd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fd6accf12e1 in QTimerInfoList::updateCurrentTime (this=0x7fd69ec8fdb0) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007fd6accf1485 in QTimerInfoList::timerWait (this=0x7fd69ec8fdb0, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007fd6accef56c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fd69ec8febc) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fd6accef615 in timerSourcePrepare (source=0x7fd69ec8fdb0, timeout=0x7fd69ec8fdb0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fd6a7817aea in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007fd6a7817ec1 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007fd6a78183f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007fd6accef3b6 in QEventDispatcherGlib::processEvents (this=0x2c7d1d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#12 0x00007fd6accc5562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fd6accc5934 in QEventLoop::exec (this=0x7fd69ec90050, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fd6acbde5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#15 0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x319a2e0) at thread/qthread_unix.cpp:188
#16 0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 9 (Thread 0x7fd69a6b7910 (LWP 18329)):
#0  0x00007fd6ac139743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd6a78180ac in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd6a78183f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd6accef3b6 in QEventDispatcherGlib::processEvents (this=0x2cda780, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fd6accc5562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd6accc5934 in QEventLoop::exec (this=0x7fd69a6b7050, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd6acbde5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x2cffc50) at thread/qthread_unix.cpp:188
#8  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd699e36910 (LWP 18330)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6acbe2499 in QWaitConditionPrivate::wait (this=0x31bd160, mutex=0x31bd158, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x31bd160, mutex=0x31bd158, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd6b0220732 in Digikam::LoadSaveThread::run (this=0x31bd140) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x31bd140) at thread/qthread_unix.cpp:188
#5  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7fd699635910 (LWP 18331)):
#0  0x00007fd6aaeb4c95 in __pthread_mutex_lock (mutex=0x32155b8) at pthread_mutex_lock.c:61
#1  0x00007fd6a7817b25 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007fd6a7817ec1 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fd6a78183f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fd6accef3b6 in QEventDispatcherGlib::processEvents (this=0x32154d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007fd6accc5562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd6accc5934 in QEventLoop::exec (this=0x7fd699635050, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd6acbde5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x3214060) at thread/qthread_unix.cpp:188
#9  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7fd698e34910 (LWP 18332)):
#0  0x00007fd6ac139743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd6a78180ac in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd6a78183f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd6accef3b6 in QEventDispatcherGlib::processEvents (this=0x3210e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fd6accc5562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd6accc5934 in QEventLoop::exec (this=0x7fd698e34050, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd6acbde5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x3215110) at thread/qthread_unix.cpp:188
#8  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7fd693fff910 (LWP 18333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6acbe2499 in QWaitConditionPrivate::wait (this=0x3230320, mutex=0x3230318, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x3230320, mutex=0x3230318, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd6b0220732 in Digikam::LoadSaveThread::run (this=0x3230300) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x3230300) at thread/qthread_unix.cpp:188
#5  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd68f539910 (LWP 18335)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6acbe2499 in QWaitConditionPrivate::wait (this=0x37800f0, mutex=0x37800e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x37800f0, mutex=0x37800e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd6b0220732 in Digikam::LoadSaveThread::run (this=0x37800d0) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x37800d0) at thread/qthread_unix.cpp:188
#5  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fd6835b6910 (LWP 18350)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fd6abc17ea5 in jpeg_CreateDecompress () from /usr/lib/libjpeg.so.8
#7  0x00007fd69f8be8bf in read_jpeg_image (device=<value optimized out>, outImage=0x7fd6835b5330, parameters=..., scaledSize=<value optimized out>, inQuality=-1) at qjpeghandler.cpp:766
#8  0x00007fd6ad94bbf2 in QImageReader::read (this=0x7fd6835b5380, image=0x7fd6835b5330) at image/qimagereader.cpp:1077
#9  0x00007fd6ad94c14c in QImageReader::read (this=0x7fd6835b5380) at image/qimagereader.cpp:1027
#10 0x00007fd6ad938628 in QImage::fromData (data=<value optimized out>, size=<value optimized out>, format=<value optimized out>) at image/qimage.cpp:4653
#11 0x00007fd6ad93aa9e in QImage::loadFromData (this=0x7fd6835b5780, data=0x3e <Address 0x3e out of bounds>, len=632, format=0x7fd694000000 " ") at image/qimage.cpp:4618
#12 0x000000000052b9cd in Digikam::GPCamera::getThumbnail (this=<value optimized out>, folder=..., itemName=..., thumbnail=<value optimized out>)
    at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/utilities/cameragui/gpcamera.cpp:864
#13 0x00000000004ef33d in Digikam::CameraController::executeCommand (this=0x3ad33a0, cmd=<value optimized out>)
    at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/utilities/cameragui/cameracontroller.cpp:447
#14 0x00000000004f0bb6 in Digikam::CameraController::run (this=0x3ad33a0) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/utilities/cameragui/cameracontroller.cpp:334
#15 0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x3ad33a0) at thread/qthread_unix.cpp:188
#16 0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd682753910 (LWP 18351)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6acbe2499 in QWaitConditionPrivate::wait (this=0x3befd90, mutex=0x3befd88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x3befd90, mutex=0x3befd88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000004f71a7 in Digikam::CameraHistoryUpdater::run (this=0x3bf0a50) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/utilities/cameragui/camerahistoryupdater.cpp:114
#4  0x00007fd6acbe14a5 in QThreadPrivate::start (arg=0x3bf0a50) at thread/qthread_unix.cpp:188
#5  0x00007fd6aaeb273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd6ac14469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 1 (Thread 0x7fd6b318c750 (LWP 18305)):
#0  0x00007fd6ac139743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd6a673d90a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fd6a673f91c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007fd6ab4ec563 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007fd6ab4d9db0 in XQueryPointer () from /usr/lib/libX11.so.6
#5  0x00007fd6ad91168d in QCursor::pos () at kernel/qcursor_x11.cpp:156
#6  0x00007fd6ad89ee9b in QApplicationPrivate::sendSyntheticEnterLeave (this=<value optimized out>, widget=0x3a41e60) at kernel/qapplication.cpp:2986
#7  0x00007fd6ad8ec64a in QWidget::setVisible (this=0x3a41e60, visible=<value optimized out>) at kernel/qwidget.cpp:6983
#8  0x00007fd6ad8d0855 in QWidget::show (this=0x3a509f0, index=1) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#9  QStackedLayout::setCurrentIndex (this=0x3a509f0, index=1) at kernel/qstackedlayout.cpp:313
#10 0x00007fd6b029cc8d in Digikam::StatusProgressBar::progressBarMode (this=0x3a48d50, mode=<value optimized out>, text=...)
    at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/libs/widgets/common/statusprogressbar.cpp:164
#11 0x000000000051fad1 in Digikam::CameraUI::slotBusy (this=0x2e43c40, val=<value optimized out>) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/utilities/cameragui/cameraui.cpp:1014
#12 0x000000000051fffd in Digikam::CameraUI::qt_metacall (this=0x2e43c40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fd6943a40a0)
    at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/obj-x86_64-linux-gnu/digikam/cameraui.moc:209
#13 0x00007fd6accd66c8 in QObject::event (this=0x2e43c40, e=0x7fd69432a470) at kernel/qobject.cpp:1110
#14 0x00007fd6ad8e6bed in QWidget::event (this=0x2e43c40, event=0x7fd69432a470) at kernel/qwidget.cpp:7951
#15 0x00007fd6adc69d2b in QMainWindow::event (this=0x2e43c40, event=0x7fd69432a470) at widgets/qmainwindow.cpp:1399
#16 0x00007fd6aedba3b3 in KXmlGuiWindow::event (this=0x7fffcc2b8f40, ev=0x1) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#17 0x00007fd6ad89701d in QApplicationPrivate::notify_helper (this=0x233bea0, receiver=0x2e43c40, e=0x7fd69432a470) at kernel/qapplication.cpp:4065
#18 0x00007fd6ad89f07a in QApplication::notify (this=0x7fffcc2ba060, receiver=0x2e43c40, e=0x7fd69432a470) at kernel/qapplication.cpp:4030
#19 0x00007fd6aecafe46 in KApplication::notify (this=0x7fffcc2ba060, receiver=0x2e43c40, event=0x7fd69432a470) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007fd6accc6c9c in QCoreApplication::notifyInternal (this=0x7fffcc2ba060, receiver=0x2e43c40, event=0x7fd69432a470) at kernel/qcoreapplication.cpp:610
#21 0x00007fd6accc78e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x2318b40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2318b40) at kernel/qcoreapplication.cpp:1247
#23 0x00007fd6accef7d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007fd6a781490e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007fd6a78182c8 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007fd6a78183f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007fd6accef39c in QEventDispatcherGlib::processEvents (this=0x2318350, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#29 0x00007fd6ad92df1f in QGuiEventDispatcherGlib::processEvents (this=0x7fffcc2b8f40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007fd6accc5562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fd6accc5934 in QEventLoop::exec (this=0x7fffcc2b9f90, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007fd6accc7ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0x000000000077e592 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd-digikam_1.1.0-1-amd64-Qlabis/digikam-1.1.0/digikam/main.cpp:195
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Wolfram Quester 2010-02-15 20:29:52 UTC
I just wanted to add that I can download the images without problems using gphotofs

Thanks,

Wolfi
Comment 2 Johannes Wienke 2010-02-15 20:46:29 UTC
Is this crash reproducible? Looks like a crash in libjpeg.
Comment 3 Dario Andres 2010-02-15 21:10:30 UTC
Yes, looks like a libjpeg-related issue. Do you know if Digikam was recompiled against the new libjpeg version ?
Regards
Comment 4 Wolfram Quester 2010-02-15 21:17:09 UTC
Yes, it is highly reproducible when I start downloading images. I tried several times, two cameras and different memory cards.
In the meantime, I discovered that digikam an additional crash. I created the folders I wanted to download the images to, then I wanted to import the images and failed. So I mounted the camera using gphotofs, which worked.
When I navigated to the albums, digikam crashed reliably.
And it also crashed one time when I tried to change folders/albums.
The backtraces looked very similar to me.
It is well possible that the problem is within one of the libraries, which is why I pasted their versions, too. There are some changes with libjpeg going on in debian ATM, and in the meantime I updated libjpeg, but this did not help.
Comment 5 Wolfram Quester 2010-02-15 21:20:00 UTC
I don't think digikam was rebuild since some days after release of version 1.1.0. Perhaps I can try to rebuild it tomorrow.

Tanks,

Wolfi
Comment 6 Dario Andres 2010-02-15 21:26:10 UTC
You probably need to wait until new packages for Qt and Digikam (recompiled due this libjpeg incompatible update) arrive to your repo
Comment 7 Marcel Wiesweg 2010-02-16 19:07:39 UTC
libgphoto2 may also be the problem here. When invalid data is supplied, libjpeg will crash when reading it.
Comment 8 simon 2010-02-26 17:14:44 UTC
hi,

don't know if its the same issue, here my valgrind output:

digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 08:00:49 2010")
digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 08:00:49 2010")
digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 10:46:47 2010")
digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 10:46:47 2010")
==8324== 
==8324== Thread 14:
==8324== Use of uninitialised value of size 8
==8324==    at 0xC1E0C0C: jpeg_CreateDecompress (in /usr/lib64/libjpeg.so.8.0.0)
==8324==    by 0x16694A7B: read_jpeg_image(QIODevice*, QImage*, QByteArray const&, QSize, int) (qjpeghandler.cpp:766)
==8324==    by 0x16695AA7: QJpegHandler::read(QImage*) (qjpeghandler.cpp:1215)
==8324==    by 0xA426EEF: QImageReader::read(QImage*) (qimagereader.cpp:1118)
==8324==    by 0xA427517: QImageReader::read() (qimagereader.cpp:1068)
==8324==    by 0xA411BC3: QImage::fromData(unsigned char const*, int, char const*) (qimage.cpp:4695)
==8324==    by 0xA4132FC: QImage::loadFromData(unsigned char const*, int, char const*) (qimage.cpp:4653)
==8324==    by 0x666DBAD: KExiv2Iface::KExiv2::getExifThumbnail(bool) const (kexiv2exif.cpp:758)
==8324==    by 0x4FDB67: Digikam::UMSCamera::getThumbnail(QString const&, QString const&, QImage&) (umscamera.cpp:227)
==8324==    by 0x4CD835: Digikam::CameraController::executeCommand(Digikam::CameraCommand*) (cameracontroller.cpp:447)
==8324==    by 0x4CEEC4: Digikam::CameraController::run() (cameracontroller.cpp:334)
==8324==    by 0x98264E9: QThreadPrivate::start(void*) (qthread_unix.cpp:244)
==8324==    by 0x9CD2FC6: start_thread (in /lib64/libpthread-2.9.so)
==8324==    by 0xBD0A1FC: clone (in /lib64/libc-2.9.so)
==8324== 
==8324== Invalid write of size 4
==8324==    at 0xC1E0C0C: jpeg_CreateDecompress (in /usr/lib64/libjpeg.so.8.0.0)
==8324==    by 0x16694A7B: read_jpeg_image(QIODevice*, QImage*, QByteArray const&, QSize, int) (qjpeghandler.cpp:766)
==8324==    by 0x16695AA7: QJpegHandler::read(QImage*) (qjpeghandler.cpp:1215)
==8324==    by 0xA426EEF: QImageReader::read(QImage*) (qimagereader.cpp:1118)
==8324==    by 0xA427517: QImageReader::read() (qimagereader.cpp:1068)
==8324==    by 0xA411BC3: QImage::fromData(unsigned char const*, int, char const*) (qimage.cpp:4695)
==8324==    by 0xA4132FC: QImage::loadFromData(unsigned char const*, int, char const*) (qimage.cpp:4653)
==8324==    by 0x666DBAD: KExiv2Iface::KExiv2::getExifThumbnail(bool) const (kexiv2exif.cpp:758)
==8324==    by 0x4FDB67: Digikam::UMSCamera::getThumbnail(QString const&, QString const&, QImage&) (umscamera.cpp:227)
==8324==    by 0x4CD835: Digikam::CameraController::executeCommand(Digikam::CameraCommand*) (cameracontroller.cpp:447)
==8324==    by 0x4CEEC4: Digikam::CameraController::run() (cameracontroller.cpp:334)
==8324==    by 0x98264E9: QThreadPrivate::start(void*) (qthread_unix.cpp:244)
==8324==    by 0x9CD2FC6: start_thread (in /lib64/libpthread-2.9.so)
==8324==    by 0xBD0A1FC: clone (in /lib64/libc-2.9.so)
==8324==  Address 0x2c is not stack'd, malloc'd or (recently) free'd
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 8324
sock_file=/home/user/.kde4/socket-d-partment/kdeinit4__0

[1]+  Angehalten              valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes digikam



i use libjpeg v8, recompiled libkexiv2 and digikam :(
Comment 9 Wolfram Quester 2010-02-28 22:20:27 UTC
After some updates, libjpeg and others but not digikam, everything is working again here. So I guess, this was not a bug in digikam, but as you said in one of the libs. Thus I think we can close this one.

Thanks,

Wolfi