Bug 305108 - Crash during import of images
Summary: Crash during import of images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 23:13 UTC by Donald Norwood
Modified: 2019-12-25 15:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donald Norwood 2012-08-13 23:13:06 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was importing images via Import > Add Images. The from images were from a folder, the only import option was "Date-based sub albums".  To be fair the source dir is a large directory with multiple sub-directories.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaea4a8c0 (LWP 22315))]

Thread 8 (Thread 0xacda3b40 (LWP 22318)):
#0  0xb312cc68 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb312d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb312d56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xad2f6134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#4  0xb31506b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xac3ffb40 (LWP 22319)):
#0  0xb47985c8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb316c3d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb312cc5e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb312d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb312d56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xaf87f1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb31506b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xaa570b40 (LWP 22321)):
#0  0xb4714612 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xb493851f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#2  0xb491f99b in std::string::_Rep::_M_destroy(std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#3  0xb3784728 in Exiv2::XmpNsInfo::operator==(Exiv2::XmpNsInfo::Prefix const&) const () from /usr/lib/libexiv2.so.11
#4  0xb378716f in Exiv2::XmpNsInfo const* std::__find<Exiv2::XmpNsInfo const*, Exiv2::XmpNsInfo::Prefix>(Exiv2::XmpNsInfo const*, Exiv2::XmpNsInfo const*, Exiv2::XmpNsInfo::Prefix const&, std::random_access_iterator_tag) () from /usr/lib/libexiv2.so.11
#5  0xb3785709 in Exiv2::XmpProperties::nsInfo(std::string const&) () from /usr/lib/libexiv2.so.11
#6  0xb3785b68 in Exiv2::XmpProperties::ns(std::string const&) () from /usr/lib/libexiv2.so.11
#7  0xb3785cfe in Exiv2::XmpKey::Impl::decomposeKey(std::string const&) () from /usr/lib/libexiv2.so.11
#8  0xb3786102 in Exiv2::XmpKey::XmpKey(std::string const&) () from /usr/lib/libexiv2.so.11
#9  0xb6d92469 in KExiv2Iface::KExiv2::getXmpTagVariant(char const*, bool, bool) const () from /usr/lib/libkexiv2.so.10
#10 0xb6991e48 in Digikam::DMetadata::fromIptcOrXmp (this=0xaa56fd14, iptcTagName=0xb6b59728 "Iptc.Application2.CountryCode", xmpTagName=0xb6b596bc "Xmp.iptc.CountryCode") at /build/buildd/digikam-2.5.0/core/libs/dmetadata/dmetadata.cpp:1834
#11 0xb698e878 in Digikam::DMetadata::getMetadataField (this=0xaa56fd14, field=234907784) at /build/buildd/digikam-2.5.0/core/libs/dmetadata/dmetadata.cpp:1930
#12 0xb698da7a in Digikam::DMetadata::getMetadataFields (this=0xaa56fd14, fields=...) at /build/buildd/digikam-2.5.0/core/libs/dmetadata/dmetadata.cpp:2209
#13 0xb698dbba in Digikam::DMetadata::getIptcCoreLocation (this=0xe006888) at /build/buildd/digikam-2.5.0/core/libs/dmetadata/dmetadata.cpp:1599
#14 0xb698ebcb in Digikam::DMetadata::getMetadataField (this=0xaa56fd14, field=234907784) at /build/buildd/digikam-2.5.0/core/libs/dmetadata/dmetadata.cpp:2142
#15 0xb698da7a in Digikam::DMetadata::getMetadataFields (this=0xaa56fd14, fields=...) at /build/buildd/digikam-2.5.0/core/libs/dmetadata/dmetadata.cpp:2209
#16 0xb65d1a0f in Digikam::ImageScanner::scanIPTCCore (this=0xaa56fd0c) at /build/buildd/digikam-2.5.0/core/libs/database/imagescanner.cpp:490
#17 0xb65d66c6 in scanFile (this=0xaa56fd0c, mode=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/database/imagescanner.cpp:277
#18 Digikam::ImageScanner::scanFile (this=0xaa56fd0c, mode=Digikam::ImageScanner::NewScan) at /build/buildd/digikam-2.5.0/core/libs/database/imagescanner.cpp:252
#19 0xb65d749e in Digikam::ImageScanner::newFile (this=0xaa56fd0c, albumId=0) at /build/buildd/digikam-2.5.0/core/libs/database/imagescanner.cpp:109
#20 0xb6564c05 in Digikam::CollectionScanner::scanNewFile (this=0xaa5700f0, info=..., albumId=0) at /build/buildd/digikam-2.5.0/core/libs/database/collectionscanner.cpp:1049
#21 0xb6566b07 in Digikam::CollectionScanner::scanAlbum (this=0xaa5700f0, location=..., album=...) at /build/buildd/digikam-2.5.0/core/libs/database/collectionscanner.cpp:900
#22 0xb65667d4 in Digikam::CollectionScanner::scanAlbum (this=0xaa5700f0, location=..., album=...) at /build/buildd/digikam-2.5.0/core/libs/database/collectionscanner.cpp:923
#23 0xb65692b3 in Digikam::CollectionScanner::partialScan (this=0xaa5700f0, albumRoot=..., album=...) at /build/buildd/digikam-2.5.0/core/libs/database/collectionscanner.cpp:520
#24 0xb65696ee in Digikam::CollectionScanner::partialScan (this=0xe006888, filePath=...) at /build/buildd/digikam-2.5.0/core/libs/database/collectionscanner.cpp:452
#25 0x0820342f in Digikam::ScanController::run (this=0x97d1b98) at /build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:725
#26 0xb4a5cde0 in QThreadPrivate::start (arg=0x97d1b98) at thread/qthread_unix.cpp:298
#27 0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#28 0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xa9d6fb40 (LWP 22322)):
#0  begin (this=0xab0018cc) at ../../include/QtCore/../../src/corelib/tools/qlist.h:101
#1  constBegin (this=0xab0018cc) at ../../include/QtCore/../../src/corelib/tools/qlist.h:269
#2  QTimerInfoList::timerWait (this=0xab0018cc, tm=...) at kernel/qeventdispatcher_unix.cpp:455
#3  0xb4ba3e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa9d6ef3c) at kernel/qeventdispatcher_glib.cpp:136
#4  0xb4ba3ebd in timerSourcePrepare (source=0xab001898, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0xb312c872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb312cfaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb312d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4ba48e7 in QEventDispatcherGlib::processEvents (this=0xab000cb8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0xb4b7050d in QEventLoop::processEvents (this=0xa9d6f0c0, flags=...) at kernel/qeventloop.cpp:149
#10 0xb4b707a9 in QEventLoop::exec (this=0xa9d6f0c0, flags=...) at kernel/qeventloop.cpp:204
#11 0xb4a5994c in QThread::exec (this=0x97da4b8) at thread/qthread.cpp:501
#12 0xb4b4db5d in QInotifyFileSystemWatcherEngine::run (this=0x97da4b8) at io/qfilesystemwatcher_inotify.cpp:248
#13 0xb4a5cde0 in QThreadPrivate::start (arg=0x97da4b8) at thread/qthread_unix.cpp:298
#14 0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xab9ffb40 (LWP 22329)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb34d896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47983dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a5d350 in wait (time=4294967295, this=0x9a52a58) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9a51ba8, mutex=0x9a51ba4, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6a14b2c in Digikam::ParkingThread::run (this=0x9a51b98) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4a5cde0 in QThreadPrivate::start (arg=0x9a51b98) at thread/qthread_unix.cpp:298
#7  0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0x8da1fb40 (LWP 29981)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb34d896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47983dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a5d350 in wait (time=4294967295, this=0xc992eb0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xd4c67ac, mutex=0xd4c67a8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4a58b6a in QSemaphore::acquire (this=0x8da1ead8, n=1) at thread/qsemaphore.cpp:144
#6  0xb4b88b7f in QMetaObject::activate (sender=0xb3d65a0, m=0x8469f50, local_signal_index=17, argv=0x8da1eb1c) at kernel/qobject.cpp:3525
#7  0x083cc9cf in Digikam::CameraController::signalInternalCheckRename (this=0xb3d65a0, _t1=..., _t2=..., _t3=..., _t4=...) at /build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/utilities/cameragui/cameracontroller.moc:318
#8  0x083d2256 in Digikam::CameraController::executeCommand (this=0xb3d65a0, cmd=0x8da1ee10) at /build/buildd/digikam-2.5.0/core/utilities/cameragui/controller/cameracontroller.cpp:659
#9  0x083d5f91 in Digikam::CameraController::run (this=0xb3d65a0) at /build/buildd/digikam-2.5.0/core/utilities/cameragui/controller/cameracontroller.cpp:396
#10 0xb4a5cde0 in QThreadPrivate::start (arg=0xb3d65a0) at thread/qthread_unix.cpp:298
#11 0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0x9bcffb40 (LWP 29988)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb34d896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47983dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a5d350 in wait (time=4294967295, this=0xcbeee20) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xc3a8400, mutex=0xc3a83fc, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x083de0fd in Digikam::CameraHistoryUpdater::run (this=0xde0a350) at /build/buildd/digikam-2.5.0/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#6  0xb4a5cde0 in QThreadPrivate::start (arg=0xde0a350) at thread/qthread_unix.cpp:298
#7  0xb34d4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb478aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xaea4a8c0 (LWP 22315)):
[KCrash Handler]
#7  0x081c5af4 in Digikam::Album::parent (this=0x6e6f4d46) at /build/buildd/digikam-2.5.0/core/digikam/album/album.cpp:92
#8  0x0819a838 in findIndexAsChild (child=0x6e6f4d46, this=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/models/abstractalbummodelpriv.h:84
#9  Digikam::AbstractAlbumModel::slotAlbumAboutToBeAdded (this=0x9a542c0, album=0xc341858, parent=0xaa6f0a0, prev=0x6e6f4d46) at /build/buildd/digikam-2.5.0/core/libs/models/abstractalbummodel.cpp:432
#10 0xb4b886b1 in QMetaObject::activate (sender=0x97c11b0, m=0x842c7cc, local_signal_index=0, argv=0xbf810ef0) at kernel/qobject.cpp:3547
#11 0x081cc767 in Digikam::AlbumManager::signalAlbumAboutToBeAdded (this=0x97c11b0, _t1=0xc341858, _t2=0xaa6f0a0, _t3=0x6e6f4d46) at /build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/digikam/albummanager.moc:224
#12 0x081d4f2f in Digikam::AlbumManager::insertPAlbum (this=0x97c11b0, album=0xc341858, parent=0xaa6f0a0) at /build/buildd/digikam-2.5.0/core/digikam/album/albummanager.cpp:2793
#13 0x081d571b in Digikam::AlbumManager::createPAlbum (this=0x97c11b0, parent=0xaa6f0a0, name=..., caption=..., date=..., category=..., errMsg=...) at /build/buildd/digikam-2.5.0/core/digikam/album/albummanager.cpp:2111
#14 0x083b77b7 in Digikam::CameraUI::createAutoAlbum (this=0xd059bb0, parentURL=..., sub=..., date=..., errMsg=...) at /build/buildd/digikam-2.5.0/core/utilities/cameragui/main/cameraui.cpp:2031
#15 0x083c2b85 in Digikam::CameraUI::slotDownload (this=0xd059bb0, onlySelected=true, deleteAfter=false, album=0xbf8112ac) at /build/buildd/digikam-2.5.0/core/utilities/cameragui/main/cameraui.cpp:1558
#16 0x083c5367 in Digikam::CameraUI::slotDownloadSelected (this=0xd059bb0) at /build/buildd/digikam-2.5.0/core/utilities/cameragui/main/cameraui.cpp:1360
#17 0xb4b83c01 in QMetaCallEvent::placeMetaCall (this=0xcd1a200, object=0xd059bb0) at kernel/qobject.cpp:525
#18 0xb4b8cc7b in QObject::event (this=0xd059bb0, e=0xcd1a200) at kernel/qobject.cpp:1195
#19 0xb5138e62 in QWidget::event (this=0xd059bb0, event=0xcd1a200) at kernel/qwidget.cpp:8821
#20 0xb55742dc in QMainWindow::event (this=0xd059bb0, event=0xcd1a200) at widgets/qmainwindow.cpp:1478
#21 0xb5d3fc04 in KMainWindow::event (this=0xd059bb0, ev=0xcd1a200) at ../../kdeui/widgets/kmainwindow.cpp:1084
#22 0xb5d890e2 in KXmlGuiWindow::event (this=0xd059bb0, ev=0xcd1a200) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#23 0xb50deed4 in notify_helper (e=0xcd1a200, receiver=0xd059bb0, this=0x9608b30) at kernel/qapplication.cpp:4559
#24 QApplicationPrivate::notify_helper (this=0x9608b30, receiver=0xd059bb0, e=0xcd1a200) at kernel/qapplication.cpp:4531
#25 0xb50e43a2 in QApplication::notify (this=0x9608b30, receiver=0xd059bb0, e=0xcd1a200) at kernel/qapplication.cpp:4524
#26 0xb5c64401 in KApplication::notify (this=0xbf811ea0, receiver=0xd059bb0, event=0xcd1a200) at ../../kdeui/kernel/kapplication.cpp:311
#27 0xb4b7197e in QCoreApplication::notifyInternal (this=0xbf811ea0, receiver=0xd059bb0, event=0xcd1a200) at kernel/qcoreapplication.cpp:876
#28 0xb4b75ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95c4b28) at kernel/qcoreapplication.cpp:1500
#30 0xb4b75e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#31 0xb4ba4494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=0x9608158) at kernel/qeventdispatcher_glib.cpp:279
#33 0xb312cd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb312d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb312d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb4ba4887 in QEventDispatcherGlib::processEvents (this=0x95c58a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0xb5197aaa in QGuiEventDispatcherGlib::processEvents (this=0x95c58a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0xb4b7050d in QEventLoop::processEvents (this=0xbf811d84, flags=...) at kernel/qeventloop.cpp:149
#39 0xb4b707a9 in QEventLoop::exec (this=0xbf811d84, flags=...) at kernel/qeventloop.cpp:204
#40 0xb4b75eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0xb50dca74 in QApplication::exec () at kernel/qapplication.cpp:3820
#42 0x080b69e4 in main (argc=0, argv=0xbf810f14) at /build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 253283.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-08-14 06:53:11 UTC

*** This bug has been marked as a duplicate of bug 253283 ***
Comment 2 caulier.gilles 2019-12-25 15:43:53 UTC
Not reproducible using digiKam 7.0.0 beta1.