Bug 194330

Summary: digikam crashed when deleting image
Product: [Applications] digikam Reporter: simon
Component: Database-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, mailchrisch, marcel.wiesweg, mike, tobias
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 simon 2009-05-27 18:49:21 UTC
Application that crashed: digikam
Version of the application: 0.11.0-svn
KDE Version: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-rc6-git3 x86_64

What I was doing when the application crashed:

hi,

i just deleted a image and then it  crashed

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 0 (LWP 7877)]

Thread 16 (Thread 0x427d6950 (LWP 7878)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c8922f875 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000000000610aa9 in Digikam::ScanController::run (this=0xb23200) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/digikam/scancontroller.cpp:455
#3  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#5  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x40e9f950 (LWP 7880)):
#0  0xffffffffff60016b in ?? ()
#1  0x0000000040e9ed50 in ?? ()
#2  0x00007fff875ff533 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0x41c7c950 (LWP 7881)):
#0  0x00007f6c874ebbb6 in poll () from /lib/libc.so.6
#1  0x00007f6c84b065e4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6c84b06c9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6c89330465 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c89306f85 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f6c893070f6 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f6c8922c04c in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#9  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x42fd7950 (LWP 7882)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c8922f875 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f6c8b17171a in Digikam::LoadSaveThread::run (this=0xe53c30) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#5  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x437d8950 (LWP 7883)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c8922f875 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f6c8b17171a in Digikam::LoadSaveThread::run (this=0xf2ba70) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#5  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x43fd9950 (LWP 7884)):
#0  0x00007f6c88fc1c3d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c79e89af5 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#3  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x447da950 (LWP 7885)):
#0  0x00007f6c874eda62 in select () from /lib/libc.so.6
#1  0x00007f6c79ead354 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f6c79e95900 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#4  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x44fdb950 (LWP 7886)):
#0  0x00007f6c874ebbb6 in poll () from /lib/libc.so.6
#1  0x00007f6c84b065e4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6c84b06c9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6c89330465 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c89306f85 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f6c893070f6 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f6c8922c04c in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f6c7a0e049e in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#10 0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x457dc950 (LWP 7889)):
#0  0x00007f6c874ebbb6 in poll () from /lib/libc.so.6
#1  0x00007f6c75823969 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#3  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x45fdd950 (LWP 7890)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c79e96e7d in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f6c79e97cc8 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#4  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x467de950 (LWP 7891)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c8922f875 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f6c8b17171a in Digikam::LoadSaveThread::run (this=0x16a67b0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#5  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x46fdf950 (LWP 7892)):
#0  0xffffffffff60016b in ?? ()
#1  0x0000000046fded50 in ?? ()
#2  0x00007fff875ff533 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x477e0950 (LWP 7893)):
#0  0x00007f6c88fbf339 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f6c84b0620c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6c84b06512 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6c84b06c9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f6c89330465 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f6c89306f85 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f6c893070f6 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f6c8922c04c in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#10 0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x487e2950 (LWP 7967)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c8922f875 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f6c8b17171a in Digikam::LoadSaveThread::run (this=0x2179580) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#5  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x47fe1950 (LWP 7968)):
#0  0x00007f6c88fc19b9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6c8922f875 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f6c8b17171a in Digikam::LoadSaveThread::run (this=0x16e1280) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f6c8922ebf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f6c88fbd097 in start_thread () from /lib/libpthread.so.0
#5  0x00007f6c874f3ccd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6c8ddbd760 (LWP 7877)):
[KCrash Handler]
#5  0x00007f6c8745f165 in raise () from /lib/libc.so.6
#6  0x00007f6c874604de in abort () from /lib/libc.so.6
#7  0x00007f6c89226ea9 in qt_message_output () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f6c89227540 in qFatal () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f6c892ffcbe in QAbstractItemModel::beginInsertRows () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f6c8ad7553f in Digikam::ImageModel::appendInfos (this=0xdab200, infos=@0xea7808) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/models/imagemodel.cpp:348
#11 0x00007f6c8ad7596b in Digikam::ImageModel::finishIncrementalRefresh (this=0xdab200) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/models/imagemodel.cpp:416
#12 0x0000000000570671 in Digikam::ImageAlbumModel::slotResult (this=0x1ec5, job=0x1ec5) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/models/imagealbummodel.cpp:252
#13 0x000000000057184c in Digikam::ImageAlbumModel::qt_metacall (this=0xdab200, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff875a6660)
    at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999_build/digikam/imagealbummodel.moc:106
#14 0x00007f6c8931bc23 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f6c89938e12 in KJob::result (this=0x1ec5, _t1=0x2eaa9c0) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999_build/kdecore/kjob.moc:188
#16 0x00007f6c89939213 in KJob::emitResult (this=0x2eaa9c0) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdecore/jobs/kjob.cpp:304
#17 0x00007f6c8a5fad72 in KIO::SimpleJob::slotFinished (this=0x2eaa9c0) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kio/kio/job.cpp:477
#18 0x00007f6c8a5fb2b7 in KIO::TransferJob::slotFinished (this=0x2eaa9c0) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kio/kio/job.cpp:948
#19 0x00007f6c8a6012ea in KIO::TransferJob::qt_metacall (this=0x2eaa9c0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff875a6a20)
    at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999_build/kio/jobclasses.moc:343
#20 0x00007f6c8931bc23 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f6c8a69637c in KIO::SlaveInterface::dispatch (this=0xf1f0c0, _cmd=104, rawdata=@0x7fff875a6c70)
    at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kio/kio/slaveinterface.cpp:175
#22 0x00007f6c8a696983 in KIO::SlaveInterface::dispatch (this=0xf1f0c0) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kio/kio/slaveinterface.cpp:91
#23 0x00007f6c8a68ba4a in KIO::Slave::gotInput (this=0xf1f0c0) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kio/kio/slave.cpp:322
#24 0x00007f6c8a68cb5a in KIO::Slave::qt_metacall (this=0xf1f0c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff875a6dc0)
    at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999_build/kio/slave.moc:76
#25 0x00007f6c8931bc23 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f6c8a5d467d in KIO::ConnectionPrivate::dequeue (this=0x250e380) at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kio/kio/connection.cpp:82
#27 0x00007f6c8a5d53b2 in KIO::Connection::qt_metacall (this=0x258ce70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xfa5d60)
    at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999_build/kio/connection.moc:73
#28 0x00007f6c89318871 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f6c880a92fe in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f6c880b06e2 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f6c8a0f4311 in KApplication::notify (this=0x7fff875a77c0, receiver=0x258ce70, event=0x279d150)
    at /var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#32 0x00007f6c89307cf3 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f6c89308f8a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f6c8932fe63 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007f6c84b034b2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007f6c84b06795 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007f6c84b06c9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007f6c8933044e in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f6c881318cf in ?? () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f6c89306f85 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007f6c893070f6 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f6c8930931b in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#43 0x0000000000633fdc in main (argc=5, argv=0x7fff875a7db8) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/digikam/main.cpp:184
Comment 1 Marcel Wiesweg 2009-05-27 22:56:52 UTC
SVN commit 973810 by mwiesweg:

Dont know if this is related to the crash

CCBUG: 194330

 M  +3 -0      imagemodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=973810
Comment 2 Marcel Wiesweg 2009-05-30 22:37:19 UTC
Simon, I think the commit has fixed the problem. Dont know why it did not crash for me. Please test with current SVN.
Comment 3 caulier.gilles 2009-06-03 15:59:44 UTC
Simon,

We need a feedback here. It still reproducible using current code from svn ?

Thanks in advance

Gilles Caulier
Comment 4 simon 2009-06-03 16:11:52 UTC
thanks, it works - forgot to close
Comment 5 caulier.gilles 2009-06-19 15:51:27 UTC
*** Bug 196986 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-06-23 03:38:16 UTC
*** Bug 197562 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-06-23 03:38:20 UTC
*** Bug 197449 has been marked as a duplicate of this bug. ***