Application that crashed: digikam Version of the application: 1.0.0-beta3 KDE Version: 4.3.00 (KDE 4.3.0) Qt Version: 4.5.2 Operating System: Linux 2.6.28-13-server i686 Distribution: Ubuntu 9.04 What I was doing when the application crashed: I was doing a batch processing (auto exposure and storing as jpeg in different directory). At the same time I was watching the output album to rate as pics got there. Then a crash happened. -- Backtrace: Application: digiKam (digikam), signal: Segmentation fault [Current thread is 0 (LWP 24029)] Thread 18 (Thread 0xb207fb90 (LWP 24030)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0x99f77b0, mutex=0x99f77ac, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0x08309681 in ?? () #5 0xb5645132 in QThreadPrivate::start (arg=0x99a4cb8) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 17 (Thread 0xb162eb90 (LWP 24033)): #0 0xb5631eb7 in __i686.get_pc_thunk.bx () from /usr/lib/libQtCore.so.4 #1 0xb5644dae in QThreadData::current () at thread/qthread_unix.cpp:104 #2 0xb57656df in postEventSourcePrepare (s=0x9a9a6f0, timeout=0xb162e1b8) at kernel/qeventdispatcher_glib.cpp:187 #3 0xb3b949c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #4 0xb3b94dda in ?? () from /usr/lib/libglib-2.0.so.0 #5 0xb3b95268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #6 0xb5765317 in QEventDispatcherGlib::processEvents (this=0x9a9b1e0, flags={i = -1318919512}) at kernel/qeventdispatcher_glib.cpp:329 #7 0xb57381fa in QEventLoop::processEvents (this=0xb162e320, flags={i = -1318919448}) at kernel/qeventloop.cpp:149 #8 0xb5738642 in QEventLoop::exec (this=0xb162e320, flags={i = -1318919384}) at kernel/qeventloop.cpp:201 #9 0xb5641e19 in QThread::exec (this=0x9a9af30) at thread/qthread.cpp:487 #10 0xb6fc470d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9a9af30) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/models/imagefiltermodelthreads.h:66 #11 0xb5645132 in QThreadPrivate::start (arg=0x9a9af30) at thread/qthread_unix.cpp:188 #12 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #13 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 16 (Thread 0xb0dd0b90 (LWP 24034)): #0 0xb3af80ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1 #1 0xb576704b in QTimerInfoList::getTime (this=0x9a9da74, t=@0x9a9da98) at kernel/qeventdispatcher_unix.cpp:339 #2 0xb5767221 in QTimerInfoList::updateCurrentTime (this=0x9a9da74) at kernel/qeventdispatcher_unix.cpp:297 #3 0xb5768e0c in QTimerInfoList::timerWait (this=0x9a9da74, tm=@0xb0dd0164) at kernel/qeventdispatcher_unix.cpp:420 #4 0xb57654da in timerSourcePrepare (source=0xb3afbff4, timeout=0xb0dd01b8) at kernel/qeventdispatcher_glib.cpp:141 #5 0xb3b949c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #6 0xb3b94dda in ?? () from /usr/lib/libglib-2.0.so.0 #7 0xb3b95268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #8 0xb5765317 in QEventDispatcherGlib::processEvents (this=0x9a9cb00, flags={i = -1327693144}) at kernel/qeventdispatcher_glib.cpp:329 #9 0xb57381fa in QEventLoop::processEvents (this=0xb0dd0320, flags={i = -1327693080}) at kernel/qeventloop.cpp:149 #10 0xb5738642 in QEventLoop::exec (this=0xb0dd0320, flags={i = -1327693016}) at kernel/qeventloop.cpp:201 #11 0xb5641e19 in QThread::exec (this=0x9a9b1d0) at thread/qthread.cpp:487 #12 0xb6fc470d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9a9b1d0) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/models/imagefiltermodelthreads.h:66 #13 0xb5645132 in QThreadPrivate::start (arg=0x9a9b1d0) at thread/qthread_unix.cpp:188 #14 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 15 (Thread 0xb05a9b90 (LWP 24035)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0x9b0e888, mutex=0x9b0e884, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71be87a in Digikam::LoadSaveThread::run (this=0x9b0e878) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136 #5 0xb5645132 in QThreadPrivate::start (arg=0x9b0e878) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 14 (Thread 0xafbffb90 (LWP 24036)): #0 0xb3af80ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1 #1 0xb576704b in QTimerInfoList::getTime (this=0x9b4a834, t=@0x9b4a858) at kernel/qeventdispatcher_unix.cpp:339 #2 0xb5767221 in QTimerInfoList::updateCurrentTime (this=0x9b4a834) at kernel/qeventdispatcher_unix.cpp:297 #3 0xb5768e0c in QTimerInfoList::timerWait (this=0x9b4a834, tm=@0xafbff174) at kernel/qeventdispatcher_unix.cpp:420 #4 0xb57654da in timerSourcePrepare (source=0xb3afbff4, timeout=0xafbff1c8) at kernel/qeventdispatcher_glib.cpp:141 #5 0xb3b949c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #6 0xb3b94dda in ?? () from /usr/lib/libglib-2.0.so.0 #7 0xb3b95268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #8 0xb5765317 in QEventDispatcherGlib::processEvents (this=0x9b47238, flags={i = -1346374984}) at kernel/qeventdispatcher_glib.cpp:329 #9 0xb57381fa in QEventLoop::processEvents (this=0xafbff330, flags={i = -1346374920}) at kernel/qeventloop.cpp:149 #10 0xb5738642 in QEventLoop::exec (this=0xafbff330, flags={i = -1346374856}) at kernel/qeventloop.cpp:201 #11 0xb5641e19 in QThread::exec (this=0x9b45f00) at thread/qthread.cpp:487 #12 0xb5645132 in QThreadPrivate::start (arg=0x9b45f00) at thread/qthread_unix.cpp:188 #13 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 13 (Thread 0xaf3feb90 (LWP 24037)): #0 0xb546171b in ?? () from /lib/tls/i686/cmov/libc.so.6 #1 0xb5447acd in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb3ba274b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb3b94f82 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb3b95268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb5765317 in QEventDispatcherGlib::processEvents (this=0x9b4b268, flags={i = -1354767688}) at kernel/qeventdispatcher_glib.cpp:329 #6 0xb57381fa in QEventLoop::processEvents (this=0xaf3fe330, flags={i = -1354767624}) at kernel/qeventloop.cpp:149 #7 0xb5738642 in QEventLoop::exec (this=0xaf3fe330, flags={i = -1354767560}) at kernel/qeventloop.cpp:201 #8 0xb5641e19 in QThread::exec (this=0x9b47188) at thread/qthread.cpp:487 #9 0xb5645132 in QThreadPrivate::start (arg=0x9b47188) at thread/qthread_unix.cpp:188 #10 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 12 (Thread 0xaebfdb90 (LWP 24038)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0x9b4e348, mutex=0x9b4e344, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71be87a in Digikam::LoadSaveThread::run (this=0x9b4e338) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136 #5 0xb5645132 in QThreadPrivate::start (arg=0x9b4e338) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 11 (Thread 0xabe4cb90 (LWP 24049)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb5461344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xaccbdae3 in ?? () from /usr/lib/libxine.so.1 Thread 10 (Thread 0xab1b6b90 (LWP 24050)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb544a7b1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xacce77d6 in xine_usec_sleep () from /usr/lib/libxine.so.1 #3 0x00000000 in ?? () Thread 9 (Thread 0xaa9b5b90 (LWP 24051)): #0 0xb535ca2c in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0 #1 0xb54614b6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6 #2 0xb3b94856 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0xb3b94dda in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb3b95268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb5765317 in QEventDispatcherGlib::processEvents (this=0xa0dd550, flags={i = -1432661400}) at kernel/qeventdispatcher_glib.cpp:329 #6 0xb57381fa in QEventLoop::processEvents (this=0xaa9b52e0, flags={i = -1432661336}) at kernel/qeventloop.cpp:149 #7 0xb5738642 in QEventLoop::exec (this=0xaa9b52e0, flags={i = -1432661272}) at kernel/qeventloop.cpp:201 #8 0xb5641e19 in QThread::exec (this=0xa0dd180) at thread/qthread.cpp:487 #9 0xafd5f20a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #10 0xb5645132 in QThreadPrivate::start (arg=0xa0dd180) at thread/qthread_unix.cpp:188 #11 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #12 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 8 (Thread 0xa61a9b90 (LWP 24057)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb5447ae7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xaa1aeb19 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 7 (Thread 0xaa1a4b90 (LWP 24058)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xaccced8e in ?? () from /usr/lib/libxine.so.1 Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 6 (Thread 0xa4dffb90 (LWP 24074)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0xab77af8, mutex=0xab77af4, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71be87a in Digikam::LoadSaveThread::run (this=0xab77ae8) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136 #5 0xb5645132 in QThreadPrivate::start (arg=0xab77ae8) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (Thread 0xa72ffb90 (LWP 24342)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0xc669500, mutex=0xc6694fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71be87a in Digikam::LoadSaveThread::run (this=0xc6694f0) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136 #5 0xb5645132 in QThreadPrivate::start (arg=0xc6694f0) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread 0xa7effb90 (LWP 24343)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0xc6699b0, mutex=0xc6699ac, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71be87a in Digikam::LoadSaveThread::run (this=0xc6699a0) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136 #5 0xb5645132 in QThreadPrivate::start (arg=0xc6699a0) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xa90aeb90 (LWP 25017)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0xc664d20, mutex=0xc664d1c, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71be87a in Digikam::LoadSaveThread::run (this=0xc664d10) at /home/gregor/tmp/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136 #5 0xb5645132 in QThreadPrivate::start (arg=0xc664d10) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xa885eb90 (LWP 26317)): #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb535f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54612ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5646172 in QWaitCondition::wait (this=0xd7f0c48, mutex=0xd7f0c44, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0x081f069b in ?? () #5 0xb5645132 in QThreadPrivate::start (arg=0xd7f1e28) at thread/qthread_unix.cpp:188 #6 0xb535b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb545249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb3703700 (LWP 24029)): [KCrash Handler] #6 0xb5689ed4 in QString::operator== (this=0xd6b0220, other=@0xbf9fd5c0) at ../../include/QtCore/../../src/corelib/tools/qstring.h:104 #7 0xb6ab2145 in KDirWatchPrivate::inotifyEventReceived (this=0x99f49c0) at /build/buildd/kde4libs-4.3.0/kio/kio/kdirwatch.cpp:298 #8 0xb6ab51eb in KDirWatchPrivate::qt_metacall (this=0x99f49c0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9fe6fc) at /build/buildd/kde4libs-4.3.0/obj-i486-linux-gnu/kio/kdirwatch_p.moc:75 #9 0xb574f1b8 in QMetaObject::activate (sender=0x99af848, from_signal_index=4, to_signal_index=4, argv=0xbf9fe6fc) at kernel/qobject.cpp:3113 #10 0xb574fe42 in QMetaObject::activate (sender=0x99af848, m=0xb582c8b0, local_signal_index=0, argv=0xbf9fe6fc) at kernel/qobject.cpp:3187 #11 0xb578b513 in QSocketNotifier::activated (this=0x99af848, _t1=14) at .moc/release-shared/moc_qsocketnotifier.cpp:83 #12 0xb5754877 in QSocketNotifier::event (this=0x99af848, e=0xbf9feab0) at kernel/qsocketnotifier.cpp:316 #13 0xb5bf9d3c in QApplicationPrivate::notify_helper (this=0x98f9d88, receiver=0x99af848, e=0xbf9feab0) at kernel/qapplication.cpp:4056 #14 0xb5c0203e in QApplication::notify (this=0xbf9fed54, receiver=0x99af848, e=0xbf9feab0) at kernel/qapplication.cpp:3603 #15 0xb67f35cd in KApplication::notify (this=0xbf9fed54, receiver=0x99af848, event=0xbf9feab0) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302 #16 0xb5739bcb in QCoreApplication::notifyInternal (this=0xbf9fed54, receiver=0x99af848, event=0xbf9feab0) at kernel/qcoreapplication.cpp:610 #17 0xb576558a in socketNotifierSourceDispatch (source=0x98fcf00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #18 0xb3b91b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #19 0xb3b950eb in ?? () from /usr/lib/libglib-2.0.so.0 #20 0xb3b95268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #21 0xb57652f8 in QEventDispatcherGlib::processEvents (this=0x98d4f58, flags={i = -1080038392}) at kernel/qeventdispatcher_glib.cpp:327 #22 0xb5c9ba75 in QGuiEventDispatcherGlib::processEvents (this=0x98d4f58, flags={i = -1080038344}) at kernel/qguieventdispatcher_glib.cpp:202 #23 0xb57381fa in QEventLoop::processEvents (this=0xbf9fecb0, flags={i = -1080038280}) at kernel/qeventloop.cpp:149 #24 0xb5738642 in QEventLoop::exec (this=0xbf9fecb0, flags={i = -1080038216}) at kernel/qeventloop.cpp:201 #25 0xb573aae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #26 0xb5bf9bb7 in QApplication::exec () at kernel/qapplication.cpp:3525 #27 0x08386133 in ?? () #28 0xb5384775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #29 0x0809df61 in _start () Reported using DrKonqi
Which kipi-plugins version you use. Try with 0.5.0. Gilles Caulier
This looks like a new case of bug 165548. Regards
SVN commit 1058169 by cfeck: Fix broken reading in inotifyEventReceived Multiple bugs: * MAX_PATH is 4096 on linux, but inotify_event needs some bytes as well * the "pending" variable was incorrectly abused to mean both pending bytes in buffer as well as pending bytes in stream * the offset was not reset to zero when the next chunk was reading * when an event was larger than what was available in buffer, it was reading beyond the buffer boundaries Many thanks to David for review and help with improving clarity of the code. David, please test for regressions, maybe add a test which changes some 1000 files in one go. CCMAIL:faure@kde.org CCBUG:165548 CCBUG:173696 CCBUG:175005 CCBUG:198692 CCBUG:204178 M +20 -9 kdirwatch.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1058169
Kipi-plugins 1.0.0 is out since few days... http://www.digikam.org/drupal/node/492 Please try with this version. Thanks in advance Gilles Caulier
This should be fixed for real on KDE SC 4.4.1 and 4.5: bug 222974 / bug bug 224229 Regards *** This bug has been marked as a duplicate of bug 222974 ***
Since digiKam 5.0.0, KDirWatch was been replaced by QFileSytemWatcher. It will not reproducible. Gilles Caulier