Bug 204967 - Crash import photo SD (Digikam::IconGroupItem::firstItem, Digikam::CameraUI::slotFileList)
Summary: Crash import photo SD (Digikam::IconGroupItem::firstItem, Digikam::CameraUI::...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-24 12:53 UTC by tommydrapeau
Modified: 2017-08-16 05:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tommydrapeau 2009-08-24 12:53:48 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta3
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-desktop-0.rc6.1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
During the scan of my SD photo card, DigiKam crashed.
i have mutli file on my sd card , not only photo.


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

Thread 14 (Thread 0x7fdf7ec88910 (LWP 19134)):
#0  0x00007fdf8c505e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdf8d271d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x0000000000632e98 in Digikam::ScanController::run (this=0x243f400) at /usr/src/debug/digikam-1.0.0-beta3/digikam/scancontroller.cpp:483
#3  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fdf7de7a910 (LWP 19135)):
#0  0x00007fdf8c7e37f3 in poll () from /lib64/libc.so.6
#1  0x00007fdf869f4419 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf869f4780 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf8d37f6ae in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8d3559e2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fdf8d355db4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#6  0x00007fdf8d26df2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#9  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fdf7d679910 (LWP 19136)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fdf7d678db0 in ?? ()
#2  0x00007fff019ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x7fdf7cdf8910 (LWP 19137)):
#0  0x00007fdf8c505e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdf8d271d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fdf900b4b12 in Digikam::LoadSaveThread::run (this=0x2580a60) at /usr/src/debug/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fdf7c5f7910 (LWP 19138)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fdf7c5f6db0 in ?? ()
#2  0x00007fff019ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7fdf7bdf6910 (LWP 19139)):
#0  0x00007fdf8c7e37f3 in poll () from /lib64/libc.so.6
#1  0x00007fdf869f4419 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf869f4780 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf8d37f6ae in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8d3559e2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fdf8d355db4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#6  0x00007fdf8d26df2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#9  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fdf7b5f5910 (LWP 19140)):
#0  0x00007fdf8c505e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdf8d271d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fdf900b4b12 in Digikam::LoadSaveThread::run (this=0x25bab90) at /usr/src/debug/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fdf75035910 (LWP 19143)):
#0  0x00007fdf8c7e37f3 in poll () from /lib64/libc.so.6
#1  0x00007fdf7657df2f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007fdf7656e519 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007fdf7656f8b9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007fdf7656f970 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007fdf7657de4b in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007fdf7633cef0 in ?? () from /usr/lib64/libpulsecommon-0.9.16.so
#7  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fdf6f6f8910 (LWP 19154)):
#0  0x00007fdf85d28090 in clock_gettime () from /lib64/librt.so.1
#1  0x00007fdf8d38117d in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fdf8d381371 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fdf8d381da3 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8d37f82d in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007fdf869f3e2a in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fdf869f4229 in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fdf869f4780 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fdf8d37f6ae in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#9  0x00007fdf8d3559e2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#10 0x00007fdf8d355db4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#11 0x00007fdf8d26df2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#12 0x00007fdf73dd6615 in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#13 0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#14 0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#15 0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fdf71014910 (LWP 19161)):
#0  0x00007fdf8c505e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdf8d271d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007fdf900b4b12 in Digikam::LoadSaveThread::run (this=0x50f6d70) at /usr/src/debug/digikam-1.0.0-beta3/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fdf7285b910 (LWP 19162)):
#0  0x00007fdf8c7faf67 in pthread_mutex_lock () from /lib64/libc.so.6
#1  0x00007fdf869f3e65 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fdf869f4229 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fdf869f4780 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fdf8d37f6ae in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007fdf8d3559e2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00007fdf8d355db4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007fdf8d26df2b in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007fdf73dd6615 in ?? () from /usr/lib64/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#9  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#11 0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdf7202a910 (LWP 19178)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fdf72029d40 in ?? ()
#2  0x00007fff019ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fdf615d3910 (LWP 19185)):
#0  0x00007fdf8c505e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdf8d271d5b in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00000000004e4a9d in Digikam::CameraController::run (this=0x7de64f0) at /usr/src/debug/digikam-1.0.0-beta3/utilities/cameragui/cameracontroller.cpp:328
#3  0x00007fdf8d270ca5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdf8c5017cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007fdf8c7ed37d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdf92bf0710 (LWP 19128)):
[KCrash Handler]
#5  Digikam::IconGroupItem::firstItem (this=0x505000500050000) at /usr/src/debug/digikam-1.0.0-beta3/digikam/icongroupitem.cpp:119
#6  0x00000000004eb2bf in Digikam::CameraUI::slotFileList (this=0x5ca3f00, fileList=<value optimized out>) at /usr/src/debug/digikam-1.0.0-beta3/utilities/cameragui/cameraui.cpp:1133
#7  0x00000000004f28f1 in Digikam::CameraUI::qt_metacall (this=0x5ca3f00, _c=QMetaObject::InvokeMetaMethod, _id=-64, _a=0x7efd2a0) at /usr/src/debug/digikam-1.0.0-beta3/build/digikam/cameraui.moc:210
#8  0x00007fdf8d3665a9 in QObject::event () from /usr/lib64/libQtCore.so.4
#9  0x00007fdf8def033f in QWidget::event () from /usr/lib64/libQtGui.so.4
#10 0x00007fdf8e26562b in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#11 0x00007fdf8edda310 in KXmlGuiWindow::event (this=0x505000500050000, ev=0x0) at /usr/src/debug/kdelibs-4.3.0/kdeui/xmlgui/kxmlguiwindow.cpp:131
#12 0x00007fdf8dea218c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#13 0x00007fdf8dea945e in QApplication::notify () from /usr/lib64/libQtGui.so.4
#14 0x00007fdf8eceea7e in KApplication::notify (this=0x7fff019ed0d0, receiver=0x5ca3f00, event=0x7d38ae0) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#15 0x00007fdf8d3570dc in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#16 0x00007fdf8d357cba in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4
#17 0x00007fdf8d37f9e3 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007fdf869f0bce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fdf869f4638 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fdf869f4780 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fdf8d37f656 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#22 0x00007fdf8df3560e in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007fdf8d3559e2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#24 0x00007fdf8d355db4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#25 0x00007fdf8d357f69 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#26 0x000000000067c221 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/digikam-1.0.0-beta3/digikam/main.cpp:184

Reported using DrKonqi
Comment 1 caulier.gilles 2009-08-24 22:27:24 UTC
This problem hae been fixed in current code from svn by Marcel... Please test with beta4 code.

Gilles Caulier
Comment 2 Dario Andres 2009-09-02 04:18:03 UTC
*** Bug 205831 has been marked as a duplicate of this bug. ***
Comment 3 Andi Clemens 2009-10-08 11:35:50 UTC
Yes, this one is fixed. I will close it now.
Comment 4 Dario Andres 2009-10-12 15:00:50 UTC
Bug 210305 got this crash on beta5...
Thanks
Comment 5 Dario Andres 2009-10-12 15:00:52 UTC
*** Bug 210305 has been marked as a duplicate of this bug. ***
Comment 6 Marcel Wiesweg 2009-10-12 15:53:01 UTC
SVN commit 1034346 by mwiesweg:

Do not access citem after it has been removed.
Additionally, I dont see the indication for dynamic_cast here. Use static_cast.

CCBUG: 210206
CCBUG: 204967

 M  +6 -5      cameraui.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1034346