Bug 255679

Summary: digikam add tag auto apply
Product: [Applications] digikam Reporter: Alain Tuor <alain.tuor>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description Alain Tuor 2010-10-30 18:28:07 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.5 (KDE 4.3.5) "release 0"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.14-0.4-desktop i686
Distribution: "openSUSE 11.2 (i586)"

What I was doing when the application crashed:
When applyin a tag, digikam crashen, but not always, auto apply is activated so after applying a tag, I select another picture, and it crashes

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

Thread 12 (Thread 0xb1a3bb70 (LWP 6386)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb509b750 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0x0829a1c8 in Digikam::ScanController::run (this=0x848a188) at /usr/src/debug/digikam-0.10.0/digikam/scancontroller.cpp:412
#6  0xb509a623 in QThreadPrivate::start (arg=0x848a188) at thread/qthread_unix.cpp:188
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 11 (Thread 0xb0df0b70 (LWP 6388)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb509b750 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb6a742cc in Digikam::LoadSaveThread::run (this=0x84c0298) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb509a623 in QThreadPrivate::start (arg=0x84c0298) at thread/qthread_unix.cpp:188
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 10 (Thread 0xb03ffb70 (LWP 6389)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb509b750 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb6a742cc in Digikam::LoadSaveThread::run (this=0x84b90a0) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb509a623 in QThreadPrivate::start (arg=0x84b90a0) at thread/qthread_unix.cpp:188
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 9 (Thread 0xad279b70 (LWP 6390)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9e0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f3f4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xae57e19b in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#5  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xac4f2b70 (LWP 6391)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9e0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f3f4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xae58a27b in interruptable_sleep () from /usr/lib/libxine.so.1
#4  0xae58cbee in video_out_loop () from /usr/lib/libxine.so.1
#5  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#6  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xabcf1b70 (LWP 6392)):
#0  0xb348d1eb in clock_gettime (clock_id=1, tp=0xabcf1068) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb51bee14 in QTimerInfoList::getTime (this=0x8a6537c, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb51bf052 in QTimerInfoList::updateCurrentTime (this=0x8a6537c) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb51bf22e in QTimerInfoList::timerWait (this=0x8a6537c, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb51bd20b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xabcf113c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb35a2618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb35a2999 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb35a2ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb51bd05f in QEventDispatcherGlib::processEvents (this=0x8a64a18, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#9  0xb518f98d in QEventLoop::processEvents (this=0xabcf12d4, flags=) at kernel/qeventloop.cpp:149
#10 0xb518fdd9 in QEventLoop::exec (this=0xabcf12d4, flags=...) at kernel/qeventloop.cpp:201
#11 0xb5097317 in QThread::exec (this=0xb1187298) at thread/qthread.cpp:487
#12 0xb05295b8 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb509a623 in QThreadPrivate::start (arg=0xb1187298) at thread/qthread_unix.cpp:188
#14 0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#15 0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xab4e6b70 (LWP 6395)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4e710eb in read () from /lib/libc.so.6
#2  0xae7c75d1 in ?? () from /usr/lib/libasound.so.2
#3  0xae7c42dc in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0xae7c07d6 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0xae7cc701 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0xab4ec390 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0
The current source language is "auto; currently c".

Thread 5 (Thread 0xaaaffb70 (LWP 6396)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xae590300 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#5  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xa90fdb70 (LWP 6412)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb509b750 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb6a742cc in Digikam::LoadSaveThread::run (this=0x8cf8018) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb509a623 in QThreadPrivate::start (arg=0x8cf8018) at thread/qthread_unix.cpp:188
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xa98feb70 (LWP 6430)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb509b750 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb6a742cc in Digikam::LoadSaveThread::run (this=0xa1ac9f80) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb509a623 in QThreadPrivate::start (arg=0xa1ac9f80) at thread/qthread_unix.cpp:188
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xa84ffb70 (LWP 6431)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d9dd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4e8f39c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb509b750 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb6a742cc in Digikam::LoadSaveThread::run (this=0xa1aca3d8) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#6  0xb509a623 in QThreadPrivate::start (arg=0xa1aca3d8) at thread/qthread_unix.cpp:188
#7  0xb4d996e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4d99600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb303d700 (LWP 6385)):
[KCrash Handler]
#6  0xb50dfa94 in size (this=<value optimized out>) at ../../src/corelib/tools/qstring.h:104
#7  QString::operator== (this=<value optimized out>) at tools/qstring.cpp:1912
#8  0xb643b34f in ?? () from /usr/lib/libkio.so.5
#9  0xb6437dff in ?? () from /usr/lib/libkio.so.5
#10 0xb643afe4 in ?? () from /usr/lib/libkio.so.5
#11 0xb51a7864 in QMetaObject::activate (sender=0xb1101818, from_signal_index=4, to_signal_index=4, argv=0xbfad5a48) at kernel/qobject.cpp:3113
#12 0xb51a8585 in QMetaObject::activate (sender=0xb1101818, m=0xb52848b0, local_signal_index=0, argv=0xbfad5a48) at kernel/qobject.cpp:3187
#13 0xb51e3585 in QSocketNotifier::activated (this=0xb1101818, _t1=14) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#14 0xb51ac3af in QSocketNotifier::event (this=0xb1101818, e=0xbfad5dd4) at kernel/qsocketnotifier.cpp:316
#15 0xb56978fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb569f34e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6119521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb519132e in QCoreApplication::notifyInternal (this=0xbfad60dc, receiver=0xb1101818, event=0xbfad5dd4) at kernel/qcoreapplication.cpp:610
#19 0xb51bd3a8 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#20 socketNotifierSourceDispatch (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:110
#21 0xb359f4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb35a2d98 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb35a2ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb51bd011 in QEventDispatcherGlib::processEvents (this=0x83780e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#25 0xb573929a in ?? () from /usr/lib/libQtGui.so.4
#26 0xb518f98d in QEventLoop::processEvents (this=0xbfad6034, flags=) at kernel/qeventloop.cpp:149
#27 0xb518fdd9 in QEventLoop::exec (this=0xbfad6034, flags=...) at kernel/qeventloop.cpp:201
#28 0xb5192270 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0xb5697774 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0x082c1e3f in main (argc=5, argv=0xbfad6354) at /usr/src/debug/digikam-0.10.0/digikam/main.cpp:190

Reported using DrKonqi
Comment 1 caulier.gilles 2010-10-31 13:24:34 UTC

*** This bug has been marked as a duplicate of bug 222974 ***
Comment 2 caulier.gilles 2017-08-16 12:55:26 UTC
Since digiKam 5.0.0, KDirWatch was been replaced by QFileSytemWatcher. It will
not reproducible.

Gilles Caulier