Bug 350423 - digikam crashes while uploading from a corrupt EyeFi SD card
Summary: digikam crashes while uploading from a corrupt EyeFi SD card
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 4.9.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-20 19:22 UTC by Oded
Modified: 2021-05-04 04:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded 2015-07-20 19:22:23 UTC
Application: digikam (4.9.0)
KDE Platform Version: 4.14.7
Qt Version: 4.8.6
Operating System: Linux 3.19.5-200.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
- What I was doing when the application crashed:
this happend when uploading from the card, and then again while digikam is started with the card still plugged

-- Backtrace:
Application: digiKam (digikam), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
QString::operator== (this=this@entry=0x7ffd7477bea0, other=...) at tools/qstring.cpp:2192
2192	    if (d->size != other.d->size)
[Current thread is 1 (Thread 0x7f00e1530b00 (LWP 20224))]

Thread 8 (Thread 0x7f00dafb4700 (LWP 20226)):
#0  0x000000316cef4c8d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f00e75f758c in linux_udev_event_thread_main () at /lib64/libusb-1.0.so.0
#2  0x000000316d60752a in start_thread (arg=0x7f00dafb4700) at pthread_create.c:310
#3  0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f00d44e2700 (LWP 20227)):
#0  0x000000316d60f52f in __libc_recv (fd=3, buf=0x7f00cc0faeb8, n=16384, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:33
#1  0x00007f00d25b5103 in vio_read () at /usr/lib64/mysql/libmysqlclient.so.18
#2  0x00007f00d25b5195 in vio_read_buff () at /usr/lib64/mysql/libmysqlclient.so.18
#3  0x00007f00d2593ae4 in my_real_read(st_net*, unsigned long*, char) () at /usr/lib64/mysql/libmysqlclient.so.18
#4  0x00007f00d25949a8 in my_net_read_packet () at /usr/lib64/mysql/libmysqlclient.so.18
#5  0x00007f00d2585f3e in cli_safe_read () at /usr/lib64/mysql/libmysqlclient.so.18
#6  0x00007f00d258a3d8 in mysql_real_connect () at /usr/lib64/mysql/libmysqlclient.so.18
#7  0x00007f00d2ad7922 in QMYSQLDriver::open(QString const&, QString const&, QString const&, QString const&, int, QString const&) (this=0x7f00cc062080, db=..., user=..., password=..., host=..., port=3306, connOpts=...) at ../../../sql/drivers/mysql/qsql_mysql.cpp:1289
#8  0x000000317f2132c4 in QSqlDatabase::open() (this=this@entry=0x7f00cc0b0ad0) at kernel/qsqldatabase.cpp:839
#9  0x00007f00f0a76d4e in Digikam::DatabaseCoreBackendPrivate::databaseForThread() (this=this@entry=0x2d1c390) at /usr/src/debug/digikam-4.9.0/core/libs/database/core/databasecorebackend.cpp:194
#10 0x00007f00f0a77df2 in Digikam::DatabaseCoreBackend::queryErrorHandling(Digikam::SqlQuery&, int) (this=this@entry=0x2d269f0, query=..., retries=retries@entry=0) at /usr/src/debug/digikam-4.9.0/core/libs/database/core/databasecorebackend.cpp:1326
#11 0x00007f00f0a78045 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) (this=0x2d269f0, query=...) at /usr/src/debug/digikam-4.9.0/core/libs/database/core/databasecorebackend.cpp:1428
#12 0x00007f00f0a79d4f in Digikam::DatabaseCoreBackend::execQuery(QString const&, QMap<QString, QVariant> const&) (this=this@entry=0x2d269f0, sql=..., bindingMap=...) at /usr/src/debug/digikam-4.9.0/core/libs/database/core/databasecorebackend.cpp:1252
#13 0x00007f00f0a7a507 in Digikam::DatabaseCoreBackend::execSql(QString const&, QMap<QString, QVariant> const&, QList<QVariant>*, QVariant*) (this=this@entry=0x2d269f0, sql=..., bindingMap=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x0) at /usr/src/debug/digikam-4.9.0/core/libs/database/core/databasecorebackend.cpp:951
#14 0x00007f00f0a7bb4f in Digikam::DatabaseCoreBackend::execDBAction(Digikam::DatabaseAction const&, QMap<QString, QVariant> const&, QList<QVariant>*, QVariant*) (this=0x2d269f0, action=..., bindingMap=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x0) at /usr/src/debug/digikam-4.9.0/core/libs/database/core/databasecorebackend.cpp:670
#15 0x00007f00f03db8b0 in Digikam::AlbumDB::deleteStaleAlbums() (this=0x2d26aa0) at /usr/src/debug/digikam-4.9.0/core/libs/database/albumdb.cpp:574
#16 0x00007f00f0402c5b in Digikam::CollectionScanner::completeScan() (this=this@entry=0x7f00d44e1a90) at /usr/src/debug/digikam-4.9.0/core/libs/database/collectionscanner.cpp:472
#17 0x00000000005e9320 in Digikam::ScanController::run() (this=0x2d56bd0) at /usr/src/debug/digikam-4.9.0/core/app/database/scancontroller.cpp:756
#18 0x000000317d87c3af in QThreadPrivate::start(void*) (arg=0x2d56bd0) at thread/qthread_unix.cpp:349
#19 0x000000316d60752a in start_thread (arg=0x7f00d44e2700) at pthread_create.c:310
#20 0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f00d3ce1700 (LWP 20228)):
#0  0x000000316cef4c8d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000316f249b34 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x000000316f249c4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x000000317d9b54be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f00c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x000000317d984cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00d3ce0a80, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000317d985025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00d3ce0a80, flags=...) at kernel/qeventloop.cpp:204
#6  0x000000317d879b49 in QThread::exec() (this=this@entry=0x2d29ca0) at thread/qthread.cpp:538
#7  0x000000317d965623 in QInotifyFileSystemWatcherEngine::run() (this=0x2d29ca0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x000000317d87c3af in QThreadPrivate::start(void*) (arg=0x2d29ca0) at thread/qthread_unix.cpp:349
#9  0x000000316d60752a in start_thread (arg=0x7f00d3ce1700) at pthread_create.c:310
#10 0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f00d34e0700 (LWP 20241)):
#0  0x000000316d60c590 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000317d87c906 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x2d9f870) at thread/qwaitcondition_unix.cpp:86
#2  0x000000317d87c906 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x2f40ac0, mutex=mutex@entry=0x2f40ab8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00f0ac6d99 in Digikam::ParkingThread::run() (this=0x2f40aa0) at /usr/src/debug/digikam-4.9.0/core/libs/threads/threadmanager.cpp:119
#4  0x000000317d87c3af in QThreadPrivate::start(void*) (arg=0x2f40aa0) at thread/qthread_unix.cpp:349
#5  0x000000316d60752a in start_thread (arg=0x7f00d34e0700) at pthread_create.c:310
#6  0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f00b5330700 (LWP 20246)):
#0  0x000000316d60f1cd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000316f28cd00 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x000000316f2495fc in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x000000316f249ad3 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x000000316f249c4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x000000317d9b54be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f009c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x000000317d984cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00b532fa50, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000317d985025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00b532fa50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f00f0ac6403 in Digikam::WorkerObjectRunnable::run() (this=0x801e240) at /usr/src/debug/digikam-4.9.0/core/libs/threads/threadmanager.cpp:196
#9  0x000000317d86fb64 in QThreadPoolThread::run() (this=0x5177d90) at concurrent/qthreadpool.cpp:108
#10 0x000000317d87c3af in QThreadPrivate::start(void*) (arg=0x5177d90) at thread/qthread_unix.cpp:349
#11 0x000000316d60752a in start_thread (arg=0x7f00b5330700) at pthread_create.c:310
#12 0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f00acc36700 (LWP 20253)):
#0  0x000000316f2494fa in g_main_context_check () at /lib64/libglib-2.0.so.0
#1  0x000000316f249ad3 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x000000316f249c4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x000000317d9b54be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f00980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x000000317d984cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00acc35a50, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000317d985025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00acc35a50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f00f0ac6403 in Digikam::WorkerObjectRunnable::run() (this=0x801e210) at /usr/src/debug/digikam-4.9.0/core/libs/threads/threadmanager.cpp:196
#7  0x000000317d86fb64 in QThreadPoolThread::run() (this=0x7f008c0237f0) at concurrent/qthreadpool.cpp:108
#8  0x000000317d87c3af in QThreadPrivate::start(void*) (arg=0x7f008c0237f0) at thread/qthread_unix.cpp:349
#9  0x000000316d60752a in start_thread (arg=0x7f00acc36700) at pthread_create.c:310
#10 0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f003c130700 (LWP 20293)):
[KCrash Handler]
#6  0x000000316cf458f6 in __memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:238
#7  0x00007f00eaf5b22e in Exiv2::DataValue::read(unsigned char const*, long, Exiv2::ByteOrder) () at /lib64/libexiv2.so.13
#8  0x00007f00eaf4d0a7 in Exiv2::Internal::TiffReader::readTiffEntry(Exiv2::Internal::TiffEntryBase*) () at /lib64/libexiv2.so.13
#9  0x00007f00eaf4ec00 in Exiv2::Internal::TiffReader::visitMnEntry(Exiv2::Internal::TiffMnEntry*) () at /lib64/libexiv2.so.13
#10 0x00007f00eaf383a8 in Exiv2::Internal::TiffMnEntry::doAccept(Exiv2::Internal::TiffVisitor&) () at /lib64/libexiv2.so.13
#11 0x00007f00eaf38527 in Exiv2::Internal::TiffDirectory::doAccept(Exiv2::Internal::TiffVisitor&) () at /lib64/libexiv2.so.13
#12 0x00007f00eaf384de in Exiv2::Internal::TiffSubIfd::doAccept(Exiv2::Internal::TiffVisitor&) () at /lib64/libexiv2.so.13
#13 0x00007f00eaf38527 in Exiv2::Internal::TiffDirectory::doAccept(Exiv2::Internal::TiffVisitor&) () at /lib64/libexiv2.so.13
#14 0x00007f00eaf4288d in Exiv2::Internal::TiffParserWorker::parse(unsigned char const*, unsigned int, unsigned int, Exiv2::Internal::TiffHeaderBase*) () at /lib64/libexiv2.so.13
#15 0x00007f00eaf4299f in Exiv2::Internal::TiffParserWorker::decode(Exiv2::ExifData&, Exiv2::IptcData&, Exiv2::XmpData&, unsigned char const*, unsigned int, unsigned int, void (Exiv2::Internal::TiffDecoder::*(*)(std::string const&, unsigned int, Exiv2::Internal::IfdId))(Exiv2::Internal::TiffEntryBase const*), Exiv2::Internal::TiffHeaderBase*) () at /lib64/libexiv2.so.13
#16 0x00007f00eae9aee5 in Exiv2::Cr2Parser::decode(Exiv2::ExifData&, Exiv2::IptcData&, Exiv2::XmpData&, unsigned char const*, unsigned int) () at /lib64/libexiv2.so.13
#17 0x00007f00eae9b67a in Exiv2::Cr2Image::readMetadata() () at /lib64/libexiv2.so.13
#18 0x00007f00f13c2e7d in KExiv2Iface::KExiv2::load(QString const&) const (this=this@entry=0x7f003c12f360, filePath=...) at /usr/src/debug/libkexiv2-14.12.3/libkexiv2/kexiv2.cpp:310
#19 0x00007f00f0a505d6 in Digikam::DMetadata::load(QString const&) const (this=this@entry=0x7f003c12f360, filePath=...) at /usr/src/debug/digikam-4.9.0/core/libs/dmetadata/dmetadata.cpp:110
#20 0x00007f00f0a50662 in Digikam::DMetadata::DMetadata(QString const&) (this=0x7f003c12f360, filePath=...) at /usr/src/debug/digikam-4.9.0/core/libs/dmetadata/dmetadata.cpp:72
#21 0x0000000000846abc in Digikam::UMSCamera::getThumbnail(QString const&, QString const&, QImage&) (this=<optimized out>, folder=..., itemName=..., thumbnail=...) at /usr/src/debug/digikam-4.9.0/core/utilities/importui/backend/umscamera.cpp:276
#22 0x0000000000828a5b in Digikam::CameraController::executeCommand(Digikam::CameraCommand*) (this=this@entry=0x6cfa4d0, cmd=cmd@entry=0x7a263d0) at /usr/src/debug/digikam-4.9.0/core/utilities/importui/backend/cameracontroller.cpp:565
#23 0x000000000082a451 in Digikam::CameraController::run() (this=0x6cfa4d0) at /usr/src/debug/digikam-4.9.0/core/utilities/importui/backend/cameracontroller.cpp:413
#24 0x000000317d87c3af in QThreadPrivate::start(void*) (arg=0x6cfa4d0) at thread/qthread_unix.cpp:349
#25 0x000000316d60752a in start_thread (arg=0x7f003c130700) at pthread_create.c:310
#26 0x000000316cf0022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f00e1530b00 (LWP 20224)):
#0  0x000000317d8c1e78 in QString::operator==(QString const&) const (this=this@entry=0x7ffd7477bea0, other=...) at tools/qstring.cpp:2192
#1  0x000000317f7db3db in KLocalePrivate::useDefaultLanguage() const (this=0x2cbd540) at /usr/src/debug/kdelibs-4.14.7/kdecore/localization/klocale_kde.cpp:2620
#2  0x000000317f7e8894 in KLocalePrivate::translateQt(char const*, char const*, char const*) const (this=0x2cbd540, context=0x317df07640 <qt_meta_stringdata_QNativeSocketEngine> "QNativeSocketEngine", sourceText=0x317deff0a1 "Network operation timed out", comment=0x0) at /usr/src/debug/kdelibs-4.14.7/kdecore/localization/klocale_kde.cpp:1003
#3  0x000000317f7d8781 in KLocale::translateQt(char const*, char const*, char const*) const (this=<optimized out>, context=context@entry=0x317df07640 <qt_meta_stringdata_QNativeSocketEngine> "QNativeSocketEngine", sourceText=sourceText@entry=0x317deff0a1 "Network operation timed out", comment=comment@entry=0x0) at /usr/src/debug/kdelibs-4.14.7/kdecore/localization/klocale.cpp:199
#4  0x000000317f7594a1 in KDETranslator::translate(char const*, char const*, char const*) const (this=<optimized out>, context=0x317df07640 <qt_meta_stringdata_QNativeSocketEngine> "QNativeSocketEngine", sourceText=0x317deff0a1 "Network operation timed out", message=0x0) at /usr/src/debug/kdelibs-4.14.7/kdecore/kernel/kglobal_p.h:52
#5  0x000000317d9a554c in QTranslator::translate(char const*, char const*, char const*, int) const (this=<optimized out>, context=context@entry=0x317df07640 <qt_meta_stringdata_QNativeSocketEngine> "QNativeSocketEngine", sourceText=sourceText@entry=0x317deff0a1 "Network operation timed out", disambiguation=disambiguation@entry=0x0, n=n@entry=-1) at kernel/qtranslator.cpp:1029
#6  0x000000317d986715 in QCoreApplication::translate(char const*, char const*, char const*, QCoreApplication::Encoding, int) (context=0x317df07640 <qt_meta_stringdata_QNativeSocketEngine> "QNativeSocketEngine", sourceText=sourceText@entry=0x317deff0a1 "Network operation timed out", disambiguation=0x0, encoding=encoding@entry=QCoreApplication::CodecForTr, n=n@entry=-1) at kernel/qcoreapplication.cpp:1972
#7  0x000000317d986aef in QCoreApplication::translate(char const*, char const*, char const*, QCoreApplication::Encoding) (context=<optimized out>, sourceText=sourceText@entry=0x317deff0a1 "Network operation timed out", disambiguation=<optimized out>, encoding=encoding@entry=QCoreApplication::CodecForTr) at kernel/qcoreapplication.cpp:1887
#8  0x000000317d98ca30 in QMetaObject::tr(char const*, char const*) const (this=<optimized out>, s=s@entry=0x317deff0a1 "Network operation timed out", c=<optimized out>) at kernel/qmetaobject.cpp:307
#9  0x000000317ded33b6 in QNativeSocketEnginePrivate::setError(QAbstractSocket::SocketError, QNativeSocketEnginePrivate::ErrorString) const (c=0x0, s=0x317deff0a1 "Network operation timed out") at socket/qnativesocketengine_p.h:105
#10 0x000000317ded33b6 in QNativeSocketEnginePrivate::setError(QAbstractSocket::SocketError, QNativeSocketEnginePrivate::ErrorString) const (this=this@entry=0x3cb8330, error=error@entry=QAbstractSocket::SocketTimeoutError, errorString=errorString@entry=QNativeSocketEnginePrivate::TimeOutErrorString) at socket/qnativesocketengine.cpp:213
#11 0x000000317ded4c56 in QNativeSocketEngine::waitForReadOrWrite(bool*, bool*, bool, bool, int, bool*) (this=0x423c440, readyToRead=<optimized out>, readyToWrite=<optimized out>, checkRead=<optimized out>, checkWrite=<optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:1033
#12 0x000000317decdc47 in QAbstractSocket::waitForBytesWritten(int) (this=0x4d431c0, msecs=-1) at socket/qabstractsocket.cpp:1939
#13 0x000000318a6cbdf2 in KIO::SocketConnectionBackend::sendCommand(KIO::Task const&) (this=0x63b23d0, task=...) at /usr/src/debug/kdelibs-4.14.7/kio/kio/connection.cpp:298
#14 0x000000318a6ccb9c in KIO::Connection::sendnow(int, QByteArray const&) (this=0x475d2a0, _cmd=<optimized out>, data=...) at /usr/src/debug/kdelibs-4.14.7/kio/kio/connection.cpp:509
#15 0x000000318a6ccfb5 in KIO::Connection::send(int, QByteArray const&) (this=0x475d2a0, cmd=80, data=...) at /usr/src/debug/kdelibs-4.14.7/kio/kio/connection.cpp:493
#16 0x000000318a706264 in KIO::SimpleJobPrivate::start(KIO::Slave*) (this=this@entry=0x54b6360, slave=slave@entry=0x474e910) at /usr/src/debug/kdelibs-4.14.7/kio/kio/job.cpp:441
#17 0x000000318a70664f in KIO::TransferJobPrivate::start(KIO::Slave*) (this=0x54b6360, slave=0x474e910) at /usr/src/debug/kdelibs-4.14.7/kio/kio/job.cpp:1279
#18 0x000000318a79bed5 in KIO::ProtoQueue::startAJob() (slave=0x474e910, job=0x732ec80) at /usr/src/debug/kdelibs-4.14.7/kio/kio/scheduler.cpp:60
#19 0x000000318a79bed5 in KIO::ProtoQueue::startAJob() (this=0x2e7b600) at /usr/src/debug/kdelibs-4.14.7/kio/kio/scheduler.cpp:630
#20 0x000000317d99acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x2e7b658, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#21 0x000000317d99f2a3 in QObject::event(QEvent*) (this=0x2e7b658, e=<optimized out>) at kernel/qobject.cpp:1253
#22 0x00000031809c7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x2b86dd0, receiver=0x2e7b658, e=0x7ffd7477c8b0) at kernel/qapplication.cpp:4565
#23 0x00000031809ce958 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffd7477d6f0, receiver=receiver@entry=0x2e7b658, e=e@entry=0x7ffd7477c8b0) at kernel/qapplication.cpp:4351
#24 0x000000318744ed3a in KApplication::notify(QObject*, QEvent*) (this=0x7ffd7477d6f0, receiver=0x2e7b658, event=0x7ffd7477c8b0) at /usr/src/debug/kdelibs-4.14.7/kdeui/kernel/kapplication.cpp:311
#25 0x000000317d98616d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd7477d6f0, receiver=0x2e7b658, event=event@entry=0x7ffd7477c8b0) at kernel/qcoreapplication.cpp:953
#26 0x000000317d9b7aeb in QTimerInfoList::activateTimers() (event=0x7ffd7477c8b0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#27 0x000000317d9b7aeb in QTimerInfoList::activateTimers() (this=0x2b80c90) at kernel/qeventdispatcher_unix.cpp:621
#28 0x000000317d9b4ad1 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#29 0x000000316f2497fb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#30 0x000000316f249b98 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#31 0x000000316f249c4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#32 0x000000317d9b549e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2ad0230, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#33 0x0000003180a6b176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#34 0x000000317d984cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x2dc7220, flags=...) at kernel/qeventloop.cpp:149
#35 0x000000317d985025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2dc7220, flags=...) at kernel/qeventloop.cpp:204
#36 0x00000000005e4d41 in Digikam::ScanController::completeCollectionScanCore(bool, bool) (this=0x2d56bd0, needTotalFiles=needTotalFiles@entry=true, defer=defer@entry=false) at /usr/src/debug/digikam-4.9.0/core/app/database/scancontroller.cpp:486
#37 0x00000000005e4e5e in Digikam::ScanController::completeCollectionScanInBackground(bool) (this=<optimized out>, defer=defer@entry=false) at /usr/src/debug/digikam-4.9.0/core/app/database/scancontroller.cpp:471
#38 0x000000000052a577 in Digikam::NewItemsFinder::slotStart() (this=0x5b74f20) at /usr/src/debug/digikam-4.9.0/core/utilities/maintenance/newitemsfinder.cpp:112
#39 0x000000317d99f3d1 in QObject::event(QEvent*) (this=0x5b74f20, e=<optimized out>) at kernel/qobject.cpp:1222
#40 0x00000031809c7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x2b86dd0, receiver=0x5b74f20, e=0x2db9a40) at kernel/qapplication.cpp:4565
#41 0x00000031809ce958 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffd7477d6f0, receiver=receiver@entry=0x5b74f20, e=e@entry=0x2db9a40) at kernel/qapplication.cpp:4351
#42 0x000000318744ed3a in KApplication::notify(QObject*, QEvent*) (this=0x7ffd7477d6f0, receiver=0x5b74f20, event=0x2db9a40) at /usr/src/debug/kdelibs-4.14.7/kdeui/kernel/kapplication.cpp:311
#43 0x000000317d98616d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd7477d6f0, receiver=receiver@entry=0x5b74f20, event=event@entry=0x2db9a40) at kernel/qcoreapplication.cpp:953
#44 0x000000317d989431 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x2db9a40, receiver=0x5b74f20) at kernel/qcoreapplication.h:231
#45 0x000000317d989431 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2aced10) at kernel/qcoreapplication.cpp:1577
#46 0x000000317d9898c3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#47 0x000000317d9b532e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#48 0x000000317d9b532e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x2b71a40) at kernel/qeventdispatcher_glib.cpp:300
#49 0x000000316f2497fb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#50 0x000000316f249b98 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#51 0x000000316f249c4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#52 0x000000317d9b549e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2ad0230, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#53 0x0000003180a6b176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#54 0x000000317d984cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd7477d1e0, flags=...) at kernel/qeventloop.cpp:149
#55 0x000000317d985025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd7477d1e0, flags=...) at kernel/qeventloop.cpp:204
#56 0x000000317d98a709 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#57 0x00000031809c639c in QApplication::exec() () at kernel/qapplication.cpp:3823
#58 0x00000000004969d6 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-4.9.0/core/app/main/main.cpp:237

Reported using DrKonqi
Comment 1 Oded 2015-07-20 19:34:13 UTC
I can mount and read many but not all of the files.
syslog error messages just before the crash:

Jul 20 22:13:00 F19 kernel: [6326855.242953] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.242957] sde1: rw=0, want=327977982, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.242960] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.242961] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243069] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243071] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243140] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243153] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: sde1: rw=0, want=327977982, limit=60850816
Jul 20 22:13:00 F19 kernel: attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243194] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243196] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243233] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243234] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243270] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243272] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243317] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243318] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243363] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243365] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243420] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243421] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243456] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243458] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243511] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243513] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243548] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243550] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243585] attempt to access beyond end of device
Jul 20 22:13:00 F19 kernel: [6326855.243587] sde1: rw=0, want=327977926, limit=60850816
Jul 20 22:13:00 F19 kernel: [6326855.243622] attempt to access beyond end of device
Comment 2 caulier.gilles 2015-07-20 22:11:39 UTC
It crash in Exiv2 shared lib in TIFF file parser.

Please report this problem to Exiv2 library bugzilla with exiv2 version used
(look in digiKam Help/Components Info dialog for details).

http://dev.exiv2.org/projects/exiv2/wiki

Also image edited where you can reproduce the problem.
Comment 3 Oded 2015-07-21 20:16:01 UTC
(In reply to Gilles Caulier from comment #2)
> It crash in Exiv2 shared lib in TIFF file parser.
> 
> Please report this problem to Exiv2 library bugzilla with exiv2 version used
> (look in digiKam Help/Components Info dialog for details).
> 
> http://dev.exiv2.org/projects/exiv2/wiki
> 
> Also image edited where you can reproduce the problem.

maybe a try-catch around error prone 3rd party library calls  can make digikam more stable.
Comment 4 caulier.gilles 2015-07-21 21:09:00 UTC
try catch already implemented in libkexiv2 interface.

In fact, in your crash condition, Exiv2 must generate an Exception, else it doesn't work.

Gilles Caulier
Comment 5 caulier.gilles 2015-07-26 13:50:34 UTC
*** Bug 350599 has been marked as a duplicate of this bug. ***
Comment 6 Jose Gómez 2015-07-26 15:48:43 UTC
So, has this been reported as an issue in the libkexiv tracker? Also, is there a solution or workaround for this issue?
Comment 7 caulier.gilles 2021-05-04 04:14:13 UTC
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4