Bug 224917

Summary: Digikam crashed when setting a Tag on an image
Product: [Applications] digikam Reporter: Chris Tanner <christopher.tanner>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Chris Tanner 2010-01-30 20:53:04 UTC
Application that crashed: digikam
Version of the application: 1.1.0 (rev.: 1081135)
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.6-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
I was setting a Tag on a picture (from the "Reduced Size Preview Window"), Digikam crashed after setting the Tag. This happens intermittently. 

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

Thread 16 (Thread 0x7fa17f0a4910 (LWP 23510)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x0000000000711a65 in Digikam::ScanController::run (this=0x24be9a0) at /home/tannerc/Work/photos/graphics/digikam/digikam/scancontroller.cpp:502
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fa17b5ad910 (LWP 23513)):
#0  0x00007fa18b3df7f3 in poll () from /lib64/libc.so.6
#1  0x00007fa185011c7c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa185011fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa18c191cc6 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#6  0x00007fa18c080f2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007fa18f5b02fc in Digikam::ImageFilterModelWorker::Thread::run (this=0x29ac440)
    at /home/tannerc/Work/photos/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#8  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fa17adac910 (LWP 23514)):
#0  0x00007fa18be190e9 in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007fa1850101df in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa185011a12 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa185011fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa18c191cc6 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007fa18c080f2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007fa18f5b02fc in Digikam::ImageFilterModelWorker::Thread::run (this=0x25b88c0)
    at /home/tannerc/Work/photos/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#9  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fa17a59d910 (LWP 23515)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x2626090) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fa179d9c910 (LWP 23516)):
#0  0x00007fa185011f52 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fa18c191cc6 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#3  0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18c080f2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#5  0x0000000000707eb4 in Digikam::MetadataManagerWorker::Thread::run (this=0x262ae10) at /home/tannerc/Work/photos/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#6  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fa17959b910 (LWP 23517)):
#0  0x00007fa18b3df7f3 in poll () from /lib64/libc.so.6
#1  0x00007fa185011c7c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa185011fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa18c191cc6 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#6  0x00007fa18c080f2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#7  0x0000000000707eb4 in Digikam::MetadataManagerWorker::Thread::run (this=0x2624040) at /home/tannerc/Work/photos/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#8  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa178d9a910 (LWP 23518)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x29ae550) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa16f390910 (LWP 23527)):
#0  0x00007fa18b3df7f3 in poll () from /lib64/libc.so.6
#1  0x00007fa18b0fd88f in poll_func (ufds=0x2c0c990, nfds=1, timeout=-1, userdata=0x2c101d0) at pulse/thread-mainloop.c:75
#2  0x00007fa18b0edb76 in pa_mainloop_poll (m=0x2c100c0) at pulse/mainloop.c:879
#3  0x00007fa18b0eef59 in pa_mainloop_iterate (m=0x2c100c0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007fa18b0ef010 in pa_mainloop_run (m=0x2c100c0, retval=0x0) at pulse/mainloop.c:979
#5  0x00007fa18b0fd79b in thread (userdata=0x2c0fa00) at pulse/thread-mainloop.c:94
#6  0x00007fa18433d158 in internal_thread_func (userdata=0x2c0fa80) at pulsecore/thread-posix.c:72
#7  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa16caa2910 (LWP 23538)):
#0  0x00007fa18be17cb2 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fa18501117a in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa185011b90 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa185011fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa18c191cc6 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007fa18c080f2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007fa16df653cd in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#9  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa169a6c910 (LWP 23539)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x43dc1f0) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa168200910 (LWP 23553)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x513f310) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa168a01910 (LWP 23569)):
#0  0x00007fa18500cfdf in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fa168a00fb0 in ?? ()
#2  0x000000000552fcf0 in ?? ()
#3  0x00007fa185298e20 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x0000000000000001 in ?? ()
#5  0x00007fa18be17c80 in ?? () from /lib64/libpthread.so.0
#6  0x0000000000000001 in ?? ()
#7  0x0000000000000007 in ?? ()
#8  0x00007fa185011fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fa18c191cc6 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#10 0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#11 0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#12 0x00007fa18c080f2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#13 0x00007fa16df653cd in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#14 0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#16 0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa16be87910 (LWP 23570)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x550bfb0) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa1671fe910 (LWP 23669)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x77de870) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa1661fc910 (LWP 23670)):
#0  0x00007fa18be19e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa18c084d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fa18fa6306e in Digikam::LoadSaveThread::run (this=0x66cc9a0) at /home/tannerc/Work/photos/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fa18c083ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa18be157cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa18b3e937d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa192a90770 (LWP 23509)):
[KCrash Handler]
#5  0x00007fa18c0c4048 in QString::operator== () from /usr/lib64/libQtCore.so.4
#6  0x00007fa18e5ecdf6 in KDirWatchPrivate::Entry::findSubEntry (this=<value optimized out>, path=@0x7fff6e29aa60) at /usr/src/debug/kdelibs-4.3.5/kio/kio/kdirwatch_p.h:157
#7  0x00007fa18e5e99f6 in KDirWatchPrivate::inotifyEventReceived (this=0x25a8460) at /usr/src/debug/kdelibs-4.3.5/kio/kio/kdirwatch.cpp:297
#8  0x00007fa18e5ecaf4 in KDirWatchPrivate::qt_metacall (this=0x25a8460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6e29bca0)
    at /usr/src/debug/kdelibs-4.3.5/build/kio/kdirwatch_p.moc:75
#9  0x00007fa18c17e88c in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#10 0x00007fa18c1b4ade in QSocketNotifier::activated () from /usr/lib64/libQtCore.so.4
#11 0x00007fa18c183223 in QSocketNotifier::event () from /usr/lib64/libQtCore.so.4
#12 0x00007fa18cce212c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#13 0x00007fa18cce93fe in QApplication::notify () from /usr/lib64/libQtGui.so.4
#14 0x00007fa18e0ba3f6 in KApplication::notify (this=0x7fff6e29c580, receiver=0x26672d0, event=0x7fff6e29c1e0) at /usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#15 0x00007fa18c1696ac in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#16 0x00007fa18c191fca in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007fa18500e4ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fa185011e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fa185011fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fa18c191c73 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#21 0x00007fa18cd7564e in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007fa18c167fe2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#23 0x00007fa18c1683b4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#24 0x00007fa18c16a569 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#25 0x00000000007adfc0 in main (argc=1, argv=0x7fff6e29cb58) at /home/tannerc/Work/photos/graphics/digikam/digikam/main.cpp:195

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

Reported using DrKonqi
Comment 1 Johannes Wienke 2010-01-30 21:52:12 UTC

*** This bug has been marked as a duplicate of bug 224588 ***
Comment 2 caulier.gilles 2022-01-22 16:47:30 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=224588