Bug 282701

Summary: Crash when "download/delete all images" from sd-card
Product: [Applications] digikam Reporter: guenter <guenter.k>
Component: Import-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:

Description guenter 2011-09-24 17:05:02 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
After all images were downloaded, I hit OK on the Delete-these-files?-Message-Screen.
And it crashed.
May be related, that I opened already during deletion the "DeviceManager" tray app for being ready to remove the card immediatly.

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

Thread 8 (Thread 0x7fa03c4d1700 (LWP 6537)):
#0  0x00007fa04f4e038c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa052ee8bbb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005bb898 in Digikam::ScanController::run (this=0xd2b510) at /usr/src/debug/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#3  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa05154067d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa03bcd0700 (LWP 6538)):
#0  0x00007fa051537503 in poll () from /lib64/libc.so.6
#1  0x00007fa049a50114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fa049a50650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fa052ffc636 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fa052fd0c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fa052fd0e35 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa052ee5be4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fa052fb2358 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa05154067d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa03b4cf700 (LWP 6541)):
#0  0x00007fa04f4e038c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa052ee8bbb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fa0555cdc17 in Digikam::ParkingThread::run (this=0xd46df0) at /usr/src/debug/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#3  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa05154067d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa028b3d700 (LWP 6561)):
#0  0x00007fa04f4de0a4 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fa049a4eeef in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007fa049a4ffa9 in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007fa049a50650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007fa052ffc636 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fa052fd0c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa052fd0e35 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fa052ee5be4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007fa052fb2358 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa05154067d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa0269eb700 (LWP 6562)):
#0  0x00007fa051537503 in poll () from /lib64/libc.so.6
#1  0x00007fa049a50114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fa049a50650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fa052ffc636 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fa052fd0c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fa052fd0e35 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa052ee5be4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fa052fb2358 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa05154067d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa023a64700 (LWP 6569)):
#0  0x00007fa04f4e038c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa052ee8bbb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000000076c863 in Digikam::CameraController::run (this=0x5ab9400) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/controller/cameracontroller.cpp:385
#3  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa05154067d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa021a60700 (LWP 6570)):
#0  0x00007fa04f4e038c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa052ee8bbb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000000000770416 in Digikam::CameraHistoryUpdater::run (this=0x7fa034051170) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#3  0x00007fa052ee84d5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fa04f4dba3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa05154067d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa057cf27c0 (LWP 6533)):
[KCrash Handler]
#6  Digikam::IconItem::rect (this=0x0) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/q3support/iconitem.cpp:126
#7  0x000000000078d10d in Digikam::IconItem::update (this=0x0) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/q3support/iconitem.cpp:233
#8  0x000000000077efa7 in Digikam::CameraIconView::slotThumbInfoReady (this=0x53a28f0, info=<value optimized out>) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/views/cameraiconview.cpp:233
#9  0x0000000000780b58 in Digikam::CameraIconView::qt_metacall (this=0x53a28f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff53702170) at /usr/src/debug/digikam-2.1.1/build/core/utilities/cameragui/cameraiconview.moc:145
#10 0x00007fa052fe5e8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#11 0x000000000076d720 in Digikam::CameraThumbsCtrl::signalThumbInfoReady (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/digikam-2.1.1/build/core/utilities/cameragui/camerathumbsctrl.moc:99
#12 0x000000000076e678 in Digikam::CameraThumbsCtrl::procressKDEPreview (this=0x7fa034905610, item=..., pix=...) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:180
#13 0x000000000076ea3f in Digikam::CameraThumbsCtrl::slotFailedKDEPreview (this=0x7fa034905610, item=...) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/controller/camerathumbsctrl.cpp:156
#14 0x000000000076ee11 in Digikam::CameraThumbsCtrl::qt_metacall (this=0x7fa034905610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff537024c0) at /usr/src/debug/digikam-2.1.1/build/core/utilities/cameragui/camerathumbsctrl.moc:87
#15 0x00007fa052fe5e8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007fa054203615 in KIO::PreviewJob::failed(KFileItem const&) () from /usr/lib64/libkio.so.5
#17 0x00007fa0542046eb in ?? () from /usr/lib64/libkio.so.5
#18 0x00007fa054205218 in KIO::PreviewJob::slotResult(KJob*) () from /usr/lib64/libkio.so.5
#19 0x00007fa054206601 in KIO::PreviewJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#20 0x00007fa052fe5e8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#21 0x00007fa05343bc02 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#22 0x00007fa05343bc40 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#23 0x00007fa05417ffed in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#24 0x00007fa054181b07 in KIO::StatJob::slotFinished() () from /usr/lib64/libkio.so.5
#25 0x00007fa054180116 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib64/libkio.so.5
#26 0x00007fa054181488 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#27 0x00007fa0541819a0 in KIO::StatJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#28 0x00007fa052fe5e8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#29 0x00007fa054227546 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib64/libkio.so.5
#30 0x00007fa05422a16d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#31 0x00007fa0542270f3 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#32 0x00007fa054219ffe in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#33 0x00007fa05421a73c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#34 0x00007fa052fe5e8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#35 0x00007fa054151be7 in ?? () from /usr/lib64/libkio.so.5
#36 0x00007fa054151c9d in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#37 0x00007fa052fe57aa in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#38 0x00007fa05211d264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007fa05212581a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007fa053a19b76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#41 0x00007fa052fd17cc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#42 0x00007fa052fd4fc5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#43 0x00007fa052ffc443 in ?? () from /usr/lib64/libQtCore.so.4
#44 0x00007fa049a4fbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#45 0x00007fa049a503b0 in ?? () from /lib64/libglib-2.0.so.0
#46 0x00007fa049a50650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#47 0x00007fa052ffc5df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#48 0x00007fa0521c31ae in ?? () from /usr/lib64/libQtGui.so.4
#49 0x00007fa052fd0c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#50 0x00007fa052fd0e35 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#51 0x00007fa052fd527b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#52 0x00000000006857c5 in main (argc=11833824, argv=0x7fff00000001) at /usr/src/debug/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-09-25 13:27:45 UTC

*** This bug has been marked as a duplicate of bug 282194 ***
Comment 2 caulier.gilles 2023-04-05 14:35:39 UTC
Fixed with #282194