Bug 281028

Summary: DigiKam Crash while uploading Raw Photos
Product: [Applications] digikam Reporter: Mark Framness <markf>
Component: Plugin-RawImport-NativeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.9.0   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In: 2.3.0
Sentry Crash Report:

Description Mark Framness 2011-08-30 00:21:23 UTC
Application: digikam (1.9.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.37.6 x86_64
Distribution (Platform): Slackware Packages

-- Information about the crash:
I have my sony A55 mounted to /camera and navigate to the raw images directory and select a subset of the total images. I then ask for those images to be moved to my "ForEditing" album and while working on that, it crashes.

The crash can be reproduced every time.

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

Thread 17 (Thread 0x7f777c535700 (LWP 21512)):
#0  0x00007f778bb5f8a0 in _int_malloc () from /lib64/libc.so.6
#1  0x00007f778bb627ce in malloc () from /lib64/libc.so.6
#2  0x00007f778c3ddfbd in operator new(unsigned long) () from /usr/lib64/libstdc++.so.6
#3  0x00007f7789836e0b in ?? () from /usr/lib64/libexiv2.so.10
#4  0x00007f778983cd5f in Exiv2::Exifdatum::Exifdatum(Exiv2::Exifdatum const&) () from /usr/lib64/libexiv2.so.10
#5  0x00007f7792866af7 in KExiv2Iface::KExiv2::getGPSLongitudeNumber(double*) const () from /usr/lib64/libkexiv2.so.8
#6  0x00007f77917d32b3 in Digikam::DMetadata::getMetadataField (this=0x7f777c534830, field=<value optimized out>) at /home/weaver/Digikam/digikam-1.9.0/libs/dmetadata/dmetadata.cpp:1599
#7  0x00007f77917d280c in Digikam::DMetadata::getMetadataFields (this=0x7f777c534830, fields=<value optimized out>) at /home/weaver/Digikam/digikam-1.9.0/libs/dmetadata/dmetadata.cpp:1765
#8  0x00007f77912a0a16 in Digikam::ImageScanner::scanImagePosition (this=0x7f777c534820) at /home/weaver/Digikam/digikam-1.9.0/libs/database/imagescanner.cpp:402
#9  0x00007f77912a2f9b in Digikam::ImageScanner::scanFile (this=0x7f777c534820, mode=<value optimized out>) at /home/weaver/Digikam/digikam-1.9.0/libs/database/imagescanner.cpp:258
#10 0x00007f779125477e in Digikam::CollectionScanner::scanNewFile (this=<value optimized out>, info=<value optimized out>, albumId=4) at /home/weaver/Digikam/digikam-1.9.0/libs/database/collectionscanner.cpp:856
#11 0x00007f7791256b06 in Digikam::CollectionScanner::scanAlbum (this=0x7f777c534d50, location=..., album=...) at /home/weaver/Digikam/digikam-1.9.0/libs/database/collectionscanner.cpp:746
#12 0x00007f7791257f02 in Digikam::CollectionScanner::partialScan (this=0x7f777c534d50, albumRoot=<value optimized out>, album=...) at /home/weaver/Digikam/digikam-1.9.0/libs/database/collectionscanner.cpp:379
#13 0x00007f77912583e5 in Digikam::CollectionScanner::partialScan (this=0x7f777c534d50, filePath=...) at /home/weaver/Digikam/digikam-1.9.0/libs/database/collectionscanner.cpp:326
#14 0x00000000005e96e2 in Digikam::ScanController::run (this=0xc2b5e0) at /home/weaver/Digikam/digikam-1.9.0/digikam/scancontroller.cpp:612
#15 0x00007f778d3a18be in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#17 0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f777bd34700 (LWP 21514)):
#0  0x00007f7788e0e70d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f7788e0f0d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7788e0f36d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f778d4b5256 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f778d489562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f778d4897ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f778d39f0e4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f778d3a18be in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f777b326700 (LWP 21515)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f777b325a90 in ?? ()
#2  0x00007ffffd0a87b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0x7f777ab25700 (LWP 21516)):
#0  0x00007f778d10bb7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f778d3a1fab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f77918463b7 in Digikam::ParkingThread::run (this=0xe29690) at /home/weaver/Digikam/digikam-1.9.0/libs/threads/threadmanager.cpp:119
#3  0x00007f778d3a18be in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#5  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f777a324700 (LWP 21517)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f777a323a90 in ?? ()
#2  0x00007ffffd0a87b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x7f7779b23700 (LWP 21518)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f7779b22a90 in ?? ()
#2  0x00007ffffd0a87b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x7f7770548700 (LWP 21519)):
#0  0x00007f778d10befb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77728d88c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f776eada700 (LWP 21520)):
#0  0x00007f778bbc3843 in select () from /lib64/libc.so.6
#1  0x00007f7772900dd4 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f77728e6369 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#4  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f776e2d9700 (LWP 21521)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f776e2d8a40 in ?? ()
#2  0x00007ffffd0a87b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x7f776d8cf700 (LWP 21524)):
#0  0x00007f778bbc1553 in poll () from /lib64/libc.so.6
#1  0x00007f776d8d4825 in ?? () from /usr/lib64/xine/plugins/1.29/xineplug_ao_out_alsa.so
#2  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f776d0ce700 (LWP 21525)):
#0  0x00007f778d10bb7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77728ea67b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f776c8cd700 (LWP 21526)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f776c8cca50 in ?? ()
#2  0x00007ffffd0a87b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7f776a206700 (LWP 21533)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f776a205a50 in ?? ()
#2  0x00007ffffd0a87b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f775987c700 (LWP 21576)):
#0  0x00007f778d10ad6d in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007f7788e0f395 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f778d4b5256 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#3  0x00007f778d489562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f778d4897ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f778d39f0e4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#6  0x00007f778d46ad48 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f778d3a18be in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f775907b700 (LWP 21583)):
#0  0x00007f778d109304 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f7788e0ddd6 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7788e0ecc9 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7788e0f36d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f778d4b5256 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f778d489562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f778d4897ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f778d39f0e4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f778d46ad48 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f778d3a18be in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f77527fc700 (LWP 21590)):
#0  0x00007f778d10cbdd in pthread_getspecific () from /lib64/libpthread.so.0
#1  0x00007f778d3a1981 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f778d4b4cb9 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f7788e0e56c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7788e0ee52 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f7788e0f36d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f778d4b5256 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f778d489562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f778d4897ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#9  0x00007f778d39f0e4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#10 0x00007f778d46ad48 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f778d3a18be in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007f778d106d6b in start_thread () from /lib64/libpthread.so.0
#13 0x00007f778bbcb75d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f779437a7e0 (LWP 21511)):
[KCrash Handler]
#6  0x00007f778d447fbc in QUrl::host() const () from /usr/lib64/libQtCore.so.4
#7  0x00007f778d8e0650 in KUrl::hasHost() const () from /usr/lib64/libkdecore.so.5
#8  0x00007f778d8e0e78 in KUrl::toLocalFile(KUrl::AdjustPathOption) const () from /usr/lib64/libkdecore.so.5
#9  0x00000000004804e4 in Digikam::ImageWindow::slotLoadCurrent (this=0x43c04f0) at /home/weaver/Digikam/digikam-1.9.0/utilities/imageeditor/editor/imagewindow.cpp:645
#10 0x0000000000481700 in Digikam::ImageWindow::qt_metacall (this=0x43c04f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xd141110) at /home/weaver/Digikam/digikam-1.9.0/digikam/imagewindow.moc:143
#11 0x00007f778d49e46a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#12 0x00007f778e11579d in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f778e4d38bb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f778eed08a3 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f778e0c4724 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f778e0c91ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f778edccbf6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007f778d48a1ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007f778d48d995 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#20 0x00007f778d4b5063 in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007f7788e0e8f3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f7788e0f0d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f7788e0f36d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f778d4b51ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#25 0x00007f778e16879e in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f778d489562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007f778d4897ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007f778d48dc4b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#29 0x000000000062bfd5 in main (argc=11344384, argv=0x7ffffd020500) at /home/weaver/Digikam/digikam-1.9.0/digikam/main.cpp:216

Possible duplicates by query: bug 207330.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-08-30 04:04:05 UTC
Crash is in KDE/Qt library.

I recommend to check your installation.

Gilles Caulier
Comment 2 caulier.gilles 2011-11-03 12:42:31 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 3 caulier.gilles 2011-11-03 13:18:35 UTC
Giles,

Haven't upgraded DigiKam since I reported the above bugs. I'll start looking it. However, I have not had the crash happen again, I'm getting better with using the application.

Thanks

Sent from my HTC on the Now Network from Sprint!