Bug 330974 - DigiKam crashed when regenerating thumbnails in album
Summary: DigiKam crashed when regenerating thumbnails in album
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-IconView (show other bugs)
Version: 3.4.0
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 09:21 UTC by Lukáš Karas
Modified: 2019-08-09 18:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukáš Karas 2014-02-10 09:21:28 UTC
When I request thumbnails rebuild (Album > Rebuild Thumbnails In Current Album) digikam crash or gui freeze. It happens just on specific album with 358 photos. If I select different album, rebuild works well. I don't know if this behavior is caused by concrete photo.

I tried delete thumbnails-digikam.db, but it doesn't helps.

Reproducible: Always

Steps to Reproduce:
1. Select problematic album
2. Album > Rebuild Thumbnails In Current Album
Actual Results:  
DigiKam crash or gui freeze.


Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f2da3d0ea80 (LWP 30835))]

Thread 19 (Thread 0x7f2d80ae0700 (LWP 30836)):
#0  0x00007f2d9d675f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2d867b0198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f2d989cdf6e in start_thread (arg=0x7f2d80ae0700) at pthread_create.c:311
#3  0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 18 (Thread 0x7f2d7a211700 (LWP 30840)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x1170bd0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1170ae0, mutex=mutex@entry=0x1170ad8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5c4e in Digikam::ScanController::run (this=0x12e2b90) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x12e2b90) at thread/qthread_unix.cpp:349
#5  0x00007f2d989cdf6e in start_thread (arg=0x7f2d7a211700) at pthread_create.c:311
#6  0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 17 (Thread 0x7f2d79a10700 (LWP 30841)):
#0  0x00007f2d95fe00ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2d95fe03c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2d95fa05b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2d95fa07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2d9e594af6 in QEventDispatcherGlib::processEvents (this=0x7f2d6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f2d9e56630f in QEventLoop::processEvents (this=this@entry=0x7f2d79a0fab0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2d9e566605 in QEventLoop::exec (this=this@entry=0x7f2d79a0fab0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2d9e462c4f in QThread::exec (this=this@entry=0x1172c50) at thread/qthread.cpp:537
#8  0x00007f2d9e547a33 in QInotifyFileSystemWatcherEngine::run (this=0x1172c50) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x1172c50) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d79a10700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 16 (Thread 0x7f2d7920f700 (LWP 31171)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x1539750) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1558710, mutex=mutex@entry=0x1558708, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12e516a in Digikam::ParkingThread::run (this=0x15586f0) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x15586f0) at thread/qthread_unix.cpp:349
#5  0x00007f2d989cdf6e in start_thread (arg=0x7f2d7920f700) at pthread_create.c:311
#6  0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 15 (Thread 0x7f2d6b800700 (LWP 31173)):
#0  0x00007f2d9d675f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2d95fa06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2d95fa07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2d9e594af6 in QEventDispatcherGlib::processEvents (this=0x7f2d640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f2d9e56630f in QEventLoop::processEvents (this=this@entry=0x7f2d6b7ffab0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2d9e566605 in QEventLoop::exec (this=this@entry=0x7f2d6b7ffab0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2d9e462c4f in QThread::exec (this=this@entry=0x180b440) at thread/qthread.cpp:537
#7  0x00007f2d9e547a33 in QInotifyFileSystemWatcherEngine::run (this=0x180b440) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x180b440) at thread/qthread_unix.cpp:349
#9  0x00007f2d989cdf6e in start_thread (arg=0x7f2d6b800700) at pthread_create.c:311
#10 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 14 (Thread 0x7f2d52ffd700 (LWP 1956)):
#0  0x00007f2d95fe00e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2d95fe0399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2d95fa012c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2d95fa063b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2d95fa07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2d9e594af6 in QEventDispatcherGlib::processEvents (this=0x7f2d1406a500, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f2d9e56630f in QEventLoop::processEvents (this=this@entry=0x7f2d52ffca70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2d9e566605 in QEventLoop::exec (this=this@entry=0x7f2d52ffca70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f2da12e4813 in Digikam::WorkerObjectRunnable::run (this=0x3f0fd20) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f2d9e458fce in QThreadPoolThread::run (this=0x2b0a290) at concurrent/qthreadpool.cpp:108
#10 0x00007f2d9e46531f in QThreadPrivate::start (arg=0x2b0a290) at thread/qthread_unix.cpp:349
#11 0x00007f2d989cdf6e in start_thread (arg=0x7f2d52ffd700) at pthread_create.c:311
#12 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 13 (Thread 0x7f2d39ffb700 (LWP 1957)):
#0  0x00007f2d9d675f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2d95fa06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2d95fa07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2d9e594af6 in QEventDispatcherGlib::processEvents (this=0x7f2d28023810, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f2d9e56630f in QEventLoop::processEvents (this=this@entry=0x7f2d39ffaa70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2d9e566605 in QEventLoop::exec (this=this@entry=0x7f2d39ffaa70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2da12e4813 in Digikam::WorkerObjectRunnable::run (this=0x7f2d141fd7c0) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f2d9e458fce in QThreadPoolThread::run (this=0x2f92810) at concurrent/qthreadpool.cpp:108
#8  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x2f92810) at thread/qthread_unix.cpp:349
#9  0x00007f2d989cdf6e in start_thread (arg=0x7f2d39ffb700) at pthread_create.c:311
#10 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 12 (Thread 0x7f2d62d87700 (LWP 17497)):
#0  0x00007f2d95f9fd54 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2d95fa05c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2d95fa07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2d9e594af6 in QEventDispatcherGlib::processEvents (this=0x7f2cf80915b0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f2d9e56630f in QEventLoop::processEvents (this=this@entry=0x7f2d62d86a70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2d9e566605 in QEventLoop::exec (this=this@entry=0x7f2d62d86a70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2da12e4813 in Digikam::WorkerObjectRunnable::run (this=0x7f2d141fd760) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f2d9e458fce in QThreadPoolThread::run (this=0x2f95e60) at concurrent/qthreadpool.cpp:108
#8  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x2f95e60) at thread/qthread_unix.cpp:349
#9  0x00007f2d989cdf6e in start_thread (arg=0x7f2d62d87700) at pthread_create.c:311
#10 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 11 (Thread 0x7f2d63fff700 (LWP 17850)):
[KCrash Handler]
#6  0x00007f2d9d5bef77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f2d9d5c25e8 in __GI_abort () at abort.c:90
#8  0x00007f2d9e45ac72 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x7f2d30150f58 "Fatal Error: Accessed global static 'FileReadWriteLockStaticPrivate *static_d()' after destruction. Defined at /build/buildd/digikam-3.4.0/core/libs/threadimageio/filereadwritelock.cpp:385") at global/qglobal.cpp:2383
#9  0x00007f2d9e45afd9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f2da13ea950 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7f2d63ffe358) at global/qglobal.cpp:2429
#10 0x00007f2d9e45b7e4 in qFatal (msg=msg@entry=0x7f2da13ea950 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612
#11 0x00007f2da12b7c9f in operator-> (this=<optimized out>) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/filereadwritelock.cpp:385
#12 Digikam::FileReadLocker::FileReadLocker (this=0x7f2d63ffe480, filePath=...) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/filereadwritelock.cpp:437
#13 0x00007f2da1275abb in Digikam::DMetadata::load (this=this@entry=0x7f2d63ffe650, filePath=...) at /build/buildd/digikam-3.4.0/core/libs/dmetadata/dmetadata.cpp:108
#14 0x00007f2da1275b42 in Digikam::DMetadata::DMetadata (this=0x7f2d63ffe650, filePath=...) at /build/buildd/digikam-3.4.0/core/libs/dmetadata/dmetadata.cpp:72
#15 0x00007f2da12cec65 in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0x255b150, info=..., detailRect=...) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailcreator.cpp:440
#16 0x00007f2da12d1c56 in Digikam::ThumbnailCreator::load (this=0x255b150, path=..., rect=..., pregenerate=pregenerate@entry=false) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailcreator.cpp:260
#17 0x00007f2da12d2aa2 in Digikam::ThumbnailCreator::load (this=<optimized out>, path=...) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailcreator.cpp:199
#18 0x00007f2da12e1107 in Digikam::ThumbnailLoadingTask::execute (this=0x7f2d0408a880) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailtask.cpp:172
#19 0x00007f2da12b9436 in Digikam::LoadSaveThread::run (this=0x255ae00) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/loadsavethread.cpp:136
#20 0x00007f2da12e6fae in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x255af00) at /build/buildd/digikam-3.4.0/core/libs/threads/dynamicthread.cpp:186
#21 0x00007f2d9e458fce in QThreadPoolThread::run (this=0x2f93ba0) at concurrent/qthreadpool.cpp:108
#22 0x00007f2d9e46531f in QThreadPrivate::start (arg=0x2f93ba0) at thread/qthread_unix.cpp:349
#23 0x00007f2d989cdf6e in start_thread (arg=0x7f2d63fff700) at pthread_create.c:311
#24 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7f2d537fe700 (LWP 17854)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x5eabe30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x59b31a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da17365b1 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.22
#4  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x57bb440) at thread/qthread_unix.cpp:349
#5  0x00007f2d989cdf6e in start_thread (arg=0x7f2d537fe700) at pthread_create.c:311
#6  0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f2d19ffb700 (LWP 17855)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x5735ea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3f2cac0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x5976350) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x1ac5260) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d19ffaa90, th=th@entry=0x7f2d440b09f0, job=job@entry=0x1ac5260) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x1ac5260, th=0x7f2d440b09f0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3d02650, t=0x7f2d440b09f0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2d440b09f0) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2d440b09f0) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d19ffb700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f2d62586700 (LWP 17856)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x58e1130) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4835180, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x2d3fe70) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x3f46d60) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d62585a90, th=th@entry=0x7f2cec06f5b0, job=job@entry=0x3f46d60) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x3f46d60, th=0x7f2cec06f5b0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x1352530, t=0x7f2cec06f5b0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec06f5b0) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec06f5b0) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d62586700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f2d61d85700 (LWP 17857)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x57de9b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x44de810, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x4371b80) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x5393170) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d61d84a90, th=th@entry=0x7f2cec06f180, job=job@entry=0x5393170) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x5393170, th=0x7f2cec06f180) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x5642e50, t=0x7f2cec06f180) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec06f180) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec06f180) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d61d85700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f2d61584700 (LWP 17858)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x3cc5a60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5db8800, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x36ef060) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x52f2ba0) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d61583a90, th=th@entry=0x7f2cec0c5ed0, job=job@entry=0x52f2ba0) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x52f2ba0, th=0x7f2cec0c5ed0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x52d8870, t=0x7f2cec0c5ed0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec0c5ed0) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec0c5ed0) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d61584700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f2d60d83700 (LWP 17859)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x5701a80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4846f30, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x3e67530) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x3f24f70) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d60d82a90, th=th@entry=0x7f2cec028fd0, job=job@entry=0x3f24f70) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x3f24f70, th=0x7f2cec028fd0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x4c79180, t=0x7f2cec028fd0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec028fd0) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec028fd0) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d60d83700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f2d53fff700 (LWP 17860)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x588ba90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4b26110, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x21b7f10) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x579fbf0) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d53ffea90, th=th@entry=0x7f2cec028ff0, job=job@entry=0x579fbf0) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x579fbf0, th=0x7f2cec028ff0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3cce2d0, t=0x7f2cec028ff0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec028ff0) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec028ff0) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d53fff700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f2d527fc700 (LWP 17861)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x3e6e6a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3daf340, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x5379290) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x4cce910) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d527fba90, th=th@entry=0x7f2cec0d7e70, job=job@entry=0x4cce910) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x4cce910, th=0x7f2cec0d7e70) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x536bcd0, t=0x7f2cec0d7e70) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec0d7e70) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec0d7e70) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d527fc700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f2d51ffb700 (LWP 17862)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x5e8ec60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4a90580, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12d6974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x3caf870) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x5f0b4e0) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2da2394cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2d51ffaa90, th=th@entry=0x7f2cec029660, job=job@entry=0x5f0b4e0) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2da2394e6e in ThreadWeaver::Job::execute (this=0x5f0b4e0, th=0x7f2cec029660) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f2da239690b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3c656c0, t=0x7f2cec029660) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f2da23946bb in ThreadWeaver::Thread::run (this=0x7f2cec029660) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f2d9e46531f in QThreadPrivate::start (arg=0x7f2cec029660) at thread/qthread_unix.cpp:349
#10 0x00007f2d989cdf6e in start_thread (arg=0x7f2d51ffb700) at pthread_create.c:311
#11 0x00007f2d9d6829cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f2da3d0ea80 (LWP 30835)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2d9e465806 in wait (time=18446744073709551615, this=0x255af80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x255af30, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f2da12e6618 in Digikam::DynamicThread::wait (this=this@entry=0x255ae00, locker=...) at /build/buildd/digikam-3.4.0/core/libs/threads/dynamicthread.cpp:351
#4  0x00007f2da12e6694 in Digikam::DynamicThread::shutDown (this=this@entry=0x255ae00) at /build/buildd/digikam-3.4.0/core/libs/threads/dynamicthread.cpp:222
#5  0x00007f2da12bca11 in Digikam::ManagedLoadSaveThread::shutDown (this=this@entry=0x255ae00) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/managedloadsavethread.cpp:94
#6  0x00007f2da12d476f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x255ae00, __in_chrg=<optimized out>) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:177
#7  0x00007f2da12d48a9 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x255ae00, __in_chrg=<optimized out>) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:180
#8  0x00007f2d9d5c4071 in __run_exit_handlers (status=1, listp=0x7f2d9d9496a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#9  0x00007f2d9d5c40f5 in __GI_exit (status=<optimized out>) at exit.c:99
#10 0x00007f2d9efc0958 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:783
#11 0x00007f2d9fc63820 in KApplication::xioErrhandler (this=0x7fff7fbc44f0, dpy=0xfe31a0) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f2d9bb7c64e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f2d9bb7a7c5 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f2d9bb6092d in XGetImage () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f2d9f0420bc in QX11PixmapData::transformed (this=0x3eb3bf0, transform=..., mode=<optimized out>) at image/qpixmap_x11.cpp:1929
#16 0x00007f2d9f02b530 in QPixmap::transformed (this=this@entry=0x7fff7fbc37d0, transform=..., mode=mode@entry=Qt::FastTransformation) at image/qpixmap.cpp:1608
#17 0x00007f2d9f02b83e in QPixmap::scaled (this=this@entry=0x7fff7fbc37d0, s=..., aspectMode=aspectMode@entry=Qt::KeepAspectRatio, mode=mode@entry=Qt::FastTransformation) at image/qpixmap.cpp:1524
#18 0x00007f2da1293bc5 in scaled (mode=Qt::FastTransformation, aspectMode=Qt::KeepAspectRatio, h=22, w=22, this=0x7fff7fbc37d0) at /usr/include/qt4/QtGui/qpixmap.h:134
#19 Digikam::ProgressItem::setThumbnail (this=this@entry=0x5e01b80, thumb=...) at /build/buildd/digikam-3.4.0/core/libs/progressmanager/progressmanager.cpp:198
#20 0x000000000051c0f9 in Digikam::ThumbsGenerator::slotAdvance (this=0x5e01b80, img=...) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbsgenerator.cpp:196
#21 0x00007f2d9e57bae8 in QMetaObject::activate (sender=0x57bb440, m=m@entry=0x82b6c0 <Digikam::MaintenanceThread::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff7fbc39a0) at kernel/qobject.cpp:3539
#22 0x00000000005246d4 in signalAdvance (_t1=..., this=<optimized out>) at /build/buildd/digikam-3.4.0/obj-x86_64-linux-gnu/core/digikam/maintenancethread.moc:108
#23 Digikam::MaintenanceThread::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/digikam-3.4.0/obj-x86_64-linux-gnu/core/digikam/maintenancethread.moc:56
#24 0x00007f2d9e57fe9e in QObject::event (this=0x57bb440, e=<optimized out>) at kernel/qobject.cpp:1194
#25 0x00007f2d9ef59e7c in QApplicationPrivate::notify_helper (this=this@entry=0xfe0660, receiver=receiver@entry=0x57bb440, e=e@entry=0x7f2d3c023470) at kernel/qapplication.cpp:4567
#26 0x00007f2d9ef604f0 in QApplication::notify (this=this@entry=0x7fff7fbc44f0, receiver=receiver@entry=0x57bb440, e=e@entry=0x7f2d3c023470) at kernel/qapplication.cpp:4353
#27 0x00007f2d9fc64c6a in KApplication::notify (this=0x7fff7fbc44f0, receiver=0x57bb440, event=0x7f2d3c023470) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f2d9e56773d in QCoreApplication::notifyInternal (this=0x7fff7fbc44f0, receiver=receiver@entry=0x57bb440, event=event@entry=0x7f2d3c023470) at kernel/qcoreapplication.cpp:953
#29 0x00007f2d9e56adaf in sendEvent (event=0x7f2d3c023470, receiver=0x57bb440) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xf50d70) at kernel/qcoreapplication.cpp:1577
#31 0x00007f2d9e56b253 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#32 0x00007f2d9e595213 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0xfd1f80) at kernel/qeventdispatcher_glib.cpp:280
#34 0x00007f2d95fa03b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f2d95fa0708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f2d95fa07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f2d9e594ad5 in QEventDispatcherGlib::processEvents (this=0xf19370, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#38 0x00007f2d9effbcb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f2d9e56630f in QEventLoop::processEvents (this=this@entry=0x7fff7fbc3fd0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f2d9e566605 in QEventLoop::exec (this=this@entry=0x7fff7fbc3fd0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f2d9e56bdeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#42 0x00007f2d9ef583cc in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x0000000000491ef3 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/main/main.cpp:235
Comment 1 caulier.gilles 2014-02-10 09:26:46 UTC

*** This bug has been marked as a duplicate of bug 326959 ***
Comment 2 caulier.gilles 2019-08-09 18:24:51 UTC
Fixed with bug #326959