Bug 265670 - Digikam crashes when generating thumbnails and fingerprints in parallel
Summary: Digikam crashes when generating thumbnails and fingerprints in parallel
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Similarity (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 07:20 UTC by Mark Szentes-Wanner
Modified: 2019-12-25 07:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Szentes-Wanner 2011-02-07 07:20:51 UTC
Application: digikam (1.4.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I started  generating thumbnails and fingerprints in parallel

-- Backtrace:
Application: digiKam (digikam), signal: Floating point exception
[Current thread is 1 (Thread 0xb6647740 (LWP 4552))]

Thread 15 (Thread 0xb4341b70 (LWP 4553)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x004514dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03fd29c7 in wait (this=0x9106970, mutex=0x910696c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x9106970, mutex=0x910696c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x083310a4 in Digikam::ScanController::run (this=0x90fc8e8) at /build/buildd/digikam-1.4.0/digikam/scancontroller.cpp:515
#5  0x03fd1df9 in QThreadPrivate::start (arg=0x90fc8e8) at thread/qthread_unix.cpp:266
#6  0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#7  0x03e5869e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb3b40b70 (LWP 4559)):
#0  0x024b6e36 in clock_gettime () from /lib/librt.so.1
#1  0x0402d50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x041046e5 in QTimerInfoList::updateCurrentTime (this=0x96026fc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0410472a in QTimerInfoList::timerWait (this=0x96026fc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x041027a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3b400cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0410283d in timerSourcePrepare (source=0x0, timeout=0x24baff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02389e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0238a279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0410259f in QEventDispatcherGlib::processEvents (this=0x9600f90, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x040d2609 in QEventLoop::processEvents (this=0xb3b402a0, flags=) at kernel/qeventloop.cpp:149
#12 0x040d2a8a in QEventLoop::exec (this=0xb3b402a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x03fceb7e in QThread::exec (this=0x95fd1d8) at thread/qthread.cpp:490
#14 0x005e259d in Digikam::ImageFilterModelWorker::Thread::run (this=0x95fd1d8) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#15 0x03fd1df9 in QThreadPrivate::start (arg=0x95fd1d8) at thread/qthread_unix.cpp:266
#16 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#17 0x03e5869e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb333fb70 (LWP 4560)):
#0  0x024b6e36 in clock_gettime () from /lib/librt.so.1
#1  0x0402d50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x041046e5 in QTimerInfoList::updateCurrentTime (this=0x96031c4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0410472a in QTimerInfoList::timerWait (this=0x96031c4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x041027a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb333f0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0410283d in timerSourcePrepare (source=0x0, timeout=0x24baff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02389e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0238a279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0410259f in QEventDispatcherGlib::processEvents (this=0x95fe810, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x040d2609 in QEventLoop::processEvents (this=0xb333f2a0, flags=) at kernel/qeventloop.cpp:149
#12 0x040d2a8a in QEventLoop::exec (this=0xb333f2a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x03fceb7e in QThread::exec (this=0x95fe890) at thread/qthread.cpp:490
#14 0x005e259d in Digikam::ImageFilterModelWorker::Thread::run (this=0x95fe890) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#15 0x03fd1df9 in QThreadPrivate::start (arg=0x95fe890) at thread/qthread_unix.cpp:266
#16 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#17 0x03e5869e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xae4d3b70 (LWP 4561)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x004514dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03fd29c7 in wait (this=0x95ff1f8, mutex=0x95ff1f4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x95ff1f8, mutex=0x95ff1f4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x0609c2d2 in Digikam::ParkingThread::run (this=0x95ff1e8) at /build/buildd/digikam-1.4.0/libs/threads/threadmanager.cpp:101
#5  0x03fd1df9 in QThreadPrivate::start (arg=0x95ff1e8) at thread/qthread_unix.cpp:266
#6  0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#7  0x03e5869e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xadcd2b70 (LWP 4562)):
#0  0x024b6e36 in clock_gettime () from /lib/librt.so.1
#1  0x0402d50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x041046e5 in QTimerInfoList::updateCurrentTime (this=0x96d2a7c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0410472a in QTimerInfoList::timerWait (this=0x96d2a7c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x041027a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xadcd20ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0410283d in timerSourcePrepare (source=0x0, timeout=0x24baff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02389e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0238a279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0410259f in QEventDispatcherGlib::processEvents (this=0x96d0018, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x040d2609 in QEventLoop::processEvents (this=0xadcd22c0, flags=) at kernel/qeventloop.cpp:149
#12 0x040d2a8a in QEventLoop::exec (this=0xadcd22c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x03fceb7e in QThread::exec (this=0x961cc80) at thread/qthread.cpp:490
#14 0x03fd1df9 in QThreadPrivate::start (arg=0x961cc80) at thread/qthread_unix.cpp:266
#15 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#16 0x03e5869e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xad4d1b70 (LWP 4563)):
#0  0x02384fd2 in g_main_context_query () from /lib/libglib-2.0.so.0
#1  0x0238a2c4 in ?? () from /lib/libglib-2.0.so.0
#2  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0410259f in QEventDispatcherGlib::processEvents (this=0x961c8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x040d2609 in QEventLoop::processEvents (this=0xad4d12c0, flags=) at kernel/qeventloop.cpp:149
#5  0x040d2a8a in QEventLoop::exec (this=0xad4d12c0, flags=...) at kernel/qeventloop.cpp:201
#6  0x03fceb7e in QThread::exec (this=0x9623a30) at thread/qthread.cpp:490
#7  0x03fd1df9 in QThreadPrivate::start (arg=0x9623a30) at thread/qthread_unix.cpp:266
#8  0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#9  0x03e5869e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xa60ebb70 (LWP 4566)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x00451884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x028a4b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xa54dfb70 (LWP 4567)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x03e51371 in select () from /lib/libc.so.6
#2  0x028d0f1c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 7 (Thread 0xa4cdeb70 (LWP 4568)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x03e49df6 in poll () from /lib/libc.so.6
#2  0x02397a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0238a43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0410259f in QEventDispatcherGlib::processEvents (this=0x9cc76f8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x040d2609 in QEventLoop::processEvents (this=0xa4cde250, flags=) at kernel/qeventloop.cpp:149
#7  0x040d2a8a in QEventLoop::exec (this=0xa4cde250, flags=...) at kernel/qeventloop.cpp:201
#8  0x03fceb7e in QThread::exec (this=0x9cc7310) at thread/qthread.cpp:490
#9  0x0680281a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x03fd1df9 in QThreadPrivate::start (arg=0x9cc7310) at thread/qthread_unix.cpp:266
#11 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#12 0x03e5869e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa44ddb70 (LWP 4569)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x03e49df6 in poll () from /lib/libc.so.6
#2  0x02c12562 in ?? () from /usr/lib/libpulse.so.0
#3  0x02bfeab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x02c00a73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x02c00b44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x02c12303 in ?? () from /usr/lib/libpulse.so.0
#7  0x024f7bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#9  0x03e5869e in clone () from /lib/libc.so.6

Thread 5 (Thread 0x9fcdbb70 (LWP 4570)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x004514dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x028b6b54 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0x9f4dab70 (LWP 4571)):
#0  0x024b6e36 in clock_gettime () from /lib/librt.so.1
#1  0x0402d50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x041046e5 in QTimerInfoList::updateCurrentTime (this=0x9f27ca4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0410472a in QTimerInfoList::timerWait (this=0x9f27ca4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x041027a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x9f4da08c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0410283d in timerSourcePrepare (source=0x0, timeout=0x24baff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02389e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x0238a279 in ?? () from /lib/libglib-2.0.so.0
#9  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0410259f in QEventDispatcherGlib::processEvents (this=0x9f28428, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x040d2609 in QEventLoop::processEvents (this=0x9f4da260, flags=) at kernel/qeventloop.cpp:149
#12 0x040d2a8a in QEventLoop::exec (this=0x9f4da260, flags=...) at kernel/qeventloop.cpp:201
#13 0x03fceb7e in QThread::exec (this=0x9f21830) at thread/qthread.cpp:490
#14 0x040b135b in QInotifyFileSystemWatcherEngine::run (this=0x9f21830) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x03fd1df9 in QThreadPrivate::start (arg=0x9f21830) at thread/qthread_unix.cpp:266
#16 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#17 0x03e5869e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x9ebf9b70 (LWP 4582)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x03e49df6 in poll () from /lib/libc.so.6
#2  0x02397a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0238a43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0410259f in QEventDispatcherGlib::processEvents (this=0xad28688, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x040d2609 in QEventLoop::processEvents (this=0x9ebf9260, flags=) at kernel/qeventloop.cpp:149
#7  0x040d2a8a in QEventLoop::exec (this=0x9ebf9260, flags=...) at kernel/qeventloop.cpp:201
#8  0x03fceb7e in QThread::exec (this=0xad29eb8) at thread/qthread.cpp:490
#9  0x040b135b in QInotifyFileSystemWatcherEngine::run (this=0xad29eb8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03fd1df9 in QThreadPrivate::start (arg=0xad29eb8) at thread/qthread_unix.cpp:266
#11 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#12 0x03e5869e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9dbf7b70 (LWP 4622)):
#0  0x001fd416 in __kernel_vsyscall ()
#1  0x03e49df6 in poll () from /lib/libc.so.6
#2  0x02397a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0238a43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0410259f in QEventDispatcherGlib::processEvents (this=0xcd6dc10, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x040d2609 in QEventLoop::processEvents (this=0x9dbf7260, flags=) at kernel/qeventloop.cpp:149
#7  0x040d2a8a in QEventLoop::exec (this=0x9dbf7260, flags=...) at kernel/qeventloop.cpp:201
#8  0x03fceb7e in QThread::exec (this=0xccb6a20) at thread/qthread.cpp:490
#9  0x040b135b in QInotifyFileSystemWatcherEngine::run (this=0xccb6a20) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03fd1df9 in QThreadPrivate::start (arg=0xccb6a20) at thread/qthread_unix.cpp:266
#11 0x0044ccc9 in start_thread () from /lib/libpthread.so.0
#12 0x03e5869e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6647740 (LWP 4552)):
[KCrash Handler]
#7  0x05eff163 in Digikam::DImgScale::dimgCalcXPoints (sw=1, dw=0) at /build/buildd/digikam-1.4.0/libs/dimg/dimgscale.cpp:333
#8  0x05eff33a in Digikam::DImgScale::dimgCalcScaleInfo (img=..., sw=1, sh=140, dw=0, dh=128, aa=true) at /build/buildd/digikam-1.4.0/libs/dimg/dimgscale.cpp:404
#9  0x05eff9f6 in Digikam::DImg::smoothScale (this=0xbf88f88c, dw=128, dh=128, aspectRatioMode=Qt::KeepAspectRatio) at /build/buildd/digikam-1.4.0/libs/dimg/dimgscale.cpp:128
#10 0x08186956 in Digikam::FingerPrintsGenerator::slotGotImagePreview (this=0xbe51b10, desc=..., img=...) at /build/buildd/digikam-1.4.0/utilities/batch/fingerprintsgenerator.cpp:174
#11 0x08186b0b in Digikam::FingerPrintsGenerator::qt_metacall (this=0xbe51b10, _c=QMetaObject::InvokeMetaMethod, _id=86, _a=0xa80c0550) at /build/buildd/digikam-1.4.0/obj-i686-linux-gnu/digikam/fingerprintsgenerator.moc:83
#12 0x040d98ca in QMetaObject::metacall (object=0xbe51b10, cl=189727752, idx=86, argv=0xa80c0550) at kernel/qmetaobject.cpp:237
#13 0x040e4df6 in QMetaCallEvent::placeMetaCall (this=0xa8caa1e0, object=0xbe51b10) at kernel/qobject.cpp:534
#14 0x040e66a2 in QObject::event (this=0xbe51b10, e=0x0) at kernel/qobject.cpp:1219
#15 0x0170d936 in QWidget::event (this=0xbe51b10, event=0xa8caa1e0) at kernel/qwidget.cpp:8646
#16 0x016affdc in QApplicationPrivate::notify_helper (this=0x8fb01d8, receiver=0xbe51b10, e=0xa8caa1e0) at kernel/qapplication.cpp:4396
#17 0x016b60e9 in QApplication::notify (this=0xbf89033c, receiver=0xbe51b10, e=0xa8caa1e0) at kernel/qapplication.cpp:4361
#18 0x013a568a in KApplication::notify (this=0xbf89033c, receiver=0xbe51b10, event=0xa8caa1e0) at ../../kdeui/kernel/kapplication.cpp:310
#19 0x040d3b3b in QCoreApplication::notifyInternal (this=0xbf89033c, receiver=0xbe51b10, event=0xa8caa1e0) at kernel/qcoreapplication.cpp:732
#20 0x040d6d8b in sendEvent (receiver=0x0, event_type=0, data=0x8f832b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8f832b8) at kernel/qcoreapplication.cpp:1373
#22 0x040d6f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#23 0x04102a74 in sendPostedEvents (s=0x8fb2578) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x8fb2578) at kernel/qeventdispatcher_glib.cpp:277
#25 0x02386855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x0238a668 in ?? () from /lib/libglib-2.0.so.0
#27 0x0238a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x04102565 in QEventDispatcherGlib::processEvents (this=0x8f82d68, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#29 0x01771be5 in QGuiEventDispatcherGlib::processEvents (this=0x8f82d68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x040d2609 in QEventLoop::processEvents (this=0xbf890224, flags=) at kernel/qeventloop.cpp:149
#31 0x040d2a8a in QEventLoop::exec (this=0xbf890224, flags=...) at kernel/qeventloop.cpp:201
#32 0x040d700f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x016aee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#34 0x083c06b3 in main (argc=5, argv=0xbf8907a4) at /build/buildd/digikam-1.4.0/digikam/main.cpp:195

This bug may be a duplicate of or related to bug 207710.

Possible duplicates by query: bug 253382, bug 242438, bug 218256, bug 195652.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-02-07 12:19:33 UTC

*** This bug has been marked as a duplicate of bug 207710 ***
Comment 2 caulier.gilles 2019-12-25 07:26:06 UTC
Not reproducible using digiKam 7.0.0 beta1.