Bug 281431

Summary: crash while conducting batch services
Product: [Applications] digikam Reporter: Axel Krebs <axel.krebs>
Component: Database-BalooAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Axel Krebs 2011-09-05 20:53:31 UTC
Application: digikam (2.0.0-rc)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Doing batches (3 steps: sharping, watermarking and apply metadata)
220 jpg pics from 300 to 700 kB

The crash can be reproduced every time.

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

Thread 13 (Thread 0xae7fcb70 (LWP 7056)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb44a9df6 in poll () from /lib/libc.so.6
#2  0xb325aa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb324d43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb324dba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb27fe9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb327448f in ?? () from /lib/libglib-2.0.so.0
#7  0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb44b869e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xabf72b70 (LWP 7060)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb43d84dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb44c5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb48479c7 in wait (this=0xa3f74c4, mutex=0xa3f74c0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa3f74c4, mutex=0xa3f74c0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x0822a249 in Digikam::ScanController::run (this=0xa3ef448) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/database/scancontroller.cpp:618
#6  0xb4846df9 in QThreadPrivate::start (arg=0xa3ef448) at thread/qthread_unix.cpp:266
#7  0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb44b869e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xab771b70 (LWP 7061)):
#0  0xb2e9ee36 in clock_gettime () from /lib/librt.so.1
#1  0xb48a250b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb49796e5 in QTimerInfoList::updateCurrentTime (this=0xa3cecb4) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb497972a in QTimerInfoList::timerWait (this=0xa3cecb4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb49777a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xab770f1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb497783d in timerSourcePrepare (source=0x0, timeout=0xb2ea2ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb324ce6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb324d279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb324d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb497759f in QEventDispatcherGlib::processEvents (this=0xa3be6f8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb4947609 in QEventLoop::processEvents (this=0xab7710f0, flags=) at kernel/qeventloop.cpp:149
#12 0xb4947a8a in QEventLoop::exec (this=0xab7710f0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb4843b7e in QThread::exec (this=0xa3bddd8) at thread/qthread.cpp:490
#14 0xb492635b in QInotifyFileSystemWatcherEngine::run (this=0xa3bddd8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb4846df9 in QThreadPrivate::start (arg=0xa3bddd8) at thread/qthread_unix.cpp:266
#16 0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#17 0xb44b869e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xaadffb70 (LWP 7070)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb43d84dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb44c5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb48479c7 in wait (this=0xaae2ca10, mutex=0xaae2ca0c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xaae2ca10, mutex=0xaae2ca0c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb67da2aa in Digikam::ParkingThread::run (this=0xaae2ca00) at /build/buildd/digikam2-2.0.0~rc1/core/libs/threads/threadmanager.cpp:119
#6  0xb4846df9 in QThreadPrivate::start (arg=0xaae2ca00) at thread/qthread_unix.cpp:266
#7  0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb44b869e in clone () from /lib/libc.so.6

Thread 9 (Thread 0x9da11b70 (LWP 7071)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb43d8884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb44c5df4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xaaf11b3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0x9cde8b70 (LWP 7072)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb44b1371 in select () from /lib/libc.so.6
#2  0xaaf3df1c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 7 (Thread 0x9c5e7b70 (LWP 7073)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb44a9df6 in poll () from /lib/libc.so.6
#2  0xb325aa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb324d43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb324d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb497759f in QEventDispatcherGlib::processEvents (this=0xadd0698, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0xb4947609 in QEventLoop::processEvents (this=0x9c5e70e0, flags=) at kernel/qeventloop.cpp:149
#7  0xb4947a8a in QEventLoop::exec (this=0x9c5e70e0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb4843b7e in QThread::exec (this=0xadd0548) at thread/qthread.cpp:490
#9  0xa1bf5d7a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0xb4846df9 in QThreadPrivate::start (arg=0xadd0548) at thread/qthread_unix.cpp:266
#11 0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#12 0xb44b869e in clone () from /lib/libc.so.6

Thread 6 (Thread 0x9bde6b70 (LWP 7074)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb44a9df6 in poll () from /lib/libc.so.6
#2  0xb43bc562 in ?? () from /usr/lib/libpulse.so.0
#3  0xb43a8ab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb43aaa73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb43aab44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb43bc303 in ?? () from /usr/lib/libpulse.so.0
#7  0xb2e63bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#9  0xb44b869e in clone () from /lib/libc.so.6

Thread 5 (Thread 0x973ffb70 (LWP 7075)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb43d84dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb44c5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xaaf23b54 in ?? () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 4 (Thread 0x965ffb70 (LWP 7492)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb43d84dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb44c5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb48479c7 in wait (this=0xbafe4a0, mutex=0xbafe49c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xbafe4a0, mutex=0xbafe49c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x08369596 in Digikam::ActionThread::run (this=0xbaf52a0) at /build/buildd/digikam2-2.0.0~rc1/core/utilities/queuemanager/manager/actionthread.cpp:164
#6  0xb4846df9 in QThreadPrivate::start (arg=0xbaf52a0) at thread/qthread_unix.cpp:266
#7  0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb44b869e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x94dfcb70 (LWP 7493)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb43d84dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb44c5d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4845ef2 in QMutexPrivate::wait (this=0xca07aa0, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb48415ea in QMutex::lock (this=0xb6127c50) at thread/qmutex.cpp:204
#5  0xb60cd52d in KLoadFileMetaDataThread::run (this=0xc6a4ed0) at ../../kio/kfile/kloadfilemetadatathread.cpp:140
#6  0xb4846df9 in QThreadPrivate::start (arg=0xc6a4ed0) at thread/qthread_unix.cpp:266
#7  0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb44b869e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x95dfeb70 (LWP 7494)):
[KCrash Handler]
#7  0xb3691b88 in vtable for Exiv2::ExifKey () from /usr/lib/libexiv2.so.10
#8  0x90776f5e in JpegEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#9  0xb31626c2 in ?? () from /usr/lib/libstreamanalyzer.so.0
#10 0xb5fc20d2 in KFileMetaInfoPrivate::init (this=0xc489848, stream=..., url=..., mtime=1315255427, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#11 0xb5fc4248 in KFileMetaInfo::KFileMetaInfo (this=0x95dfe11c, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#12 0xb60cd587 in KLoadFileMetaDataThread::run (this=0x93f221d0) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#13 0xb4846df9 in QThreadPrivate::start (arg=0x93f221d0) at thread/qthread_unix.cpp:266
#14 0xb43d3cc9 in start_thread () from /lib/libpthread.so.0
#15 0xb44b869e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaece48b0 (LWP 7055)):
#0  0xb7842424 in __kernel_vsyscall ()
#1  0xb44a9df6 in poll () from /lib/libc.so.6
#2  0xb2e79d90 in ?? () from /usr/lib/libxcb.so.1
#3  0xb2e7bca2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb41f0016 in _XReply () from /usr/lib/libX11.so.6
#5  0xb41dd59d in XQueryPointer () from /usr/lib/libX11.so.6
#6  0xb4f49b00 in QCursor::pos () at kernel/qcursor_x11.cpp:158
#7  0xb4eae961 in QApplicationPrivate::dispatchEnterLeave (enter=0xc62fcc0, leave=0x0) at kernel/qapplication.cpp:2717
#8  0xb4f3c2b1 in QApplication::x11ProcessEvent (this=0xbfed85ec, event=0xbfed73fc) at kernel/qapplication_x11.cpp:3532
#9  0xb4f6c36a in x11EventSourceDispatch (s=0xa3222e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#10 0xb3249855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#11 0xb324d668 in ?? () from /lib/libglib-2.0.so.0
#12 0xb324d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#13 0xb4977565 in QEventDispatcherGlib::processEvents (this=0xa2e3710, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#14 0xb4f6bbe5 in QGuiEventDispatcherGlib::processEvents (this=0xa2e3710, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#15 0xb4947609 in QEventLoop::processEvents (this=0xbfed76f0, flags=) at kernel/qeventloop.cpp:149
#16 0xb4947a8a in QEventLoop::exec (this=0xbfed76f0, flags=...) at kernel/qeventloop.cpp:201
#17 0xb5414873 in QDialog::exec (this=0xbfed7908) at dialogs/qdialog.cpp:552
#18 0x0836661b in Digikam::QueueMgrWindow::processed (this=0xaf0d670, url=..., tmp=...) at /build/buildd/digikam2-2.0.0~rc1/core/utilities/queuemanager/main/queuemgrwindow.cpp:1049
#19 0x083671d6 in Digikam::QueueMgrWindow::slotAction (this=0xaf0d670, ad=...) at /build/buildd/digikam2-2.0.0~rc1/core/utilities/queuemanager/main/queuemgrwindow.cpp:940
#20 0x083676ca in Digikam::QueueMgrWindow::qt_metacall (this=0xaf0d670, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0x8f387768) at /build/buildd/digikam2-2.0.0~rc1/obj-i686-linux-gnu/core/utilities/queuemanager/queuemgrwindow.moc:117
#21 0xb494e8ca in QMetaObject::metacall (object=0xaf0d670, cl=QMetaObject::ReadProperty, idx=59, argv=0x8f387768) at kernel/qmetaobject.cpp:237
#22 0xb4959df6 in QMetaCallEvent::placeMetaCall (this=0x8f36b6b8, object=0xaf0d670) at kernel/qobject.cpp:534
#23 0xb495b6a2 in QObject::event (this=0xaf0d670, e=0xffffffff) at kernel/qobject.cpp:1219
#24 0xb4f07936 in QWidget::event (this=0xaf0d670, event=0x8f36b6b8) at kernel/qwidget.cpp:8646
#25 0xb5348917 in QMainWindow::event (this=0xaf0d670, event=0x8f36b6b8) at widgets/qmainwindow.cpp:1417
#26 0xb5b3e264 in KMainWindow::event (this=0xaf0d670, ev=0x8f36b6b8) at ../../kdeui/widgets/kmainwindow.cpp:1100
#27 0xb5b8a0bf in KXmlGuiWindow::event (this=0xaf0d670, ev=0x8f36b6b8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#28 0xb4ea9fdc in QApplicationPrivate::notify_helper (this=0xa31f580, receiver=0xaf0d670, e=0x8f36b6b8) at kernel/qapplication.cpp:4396
#29 0xb4eb00e9 in QApplication::notify (this=0xbfed85ec, receiver=0xaf0d670, e=0x8f36b6b8) at kernel/qapplication.cpp:4361
#30 0xb5a5182a in KApplication::notify (this=0xbfed85ec, receiver=0xaf0d670, event=0x8f36b6b8) at ../../kdeui/kernel/kapplication.cpp:311
#31 0xb4948b3b in QCoreApplication::notifyInternal (this=0xbfed85ec, receiver=0xaf0d670, event=0x8f36b6b8) at kernel/qcoreapplication.cpp:732
#32 0xb494bd8b in sendEvent (receiver=0x0, event_type=0, data=0xa2e3bb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa2e3bb8) at kernel/qcoreapplication.cpp:1373
#34 0xb494bf4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#35 0xb4977a74 in sendPostedEvents (s=0xa321710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0xa321710) at kernel/qeventdispatcher_glib.cpp:277
#37 0xb3249855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0xb324d668 in ?? () from /lib/libglib-2.0.so.0
#39 0xb324d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0xb4977565 in QEventDispatcherGlib::processEvents (this=0xa2e3710, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#41 0xb4f6bbe5 in QGuiEventDispatcherGlib::processEvents (this=0xa2e3710, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb4947609 in QEventLoop::processEvents (this=0xbfed84d4, flags=) at kernel/qeventloop.cpp:149
#43 0xb4947a8a in QEventLoop::exec (this=0xbfed84d4, flags=...) at kernel/qeventloop.cpp:201
#44 0xb494c00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0xb4ea8e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#46 0x0831d033 in main (argc=5, argv=0xbfed8894) at /build/buildd/digikam2-2.0.0~rc1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-05 21:16:19 UTC

*** This bug has been marked as a duplicate of bug 264945 ***
Comment 2 caulier.gilles 2019-07-28 21:33:23 UTC
Fixed with bug #264945