Bug 202029

Summary: digikam crash after downloading and deleting pictures from camera
Product: [Applications] digikam Reporter: Roman K. <roman.karlstetter>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Roman K. 2009-07-30 20:45:15 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta2
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)) "release 146"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.25-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
i downloaded and deleted pictures from my camera, and after the last picture was deleted, digikam crashed

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

Thread 14 (Thread 0x7fb4c8cd9950 (LWP 19528)):
#0  0x00007fb4d6211d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4d648166b in QMutexPrivate::wait (this=0xa669e0, timeout=-1) at thread/qmutex_unix.cpp:80
#2  0x00007fb4d647cf05 in QMutex::lock (this=0xa40d10) at thread/qmutex.cpp:207
#3  0x00007fb4d657e678 in QObjectPrivate::clearGuards (object=0x7fb4c8cd9010) at ../../src/corelib/thread/qmutex.h:120
#4  0x00007fb4d6581f55 in ~QObject (this=0x7fb4c8cd9010) at kernel/qobject.cpp:754
#5  0x00000000006cf04e in ?? ()
#6  0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xc085a0) at thread/qthread_unix.cpp:188
#7  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fb4c356c950 (LWP 19557)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff32bff6fb in ?? ()
#2  0x00007fb4d30874ed in clock_gettime () from /lib64/librt.so.1
#3  0x00007fb4d659692d in QTimerInfoList::getTime (this=<value optimized out>, t=@0xda3f50) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fb4d6596b21 in QTimerInfoList::updateCurrentTime (this=0x7fb4c356be00) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007fb4d6598503 in QTimerInfoList::timerWait (this=0x7fb4c356be00, tm=@0x7fb4c356be00) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007fb4d6594f0d in timerSourcePrepare (source=<value optimized out>, timeout=0x7fb4c356bef4) at kernel/qeventdispatcher_glib.cpp:141
#7  0x00007fb4d2dfb1aa in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fb4d2dfb5ca in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fb4d2dfba8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fb4d6594d5e in QEventDispatcherGlib::processEvents (this=0xda3de0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#11 0x00007fb4d656a1d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1017724864}) at kernel/qeventloop.cpp:149
#12 0x00007fb4d656a5a4 in QEventLoop::exec (this=0x7fb4c356c080, flags={i = -1017724784}) at kernel/qeventloop.cpp:201
#13 0x00007fb4d647eed8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xc8f590) at thread/qthread_unix.cpp:188
#15 0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fb4d580710d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fb4c3d6d950 (LWP 19558)):
#0  0x00007fb4d2dfac96 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x7fffffffffffffff in ?? ()
#2  0x0000000000c974a0 in ?? ()
#3  0x0000000000000001 in ?? ()
#4  0x00007fb4d620f570 in ?? () from /lib64/libpthread.so.0
#5  0x00007fb4d3081de0 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fb4c2d6b950 (LWP 19559)):
#0  0x00007fb4d6211d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4d6482e19 in QWaitCondition::wait (this=0xcacbf0, mutex=0xcacbe8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fb4d99ddb9c in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#3  0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xcacbd0) at thread/qthread_unix.cpp:188
#4  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fb4c256a950 (LWP 19560)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff32bff6fb in ?? ()
#2  0x00007fb4d30874ed in clock_gettime () from /lib64/librt.so.1
#3  0x00007fb4d659692d in QTimerInfoList::getTime (this=<value optimized out>, t=@0xc601d0) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fb4d6596b21 in QTimerInfoList::updateCurrentTime (this=0x7fb4c2569e00) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007fb4d6598503 in QTimerInfoList::timerWait (this=0x7fb4c2569e00, tm=@0x7fb4c2569e00) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007fb4d6594f0d in timerSourcePrepare (source=<value optimized out>, timeout=0x7fb4c2569ef4) at kernel/qeventdispatcher_glib.cpp:141
#7  0x00007fb4d2dfb1aa in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fb4d2dfb5ca in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fb4d2dfba8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fb4d6594d5e in QEventDispatcherGlib::processEvents (this=0xc5e660, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#11 0x00007fb4d656a1d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1034510272}) at kernel/qeventloop.cpp:149
#12 0x00007fb4d656a5a4 in QEventLoop::exec (this=0x7fb4c256a080, flags={i = -1034510192}) at kernel/qeventloop.cpp:201
#13 0x00007fb4d647eed8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xd193e0) at thread/qthread_unix.cpp:188
#15 0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fb4d580710d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fb4c1d69950 (LWP 19561)):
#0  0x00007fb4d57fe386 in poll () from /lib64/libc.so.6
#1  0x00007fb4d2dfb768 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb4d2dfba8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb4d6594d5e in QEventDispatcherGlib::processEvents (this=0xc77b20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007fb4d656a1d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1042902976}) at kernel/qeventloop.cpp:149
#5  0x00007fb4d656a5a4 in QEventLoop::exec (this=0x7fb4c1d69080, flags={i = -1042902896}) at kernel/qeventloop.cpp:201
#6  0x00007fb4d647eed8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xc8f910) at thread/qthread_unix.cpp:188
#8  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fb4c1568950 (LWP 19562)):
#0  0x00007fb4d6211d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4d6482e19 in QWaitCondition::wait (this=0xd10970, mutex=0xd10968, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fb4d99ddb9c in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#3  0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xd10950) at thread/qthread_unix.cpp:188
#4  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fb4ba254950 (LWP 19617)):
#0  0x00007fb4d6211fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4becef621 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb4b87ae950 (LWP 19618)):
#0  0x00007fb4d6211fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4becfd665 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb4b7fad950 (LWP 19619)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff32bff6fb in ?? ()
#2  0x00007fb4d30874ed in clock_gettime () from /lib64/librt.so.1
#3  0x00007fb4d659692d in QTimerInfoList::getTime (this=<value optimized out>, t=@0xd4a9c0) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fb4d6596b21 in QTimerInfoList::updateCurrentTime (this=0x7fb4b7facdb0) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007fb4d6598503 in QTimerInfoList::timerWait (this=0x7fb4b7facdb0, tm=@0x7fb4b7facdb0) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007fb4d6594f0d in timerSourcePrepare (source=<value optimized out>, timeout=0x7fb4b7facea4) at kernel/qeventdispatcher_glib.cpp:141
#7  0x00007fb4d2dfb1aa in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fb4d2dfb5ca in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fb4d2dfba8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fb4d6594d5e in QEventDispatcherGlib::processEvents (this=0xce4360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#11 0x00007fb4d656a1d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1208299536}) at kernel/qeventloop.cpp:149
#12 0x00007fb4d656a5a4 in QEventLoop::exec (this=0x7fb4b7fad030, flags={i = -1208299456}) at kernel/qeventloop.cpp:201
#13 0x00007fb4d647eed8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fb4bef4ab12 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#15 0x00007fb4d6481e65 in QThreadPrivate::start (arg=0xd99390) at thread/qthread_unix.cpp:188
#16 0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#17 0x00007fb4d580710d in clone () from /lib64/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb4b7323950 (LWP 19620)):
#0  0x00007fb4d6211d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4d6482e19 in QWaitCondition::wait (this=0x155d330, mutex=0x155d328, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fb4d99ddb9c in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#3  0x00007fb4d6481e65 in QThreadPrivate::start (arg=0x155d310) at thread/qthread_unix.cpp:188
#4  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb4b56f3950 (LWP 19621)):
#0  0x00007fb4d57fe386 in poll () from /lib64/libc.so.6
#1  0x00007fb4b961361d in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007fb4b9606179 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007fb4b96075e8 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007fb4b96076b0 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007fb4b961341d in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007fb4b9636720 in ?? () from /usr/lib64/libpulse.so.0
#7  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb4b0ef1950 (LWP 19622)):
#0  0x00007fb4d6211d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb4bed00b13 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fb4d620e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fb4d580710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb4dc6f0750 (LWP 19526)):
[KCrash Handler]
#5  0x00007fb4d65836c3 in QHash<QObject*, QObject**>::erase(QHash<QObject*, QObject**>::iterator) () from /usr/lib64/libQtCore.so.4
#6  0x00007fb4d657e89d in QMetaObject::removeGuard (ptr=0x1f9c560) at kernel/qobject.cpp:402
#7  0x00007fb4d653b895 in QList<QPointer<QObject> >::free (this=<value optimized out>, data=0x2460bf0) at ../../src/corelib/kernel/qpointer.h:64
#8  0x00007fb4d6583848 in QList<QPointer<QObject> >::clear() () from /usr/lib64/libQtCore.so.4
#9  0x00007fb4d6581cfe in ~QObject (this=0x24774e0) at kernel/qobject.cpp:833
#10 0x00007fb4d713270f in ~QWidget (this=0x24774e0) at kernel/qwidget.cpp:1380
#11 0x00007fb4d76ef36e in ~QToolBarSeparator (this=0x1fd8440) at widgets/qtoolbarseparator_p.h:66
#12 0x00007fb4d657a181 in QObjectPrivate::deleteChildren (this=0x2456510) at kernel/qobject.cpp:1847
#13 0x00007fb4d7132562 in ~QWidget (this=0x2560830) at kernel/qwidget.cpp:1367
#14 0x00007fb4d85c4981 in ~KToolBar (this=0x2560830) at /usr/src/debug/kdelibs-4.2.98/kdeui/widgets/ktoolbar.cpp:715
#15 0x00007fb4d657a181 in QObjectPrivate::deleteChildren (this=0x7fb4c40ad0a0) at kernel/qobject.cpp:1847
#16 0x00007fb4d7132562 in ~QWidget (this=0x7fb4c41b5c10) at kernel/qwidget.cpp:1367
#17 0x00007fb4d85976a6 in ~KMainWindow (this=0x7fb4c41b5c10) at /usr/src/debug/kdelibs-4.2.98/kdeui/widgets/kmainwindow.cpp:467
#18 0x000000000052864f in ?? ()
#19 0x00007fb4d657b8c5 in QObject::event (this=0x7fb4c41b5c10, e=0x2460bf0) at kernel/qobject.cpp:1094
#20 0x00007fb4d713631d in QWidget::event (this=0x7fb4c41b5c10, event=0x2730580) at kernel/qwidget.cpp:7946
#21 0x00007fb4d74a711b in QMainWindow::event (this=0x7fb4c41b5c10, event=0x2730580) at widgets/qmainwindow.cpp:1399
#22 0x00007fb4d85d2eb8 in KXmlGuiWindow::event (this=0x1fd8440, ev=0x2460bf0) at /usr/src/debug/kdelibs-4.2.98/kdeui/xmlgui/kxmlguiwindow.cpp:131
#23 0x00007fb4d70e5b0d in QApplicationPrivate::notify_helper (this=0xa37f40, receiver=0x7fb4c41b5c10, e=0x2730580) at kernel/qapplication.cpp:4056
#24 0x00007fb4d70edd9a in QApplication::notify (this=0x7fff32b017b0, receiver=0x7fb4c41b5c10, e=0x2730580) at kernel/qapplication.cpp:4021
#25 0x00007fb4d84c671b in KApplication::notify (this=0x7fff32b017b0, receiver=0x7fb4c41b5c10, event=0x2730580) at /usr/src/debug/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#26 0x00007fb4d656b94c in QCoreApplication::notifyInternal (this=0x7fff32b017b0, receiver=0x7fb4c41b5c10, event=0x2730580) at kernel/qcoreapplication.cpp:610
#27 0x00007fb4d656c5ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa15d90) at kernel/qcoreapplication.h:213
#28 0x00007fb4d65950b3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#29 0x00007fb4d2df80fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fb4d2dfb8cd in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fb4d2dfba8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fb4d6594d3f in QEventDispatcherGlib::processEvents (this=0xa159f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#33 0x00007fb4d717cfef in QGuiEventDispatcherGlib::processEvents (this=0x1fd8440, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x00007fb4d656a1d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 850400912}) at kernel/qeventloop.cpp:149
#35 0x00007fb4d656a5a4 in QEventLoop::exec (this=0x7fff32b016d0, flags={i = 850400992}) at kernel/qeventloop.cpp:201
#36 0x00007fb4d656c894 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#37 0x000000000070ee02 in ?? ()
#38 0x00007fb4d5752586 in __libc_start_main () from /lib64/libc.so.6
#39 0x0000000000469ab9 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2009-07-30 21:05:04 UTC
Roman, Please try beta3.

Marcel, Andi, another libc issue ?

Gilles Caulier
Comment 2 Roman K. 2009-07-30 22:29:12 UTC
that crash was a little bit random, because until now, it has always been working. it was the first time that it crashed after downloading and deleting the images. just that you know that this doesn't happen all the time.
Comment 3 Marcel Wiesweg 2009-08-04 17:06:56 UTC
The backtrace doesnt give us a clue where the real problem lies.
If this is not reproducable it's very difficult to do anything with this.
Comment 4 Andi Clemens 2009-10-08 11:33:40 UTC
Yes, we should close it again.

Roman, if you experience the crash again, feel free to re-open the report.
Unfortunately this backtrace isn't helping us here.

Andi