Bug 274179 - crash after start of image thumbprinting
Summary: crash after start of image thumbprinting
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Orientation (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 10:29 UTC by kommerzfeind
Modified: 2017-08-13 07:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kommerzfeind 2011-05-26 10:29:34 UTC
Application: digikam (1.4.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I start image thumbnailing (Tools - rebuild thumprints) and shortly after the program crashes

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb655d740 (LWP 4169))]

Thread 16 (Thread 0xb618cb70 (LWP 4170)):
#0  0x0049f3c0 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x0655ed0f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x0655f279 in ?? () from /lib/libglib-2.0.so.0
#3  0x0655fba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0x02f399c4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0x0658648f in ?? () from /lib/libglib-2.0.so.0
#6  0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#7  0x06bf269e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb3b0ab70 (LWP 4173)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x004a14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x051c49c7 in wait (this=0x9ecb3b8, mutex=0x9ecb3b4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x9ecb3b8, mutex=0x9ecb3b4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x083310a4 in Digikam::ScanController::run (this=0x9ecddc8) at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:515
#5  0x051c3df9 in QThreadPrivate::start (arg=0x9ecddc8) at thread/qthread_unix.cpp:266
#6  0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#7  0x06bf269e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb3309b70 (LWP 4226)):
#0  0x004a07d4 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x0655ee58 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x0655f279 in ?? () from /lib/libglib-2.0.so.0
#3  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x052f459f in QEventDispatcherGlib::processEvents (this=0x9fbf1c8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x052c4609 in QEventLoop::processEvents (this=0xb33092a0, flags=) at kernel/qeventloop.cpp:149
#6  0x052c4a8a in QEventLoop::exec (this=0xb33092a0, flags=...) at kernel/qeventloop.cpp:201
#7  0x051c0b7e in QThread::exec (this=0x9fbebd8) at thread/qthread.cpp:490
#8  0x0617859d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9fbebd8) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#9  0x051c3df9 in QThreadPrivate::start (arg=0x9fbebd8) at thread/qthread_unix.cpp:266
#10 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#11 0x06bf269e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb26ffb70 (LWP 4227)):
#0  0x050d8e25 in clock_gettime () from /lib/librt.so.1
#1  0x0521f50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x052f66e5 in QTimerInfoList::updateCurrentTime (this=0xb2a34a84) at kernel/qeventdispatcher_unix.cpp:339
#4  0x052f672a in QTimerInfoList::timerWait (this=0xb2a34a84, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x052f47a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb26ff0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x052f483d in timerSourcePrepare (source=0xb26fefa0, timeout=0x1) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0655ee6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0655f279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x052f459f in QEventDispatcherGlib::processEvents (this=0x9fbee88, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x052c4609 in QEventLoop::processEvents (this=0xb26ff2a0, flags=) at kernel/qeventloop.cpp:149
#12 0x052c4a8a in QEventLoop::exec (this=0xb26ff2a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x051c0b7e in QThread::exec (this=0x9fbef08) at thread/qthread.cpp:490
#14 0x0617859d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9fbef08) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#15 0x051c3df9 in QThreadPrivate::start (arg=0x9fbef08) at thread/qthread_unix.cpp:266
#16 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#17 0x06bf269e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb1efeb70 (LWP 4228)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x004a14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x051c49c7 in wait (this=0x9ff20b0, mutex=0x9ff20ac, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x9ff20b0, mutex=0x9ff20ac, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x01c852d2 in Digikam::ParkingThread::run (this=0x9ff20a0) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#5  0x051c3df9 in QThreadPrivate::start (arg=0x9ff20a0) at thread/qthread_unix.cpp:266
#6  0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#7  0x06bf269e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb16fdb70 (LWP 4229)):
#0  0x050d8e36 in clock_gettime () from /lib/librt.so.1
#1  0x0521f50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x052f66e5 in QTimerInfoList::updateCurrentTime (this=0x9ffda34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x052f672a in QTimerInfoList::timerWait (this=0x9ffda34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x052f47a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb16fd0ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x052f483d in timerSourcePrepare (source=0x0, timeout=0x50dcff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0655ee6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0655f279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x052f459f in QEventDispatcherGlib::processEvents (this=0x9ffe218, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x052c4609 in QEventLoop::processEvents (this=0xb16fd2c0, flags=) at kernel/qeventloop.cpp:149
#12 0x052c4a8a in QEventLoop::exec (this=0xb16fd2c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x051c0b7e in QThread::exec (this=0x9ffa478) at thread/qthread.cpp:490
#14 0x051c3df9 in QThreadPrivate::start (arg=0x9ffa478) at thread/qthread_unix.cpp:266
#15 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#16 0x06bf269e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb0efcb70 (LWP 4230)):
#0  0x0655eb27 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x0655f45e in ?? () from /lib/libglib-2.0.so.0
#2  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x052f459f in QEventDispatcherGlib::processEvents (this=0x9ff5af8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x052c4609 in QEventLoop::processEvents (this=0xb0efc2c0, flags=) at kernel/qeventloop.cpp:149
#5  0x052c4a8a in QEventLoop::exec (this=0xb0efc2c0, flags=...) at kernel/qeventloop.cpp:201
#6  0x051c0b7e in QThread::exec (this=0x9ffdf90) at thread/qthread.cpp:490
#7  0x051c3df9 in QThreadPrivate::start (arg=0x9ffdf90) at thread/qthread_unix.cpp:266
#8  0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#9  0x06bf269e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xaa054b70 (LWP 4246)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x004a1884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08b4cb3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xa9448b70 (LWP 4247)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x06beb371 in select () from /lib/libc.so.6
#2  0x08b78f1c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 7 (Thread 0xa8c47b70 (LWP 4248)):
#0  0x0653039a in ?? () from /lib/libglib-2.0.so.0
#1  0x06559fbb in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0x0655f2c4 in ?? () from /lib/libglib-2.0.so.0
#3  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x052f459f in QEventDispatcherGlib::processEvents (this=0xa4a8418, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x052c4609 in QEventLoop::processEvents (this=0xa8c47250, flags=) at kernel/qeventloop.cpp:149
#6  0x052c4a8a in QEventLoop::exec (this=0xa8c47250, flags=...) at kernel/qeventloop.cpp:201
#7  0x051c0b7e in QThread::exec (this=0xa4a8020) at thread/qthread.cpp:490
#8  0x0353081a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x051c3df9 in QThreadPrivate::start (arg=0xa4a8020) at thread/qthread_unix.cpp:266
#10 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#11 0x06bf269e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa8446b70 (LWP 4249)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x06be3df6 in poll () from /lib/libc.so.6
#2  0x00e70562 in ?? () from /usr/lib/libpulse.so.0
#3  0x00e5cab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00e5ea73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00e5eb44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00e70303 in ?? () from /usr/lib/libpulse.so.0
#7  0x05716bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#9  0x06bf269e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa3c44b70 (LWP 4250)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x004a14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08b5eb54 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa3443b70 (LWP 4251)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x06be3df6 in poll () from /lib/libc.so.6
#2  0x0656ca1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0655f43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x052f459f in QEventDispatcherGlib::processEvents (this=0xa6adec0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x052c4609 in QEventLoop::processEvents (this=0xa3443260, flags=) at kernel/qeventloop.cpp:149
#7  0x052c4a8a in QEventLoop::exec (this=0xa3443260, flags=...) at kernel/qeventloop.cpp:201
#8  0x051c0b7e in QThread::exec (this=0xa6ad610) at thread/qthread.cpp:490
#9  0x052a335b in QInotifyFileSystemWatcherEngine::run (this=0xa6ad610) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x051c3df9 in QThreadPrivate::start (arg=0xa6ad610) at thread/qthread_unix.cpp:266
#11 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#12 0x06bf269e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa2b62b70 (LWP 4258)):
#0  0x0049f3eb in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x0655b6c4 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#2  0x0655f668 in ?? () from /lib/libglib-2.0.so.0
#3  0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x052f459f in QEventDispatcherGlib::processEvents (this=0xa8fd3c8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x052c4609 in QEventLoop::processEvents (this=0xa2b62260, flags=) at kernel/qeventloop.cpp:149
#6  0x052c4a8a in QEventLoop::exec (this=0xa2b62260, flags=...) at kernel/qeventloop.cpp:201
#7  0x051c0b7e in QThread::exec (this=0xa8fc158) at thread/qthread.cpp:490
#8  0x052a335b in QInotifyFileSystemWatcherEngine::run (this=0xa8fc158) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x051c3df9 in QThreadPrivate::start (arg=0xa8fc158) at thread/qthread_unix.cpp:266
#10 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#11 0x06bf269e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa035db70 (LWP 4301)):
[KCrash Handler]
#7  0x046900a1 in ?? () from /usr/lib/libexiv2.so.6
#8  0x001b6633 in KExiv2Iface::KExiv2::getImageOrientation() const () from /usr/lib/libkexiv2.so.8
#9  0x01c590d6 in Digikam::ThumbnailCreator::exifOrientation (this=0xa8a70b0, filePath=..., metadata=..., fromEmbeddedPreview=false) at /build/buildd/digikam-1.4.0/libs/threadimageio/thumbnailcreator.cpp:464
#10 0x01c5cda0 in Digikam::ThumbnailCreator::createThumbnail (this=0xa8a70b0, info=...) at /build/buildd/digikam-1.4.0/libs/threadimageio/thumbnailcreator.cpp:403
#11 0x01c5d828 in Digikam::ThumbnailCreator::load (this=0xa8a70b0, path=...) at /build/buildd/digikam-1.4.0/libs/threadimageio/thumbnailcreator.cpp:195
#12 0x01c658b0 in Digikam::ThumbnailLoadingTask::execute (this=0xc3ec798) at /build/buildd/digikam-1.4.0/libs/threadimageio/thumbnailtask.cpp:133
#13 0x01c41d63 in Digikam::LoadSaveThread::run (this=0xa8a6e30) at /build/buildd/digikam-1.4.0/libs/threadimageio/loadsavethread.cpp:116
#14 0x01c867f6 in Digikam::DynamicThreadPriv::run (this=0xa8a8600) at /build/buildd/digikam-1.4.0/libs/threads/dynamicthread.cpp:237
#15 0x051b8523 in QThreadPoolThread::run (this=0xc182700) at concurrent/qthreadpool.cpp:106
#16 0x051c3df9 in QThreadPrivate::start (arg=0xc182700) at thread/qthread_unix.cpp:266
#17 0x0049ccc9 in start_thread () from /lib/libpthread.so.0
#18 0x06bf269e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb655d740 (LWP 4169)):
#0  0x00eb3416 in __kernel_vsyscall ()
#1  0x004a14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x051c49c7 in wait (this=0xa8a8624, mutex=0xa8a8620, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa8a8624, mutex=0xa8a8620, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x01c85e74 in Digikam::DynamicThread::wait (this=0xa8a6e30, locker=...) at /build/buildd/digikam-1.4.0/libs/threads/dynamicthread.cpp:247
#5  0x01c86224 in Digikam::DynamicThread::wait (this=0xa8a6e30) at /build/buildd/digikam-1.4.0/libs/threads/dynamicthread.cpp:150
#6  0x01c5ff2e in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0xa8a6e30, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.4.0/libs/threadimageio/thumbnailloadthread.cpp:163
#7  0x01c5e5b5 in destroy () at /build/buildd/digikam-1.4.0/libs/threadimageio/thumbnailloadthread.cpp:143
#8  0x01b5ea2b in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x1e7f50c, __in_chrg=<value optimized out>) at //usr/include/kglobal.h:62
#9  0x06b5169e in ?? () from /lib/libc.so.6
#10 0x06b5170f in exit () from /lib/libc.so.6
#11 0x0199c890 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#12 0x075685ea in KApplication::xioErrhandler (this=0xbff4f30c, dpy=0x9d073b0) at ../../kdeui/kernel/kapplication.cpp:416
#13 0x07568626 in kde_xio_errhandler (dpy=0x9d073b0) at ../../kdeui/kernel/kapplication.cpp:125
#14 0x04146c36 in _XIOError () from /usr/lib/libX11.so.6
#15 0x0414ea8a in ?? () from /usr/lib/libX11.so.6
#16 0x0414f406 in _XEventsQueued () from /usr/lib/libX11.so.6
#17 0x04137b0b in XEventsQueued () from /usr/lib/libX11.so.6
#18 0x02071db5 in x11EventSourceCheck (s=0x9cf7440) at kernel/qguieventdispatcher_glib.cpp:87
#19 0x0655eb39 in g_main_context_check () from /lib/libglib-2.0.so.0
#20 0x0655f45e in ?? () from /lib/libglib-2.0.so.0
#21 0x0655f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x052f459f in QEventDispatcherGlib::processEvents (this=0x9cc6d68, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#23 0x02071be5 in QGuiEventDispatcherGlib::processEvents (this=0x9cc6d68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x052c4609 in QEventLoop::processEvents (this=0xbff4f1f4, flags=) at kernel/qeventloop.cpp:149
#25 0x052c4a8a in QEventLoop::exec (this=0xbff4f1f4, flags=...) at kernel/qeventloop.cpp:201
#26 0x052c900f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#27 0x01faee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#28 0x083c06b3 in main (argc=5, argv=0xbff4f774) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 caulier.gilles 2011-05-26 11:27:57 UTC
Crash is in libkexiv2 (probably in Exiv2 library in fact)

Which version you use ? Go to Help/components info for details...

Gilles Caulier
Comment 2 caulier.gilles 2011-07-06 11:15:39 UTC
We need feedback using a recent version. 2.0.0 RC is out, please test...

Thanks in advance

Gilles Caulier
Comment 3 caulier.gilles 2011-11-03 12:42:21 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 4 caulier.gilles 2015-07-02 05:04:54 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 5 caulier.gilles 2016-07-14 12:46:04 UTC
This problem is not reproducible using last digiKam 5.0.0 + Exiv2 0.25.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier