Bug 255817 - Digikam crashed with segmentation fault when saving changed photo
Summary: Digikam crashed with segmentation fault when saving changed photo
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Engine (show other bugs)
Version: 1.1.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-01 15:54 UTC by Heinrich
Modified: 2017-08-08 14:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments
Valgrind logfile taken up to Digikam crashes with segmentation fault (102.21 KB, text/x-log)
2010-11-01 15:59 UTC, Heinrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich 2010-11-01 15:54:45 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:
Using 
digikam 1.10.0
KDE 4.3.5 "Release 0"
OpenSuSe 11.2
Kernel 2.6.31.14-0.4-desktop #1 SMP PREEMPT

I did some work with photographs (re-sizing, rotating, changing colors, etc.).
After I did this for 3-5 files, the program crashed. This is (besides the number of files needed) reproducable.  
I created a Valgrind log of one of the crashes, in the hope that this helps (that one did need patience!)

Regards, Heinrich

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

Thread 12 (Thread 0xb18abb70 (LWP 30851)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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 ?? ()
#6  0xb4fe4623 in QThreadPrivate::start (arg=0x8462fb8) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 11 (Thread 0xb0c62b70 (LWP 30854)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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  0xb69be2cc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#6  0xb4fe4623 in QThreadPrivate::start (arg=0x84bee18) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 10 (Thread 0xb03d2b70 (LWP 30855)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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  0xb69be2cc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#6  0xb4fe4623 in QThreadPrivate::start (arg=0x8503e78) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 9 (Thread 0xad131b70 (LWP 30858)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce80c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd93f4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xae3f11db in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#5  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xac3b0b70 (LWP 30859)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce80c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd93f4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xae3fd2cb in interruptable_sleep () from /usr/lib/libxine.so.1
#4  0xae3ffc7e in video_out_loop () from /usr/lib/libxine.so.1
#5  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#6  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xabbafb70 (LWP 30860)):
#0  0xb33d71eb in clock_gettime (clock_id=1, tp=0xabbaf068) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb5108e14 in QTimerInfoList::getTime (this=0x849f3b4, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb5109052 in QTimerInfoList::updateCurrentTime (this=0x849f3b4) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb510922e in QTimerInfoList::timerWait (this=0x849f3b4, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb510720b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xabbaf13c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb34ec618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb34ec999 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb34ecebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb510705f in QEventDispatcherGlib::processEvents (this=0x84534c0, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#9  0xb50d998d in QEventLoop::processEvents (this=0xabbaf2d4, flags=) at kernel/qeventloop.cpp:149
#10 0xb50d9dd9 in QEventLoop::exec (this=0xabbaf2d4, flags=...) at kernel/qeventloop.cpp:201
#11 0xb4fe1317 in QThread::exec (this=0xb0f101a8) at thread/qthread.cpp:487
#12 0xae4475b8 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb4fe4623 in QThreadPrivate::start (arg=0xb0f101a8) at thread/qthread_unix.cpp:188
#14 0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#15 0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xab1ffb70 (LWP 30862)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xae403390 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#5  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0xa6bffb70 (LWP 30879)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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  0xb69be2cc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#6  0xb4fe4623 in QThreadPrivate::start (arg=0x92d7648) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xa79fdb70 (LWP 30910)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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  0xb69be2cc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#6  0xb4fe4623 in QThreadPrivate::start (arg=0xa28838f8) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xa81feb70 (LWP 30911)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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  0xb69be2cc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#6  0xb4fe4623 in QThreadPrivate::start (arg=0xa28d81a8) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xa89ffb70 (LWP 30918)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4ce7d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4dd939c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4fe5750 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  0xb69be2cc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#6  0xb4fe4623 in QThreadPrivate::start (arg=0xa2ae64c0) at thread/qthread_unix.cpp:188
#7  0xb4ce36e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4ce3600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb2f87700 (LWP 30849)):
[KCrash Handler]
#6  0xb5029a94 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  0xb638534f in ?? () from /usr/lib/libkio.so.5
#9  0xb6381dff in ?? () from /usr/lib/libkio.so.5
#10 0xb6384fe4 in ?? () from /usr/lib/libkio.so.5
#11 0xb50f1864 in QMetaObject::activate (sender=0xb0f016f8, from_signal_index=4, to_signal_index=4, argv=0xbfa042e8) at kernel/qobject.cpp:3113
#12 0xb50f2585 in QMetaObject::activate (sender=0xb0f016f8, m=0xb51ce8b0, local_signal_index=0, argv=0xbfa042e8) at kernel/qobject.cpp:3187
#13 0xb512d585 in QSocketNotifier::activated (this=0xb0f016f8, _t1=13) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#14 0xb50f63af in QSocketNotifier::event (this=0xb0f016f8, e=0xbfa04674) at kernel/qsocketnotifier.cpp:316
#15 0xb55e18fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb55e934e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6063521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb50db32e in QCoreApplication::notifyInternal (this=0xbfa0497c, receiver=0xb0f016f8, event=0xbfa04674) at kernel/qcoreapplication.cpp:610
#19 0xb51073a8 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 0xb34e94c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb34ecd98 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb34ecebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb5107011 in QEventDispatcherGlib::processEvents (this=0x83780e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#25 0xb568329a in ?? () from /usr/lib/libQtGui.so.4
#26 0xb50d998d in QEventLoop::processEvents (this=0xbfa048d4, flags=) at kernel/qeventloop.cpp:149
#27 0xb50d9dd9 in QEventLoop::exec (this=0xbfa048d4, flags=...) at kernel/qeventloop.cpp:201
#28 0xb50dc270 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0xb55e1774 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0x082c1e3f in ?? ()
#31 0xb4d0face in __libc_start_main () from /lib/libc.so.6
#32 0x0808ddf1 in _start ()

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

Reported using DrKonqi
Comment 1 Heinrich 2010-11-01 15:59:28 UTC
Created attachment 53041 [details]
Valgrind logfile taken up to Digikam crashes with segmentation fault

Only the memcheck from Valgrind was used to cover a digicam crash.
Files shows following leak summary:
==24939== LEAK SUMMARY:
==24939==    definitely lost: 15,306 bytes in 254 blocks
==24939==    indirectly lost: 34,720 bytes in 1,597 blocks
==24939==      possibly lost: 238,910,927 bytes in 938,846 blocks
==24939==    still reachable: 23,293,404 bytes in 125,177 blocks
==24939==         suppressed: 0 bytes in 0 blocks
Comment 2 caulier.gilles 2010-11-01 17:02:25 UTC

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

Gilles Caulier