Bug 225821

Summary: Writing tags to metadata.
Product: [Applications] digikam Reporter: cawediv
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: frederic.coiffier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description cawediv 2010-02-07 12:08:41 UTC
Application that crashed: digikam
Version of the application: 1.0.0
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Applying tags and klasification to metadata and propably selecting a new photo att the same time made Digikam crash.

 -- Backtrace:
Application: Digikam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb775f700 (LWP 2729))]

Thread 18 (Thread 0xb5eb9b70 (LWP 2730)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0x9499dc0, mutex=0x9499dbc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9499dc0, mutex=0x9499dbc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x08319c89 in Digikam::ScanController::run (this=0x94a54d8) at /build/buildd/digikam-1.0.0/digikam/scancontroller.cpp:499
#6  0x044c7e32 in QThreadPrivate::start (arg=0x94a54d8) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 17 (Thread 0xb54ffb70 (LWP 2732)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x01706c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x01d7354b in g_poll () from /lib/libglib-2.0.so.0
#3  0x01d6656b in ?? () from /lib/libglib-2.0.so.0
#4  0x01d66863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x045e3067 in QEventDispatcherGlib::processEvents (this=0x95f0928, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x045b6c79 in QEventLoop::processEvents (this=0xb54ff2e4, flags=) at kernel/qeventloop.cpp:149
#7  0x045b70ca in QEventLoop::exec (this=0xb54ff2e4, flags=...) at kernel/qeventloop.cpp:201
#8  0x044c4b73 in QThread::exec (this=0x96d1410) at thread/qthread.cpp:487
#9  0x002e934d in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/lib/libdigikamdatabase.so.1
#10 0x044c7e32 in QThreadPrivate::start (arg=0x96d1410) at thread/qthread_unix.cpp:188
#11 0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 16 (Thread 0xb4affb70 (LWP 2733)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x01706c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x01d7354b in g_poll () from /lib/libglib-2.0.so.0
#3  0x01d6656b in ?? () from /lib/libglib-2.0.so.0
#4  0x01d66863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x045e3067 in QEventDispatcherGlib::processEvents (this=0x95f0608, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x045b6c79 in QEventLoop::processEvents (this=0xb4aff2e4, flags=) at kernel/qeventloop.cpp:149
#7  0x045b70ca in QEventLoop::exec (this=0xb4aff2e4, flags=...) at kernel/qeventloop.cpp:201
#8  0x044c4b73 in QThread::exec (this=0x95f0678) at thread/qthread.cpp:487
#9  0x002e934d in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/lib/libdigikamdatabase.so.1
#10 0x044c7e32 in QThreadPrivate::start (arg=0x95f0678) at thread/qthread_unix.cpp:188
#11 0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xb427eb70 (LWP 2734)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0x96f2080, mutex=0x96f207c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x96f2080, mutex=0x96f207c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0x96f2070) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0x96f2070) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xb3a7db70 (LWP 2735)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x01706c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x01d7354b in g_poll () from /lib/libglib-2.0.so.0
#3  0x01d6656b in ?? () from /lib/libglib-2.0.so.0
#4  0x01d66863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x045e3067 in QEventDispatcherGlib::processEvents (this=0x9733868, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x045b6c79 in QEventLoop::processEvents (this=0xb3a7d304, flags=) at kernel/qeventloop.cpp:149
#7  0x045b70ca in QEventLoop::exec (this=0xb3a7d304, flags=...) at kernel/qeventloop.cpp:201
#8  0x044c4b73 in QThread::exec (this=0x9736158) at thread/qthread.cpp:487
#9  0x044c7e32 in QThreadPrivate::start (arg=0x9736158) at thread/qthread_unix.cpp:188
#10 0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xb327cb70 (LWP 2736)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x01706c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x01d7354b in g_poll () from /lib/libglib-2.0.so.0
#3  0x01d6656b in ?? () from /lib/libglib-2.0.so.0
#4  0x01d66863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x045e3067 in QEventDispatcherGlib::processEvents (this=0x97359c8, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x045b6c79 in QEventLoop::processEvents (this=0xb327c304, flags=) at kernel/qeventloop.cpp:149
#7  0x045b70ca in QEventLoop::exec (this=0xb327c304, flags=...) at kernel/qeventloop.cpp:201
#8  0x044c4b73 in QThread::exec (this=0x9733b48) at thread/qthread.cpp:487
#9  0x044c7e32 in QThreadPrivate::start (arg=0x9733b48) at thread/qthread_unix.cpp:188
#10 0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xb2a7bb70 (LWP 2737)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0x9739f18, mutex=0x9739f14, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9739f18, mutex=0x9739f14, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0x9739f08) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0x9739f08) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xb0e19b70 (LWP 2738)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00751142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x017218d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x029cd9ff in ?? () from /usr/lib/libxine.so.1
#4  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb020db70 (LWP 2739)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x0170da71 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x029f6be0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x029db011 in ?? () from /usr/lib/libxine.so.1
#4  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xafa0cb70 (LWP 2740)):
#0  0x01721a50 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#1  0x01d65f7e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x01d66351 in ?? () from /lib/libglib-2.0.so.0
#3  0x01d66863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x045e3067 in QEventDispatcherGlib::processEvents (this=0x9c280c0, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#5  0x045b6c79 in QEventLoop::processEvents (this=0xafa0c2b4, flags=) at kernel/qeventloop.cpp:149
#6  0x045b70ca in QEventLoop::exec (this=0xafa0c2b4, flags=...) at kernel/qeventloop.cpp:201
#7  0x044c4b73 in QThread::exec (this=0x9814a00) at thread/qthread.cpp:487
#8  0x08a2220a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x044c7e32 in QThreadPrivate::start (arg=0x9814a00) at thread/qthread_unix.cpp:188
#10 0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xab20ab70 (LWP 2749)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x01706c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x08f13c3b in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xaaa09b70 (LWP 2750)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x029de5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xad4fdb70 (LWP 2760)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0xab65d248, mutex=0xab65d244, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xab65d248, mutex=0xab65d244, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0xab65d238) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0xab65d238) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaa0ffb70 (LWP 2767)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0xa16f9c0, mutex=0xa16f9bc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa16f9c0, mutex=0xa16f9bc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0xa16f9b0) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0xa16f9b0) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xac0feb70 (LWP 2768)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0xa3621a8, mutex=0xa3621a4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa3621a8, mutex=0xa3621a4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0xa362198) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0xa362198) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaf0ffb70 (LWP 2828)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0xb6ea7c8, mutex=0xb6ea7c4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xb6ea7c8, mutex=0xb6ea7c4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0xb6ea7b8) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0xb6ea7b8) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa70ffb70 (LWP 2829)):
#0  0x0067e422 in __kernel_vsyscall ()
#1  0x00750e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0172187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x044c8e67 in QWaitConditionPrivate::wait (this=0xb5ca7a8, mutex=0xb5ca7a4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xb5ca7a8, mutex=0xb5ca7a4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x033008aa in Digikam::LoadSaveThread::run (this=0xb5ca798) at /build/buildd/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#6  0x044c7e32 in QThreadPrivate::start (arg=0xb5ca798) at thread/qthread_unix.cpp:188
#7  0x0074c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x017148de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb775f700 (LWP 2729)):
[KCrash Handler]
#6  0x0450b8e5 in QString::size (this=0xb6dad40, other=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:104
#7  QString::operator== (this=0xb6dad40, other=...) at tools/qstring.cpp:1912
#8  0x014d3daf in KDirWatchPrivate::Entry::findSubEntry (this=0x95b51e8) at ../../kio/kio/kdirwatch_p.h:157
#9  KDirWatchPrivate::inotifyEventReceived (this=0x95b51e8) at ../../kio/kio/kdirwatch.cpp:297
#10 0x014d54cb in KDirWatchPrivate::qt_metacall (this=0x95b51e8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbff21e58) at ./kdirwatch_p.moc:75
#11 0x045ce263 in QMetaObject::activate (sender=0x959bec8, from_signal_index=4, to_signal_index=4, argv=0xbff21e58) at kernel/qobject.cpp:3113
#12 0x045ceec2 in QMetaObject::activate (sender=0x959bec8, m=0x46a98b0, local_signal_index=0, argv=0xbff21e58) at kernel/qobject.cpp:3187
#13 0x04608503 in QSocketNotifier::activated (this=0x959bec8, _t1=25) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#14 0x045d2c87 in QSocketNotifier::event (this=0x959bec8, e=0xbff22214) at kernel/qsocketnotifier.cpp:316
#15 0x071f5f54 in QApplicationPrivate::notify_helper (this=0x92f9cc8, receiver=0x959bec8, e=0xbff22214) at kernel/qapplication.cpp:4056
#16 0x071fd67c in QApplication::notify (this=0xbff22568, receiver=0x959bec8, e=0xbff22214) at kernel/qapplication.cpp:3603
#17 0x0254f25a in KApplication::notify (this=0xbff22568, receiver=0x959bec8, event=0xbff22214) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x045b86cb in QCoreApplication::notifyInternal (this=0xbff22568, receiver=0x959bec8, event=0xbff22214) at kernel/qcoreapplication.cpp:610
#19 0x045e32ca in QCoreApplication::sendEvent (source=0x92fca48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 socketNotifierSourceDispatch (source=0x92fca48) at kernel/qeventdispatcher_glib.cpp:110
#21 0x01d62e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x01d66730 in ?? () from /lib/libglib-2.0.so.0
#23 0x01d66863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x045e302c in QEventDispatcherGlib::processEvents (this=0x92d3e80, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#25 0x07296be5 in QGuiEventDispatcherGlib::processEvents (this=0x92d3e80, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x045b6c79 in QEventLoop::processEvents (this=0xbff224b4, flags=) at kernel/qeventloop.cpp:149
#27 0x045b70ca in QEventLoop::exec (this=0xbff224b4, flags=...) at kernel/qeventloop.cpp:201
#28 0x045b953f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x071f5dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#30 0x083bcb2b in main (argc=5, argv=0xbff229d4) at /build/buildd/digikam-1.0.0/digikam/main.cpp:195

This bug may be a duplicate of or related to bug 224588

Reported using DrKonqi
Comment 1 Johannes Wienke 2010-02-07 12:26:56 UTC

*** This bug has been marked as a duplicate of bug 222974 ***
Comment 2 Frédéric COIFFIER 2010-02-10 22:45:18 UTC
Created attachment 40650 [details]
New crash information added by DrKonqi

Crash when assigning a tag to a photo
Comment 3 Marcel Wiesweg 2010-02-11 20:31:48 UTC
Frederic, this crash occurs in KDirWatch, from kdelibs
Comment 4 caulier.gilles 2017-08-16 12:53:52 UTC
Since digiKam 5.0.0, KDirWatch was been replaced by QFileSytemWatcher. It will
not reproducible.

Gilles Caulier