Bug 227828

Summary: Digikam is crashing randomly after clicking save icon in picture editor after correcting exposition of picture.
Product: [Applications] digikam Reporter: Piotr <peem_one>
Component: Albums-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: 5.7.0
Sentry Crash Report:

Description Piotr 2010-02-20 16:59:20 UTC
Application that crashed: digikam
Version of the application: 1.1.0
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-174.2.22.fc12.x86_64 x86_64

What I was doing when the application crashed:
Digikam is crashing randomly after clicking save icon in picture editor after correcting exposition of picture.

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

Thread 23 (Thread 0x7f3630597710 (LWP 4572)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x16f0c00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16f0c00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000000000681d0b in Digikam::ScanController::run (this=0x16fabd0) at /usr/src/debug/digikam-1.1.0/digikam/scancontroller.cpp:502
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x16fabd0) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 22 (Thread 0x7f362ca33710 (LWP 4573)):
#0  0x00000031f4808de1 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x0000003cb843c455 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x0000003cb843c7f1 in ?? () from /lib64/libglib-2.0.so.0
#3  0x0000003cb843cd1a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00000034c3f6723e in QEventDispatcherGlib::processEvents (this=0x7f36200008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00000034c3f3d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000034c3f3db44 in QEventLoop::exec (this=0x7f362ca32d50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00000034c3e56f2b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x18a7150) at thread/qthread_unix.cpp:188
#9  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#10 0x00000031f40de67d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7f3627fff710 (LWP 4574)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f3627ffea80 in ?? ()
#2  0x00007fff80bff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 20 (Thread 0x7f362757e710 (LWP 4575)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x199dda8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x199dda8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x199dd90) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x199dd90) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f3626b7d710 (LWP 4576)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f3626b7ca80 in ?? ()
#2  0x00007fff80bff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 18 (Thread 0x7f362617c710 (LWP 4577)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f362617ba80 in ?? ()
#2  0x00007fff80bff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 17 (Thread 0x7f362577b710 (LWP 4578)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x19c4948, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x19c4948, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x19c4930) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x19c4930) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f3606009710 (LWP 4582)):
#0  0x00000031f480b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c7a134b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#3  0x00000031f40de67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f36049d1710 (LWP 4583)):
#0  0x00000031f40d73e3 in select () from /lib64/libc.so.6
#1  0x00000034c7a3b575 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00000034c7a20f99 in ?? () from /usr/lib64/libxine.so.1
#3  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#4  0x00000031f40de67d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f3603fd0710 (LWP 4584)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f3603fcfa30 in ?? ()
#2  0x00007fff80bff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0x7f36033cb710 (LWP 4585)):
#0  0x00000037cf619da6 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#1  0x00000037cf21db2c in pa_mainloop_dispatch () from /usr/lib64/libpulse.so.0
#2  0x00000037cf21deb8 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#3  0x00000037cf21df60 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#4  0x00000037cf22c64b in ?? () from /usr/lib64/libpulse.so.0
#5  0x00000037cf638788 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#6  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#7  0x00000031f40de67d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f36029ca710 (LWP 4586)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c7a24123 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#3  0x00000031f40de67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f35fbfff710 (LWP 4596)):
#0  0x0000003cb843ccd7 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#1  0x00000034c3f6723e in QEventDispatcherGlib::processEvents (this=0x7f35e80008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#2  0x00000034c3f3d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#3  0x00000034c3f3db44 in QEventLoop::exec (this=0x7f35fbffece0, flags=...) at kernel/qeventloop.cpp:201
#4  0x00000034c3e56f2b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#5  0x00007f36015b415d in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#6  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x2386ce0) at thread/qthread_unix.cpp:188
#7  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#8  0x00000031f40de67d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f35fb5fe710 (LWP 4597)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x2282ca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2282ca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x2282c90) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x2282c90) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f35fa1fc710 (LWP 4604)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x2596668, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2596668, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x2596650) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x2596650) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f35fabfd710 (LWP 4605)):
#0  0x00000031f40d51d9 in poll () from /lib64/libc.so.6
#1  0x0000003cb843c9dc in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003cb843cd1a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000034c3f6723e in QEventDispatcherGlib::processEvents (this=0x7f35d00008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00000034c3f3d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000034c3f3db44 in QEventLoop::exec (this=0x7f35fabfcce0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000034c3e56f2b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f36015b415d in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#8  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x2cd1010) at thread/qthread_unix.cpp:188
#9  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#10 0x00000031f40de67d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f35d7fff710 (LWP 4606)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x2cbdb08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2cbdb08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x2cbdaf0) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x2cbdaf0) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f35d75fe710 (LWP 4631)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x59b9f68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x59b9f68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x59b9f50) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x59b9f50) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f35d6bfd710 (LWP 4632)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x4c7dd68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4c7dd68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x4c7dd50) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x4c7dd50) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f35c6294710 (LWP 4651)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x4b28f08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4b28f08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x4b28ef0) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x4b28ef0) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f35c5893710 (LWP 4652)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f35c5892a10 in ?? ()
#2  0x00007fff80bff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f35c4e92710 (LWP 4653)):
#0  0x00000031f480b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000034c3e5addb in wait (this=<value optimized out>, mutex=0x5e51c48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5e51c48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000037d55a1822 in Digikam::LoadSaveThread::run (this=0x5e51c30) at /usr/src/debug/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00000034c3e59d25 in QThreadPrivate::start (arg=0x5e51c30) at thread/qthread_unix.cpp:188
#5  0x00000031f4806a3a in start_thread () from /lib64/libpthread.so.0
#6  0x00000031f40de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f36380e5840 (LWP 4571)):
[KCrash Handler]
#5  size (this=<value optimized out>, other=...) at ../../src/corelib/tools/qstring.h:104
#6  QString::operator== (this=<value optimized out>, other=...) at tools/qstring.cpp:1912
#7  0x00000037ce52f476 in KDirWatchPrivate::Entry::findSubEntry (this=<value optimized out>, path=...) at /usr/src/debug/kdelibs-4.3.5/kio/kio/kdirwatch_p.h:157
#8  0x00000037ce52c4ce in KDirWatchPrivate::inotifyEventReceived (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.5/kio/kio/kdirwatch.cpp:297
#9  0x00000037ce52f174 in KDirWatchPrivate::qt_metacall (this=0x183b8f0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80b3b580)
    at /usr/src/debug/kdelibs-4.3.5/x86_64-redhat-linux-gnu/kio/kdirwatch_p.moc:75
#10 0x00000034c3f5408c in QMetaObject::activate (sender=0x1728780, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff80b3b580) at kernel/qobject.cpp:3112
#11 0x00000034c3f89d5e in QSocketNotifier::activated (this=<value optimized out>, _t1=15) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#12 0x00000034c3f589d3 in QSocketNotifier::event (this=0x1728780, e=0x7fff80b3bac0) at kernel/qsocketnotifier.cpp:316
#13 0x00000037ccf8f65c in QApplicationPrivate::notify_helper (this=0x1520920, receiver=0x1728780, e=0x7fff80b3bac0) at kernel/qapplication.cpp:4065
#14 0x00000037ccf968ce in QApplication::notify (this=<value optimized out>, receiver=0x1728780, e=0x7fff80b3bac0) at kernel/qapplication.cpp:4030
#15 0x00000037cdbf68e6 in KApplication::notify (this=0x7fff80b3bdf0, receiver=0x1728780, event=0x7fff80b3bac0) at /usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#16 0x00000034c3f3ee6c in QCoreApplication::notifyInternal (this=0x7fff80b3bdf0, receiver=0x1728780, event=0x7fff80b3bac0) at kernel/qcoreapplication.cpp:610
#17 0x00000034c3f6746a in sendEvent (source=0x1524420) at kernel/qcoreapplication.h:213
#18 socketNotifierSourceDispatch (source=0x1524420) at kernel/qeventdispatcher_glib.cpp:110
#19 0x0000003cb843920e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x0000003cb843cbf8 in ?? () from /lib64/libglib-2.0.so.0
#21 0x0000003cb843cd1a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00000034c3f671e6 in QEventDispatcherGlib::processEvents (this=0x14ed340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#23 0x00000037cd021ffe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00000034c3f3d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00000034c3f3db44 in QEventLoop::exec (this=0x7fff80b3bd20, flags=...) at kernel/qeventloop.cpp:201
#26 0x00000034c3f3fcd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#27 0x0000000000709462 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/digikam-1.1.0/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 Johannes Wienke 2010-02-20 17:07:56 UTC

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

Gilles Caulier