Bug 319415

Summary: Digikam crash
Product: [Applications] digikam Reporter: Juan Carlos Guijarro <maguila.jc>
Component: DImg-PluginsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 3.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Juan Carlos Guijarro 2013-05-06 15:27:00 UTC
Application: digikam (3.1.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
The application is crashed when loading an album with pictures of Nikon D7000

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7fdcd20a9a40 (LWP 16703))]

Thread 10 (Thread 0x7fdcab36c700 (LWP 16704)):
[KCrash Handler]
#5  0x00007fdccd4ea288 in read_dib_body (s=..., bi=..., offset=66, startpos=0, image=...) at image/qbmphandler.cpp:322
#6  0x00007fdccd4eb77c in QBmpHandler::read (this=0x7fdca40b2720, image=0x7fdcab36ae10) at image/qbmphandler.cpp:770
#7  0x00007fdccd4c2f0d in QImageReader::read (this=this@entry=0x7fdcab36ae70, image=image@entry=0x7fdcab36ae10) at image/qimagereader.cpp:1205
#8  0x00007fdccd4c345f in QImageReader::read (this=this@entry=0x7fdcab36ae70) at image/qimagereader.cpp:1155
#9  0x00007fdccd4b79d1 in QImage::load (this=this@entry=0x7fdcab36afb0, fileName=..., format=format@entry=0x0) at image/qimage.cpp:5094
#10 0x00007fdccd4b7b95 in QImage::QImage (this=0x7fdcab36afb0, fileName=..., format=0x0) at image/qimage.cpp:995
#11 0x00007fdccf7b41d9 in Digikam::QImageLoader::load(QString const&, Digikam::DImgLoaderObserver*) () from /usr/lib/libdigikamcore.so.3
#12 0x00007fdccf787f9c in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&) () from /usr/lib/libdigikamcore.so.3
#13 0x00007fdccf7896c5 in Digikam::DImg::loadImageInfo(QString const&, bool, bool, bool, bool) () from /usr/lib/libdigikamcore.so.3
#14 0x00007fdccf36af29 in Digikam::ImageScanner::loadFromDisk() () from /usr/lib/libdigikamdatabase.so.3
#15 0x00007fdccf36b0e8 in Digikam::ImageScanner::newFile(int) () from /usr/lib/libdigikamdatabase.so.3
#16 0x00007fdccf310d10 in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () from /usr/lib/libdigikamdatabase.so.3
#17 0x00007fdccf3141e1 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.3
#18 0x00007fdccf315572 in Digikam::CollectionScanner::finishCompleteScan(QStringList const&) () from /usr/lib/libdigikamdatabase.so.3
#19 0x00000000005cc727 in ?? ()
#20 0x00007fdccc914bec in QThreadPrivate::start (arg=0x1777d70) at thread/qthread_unix.cpp:338
#21 0x00007fdcc6e41f8e in start_thread (arg=0x7fdcab36c700) at pthread_create.c:311
#22 0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7fdcaab6b700 (LWP 16705)):
#0  0x00007fdccbb253cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdcc46a11dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdcc46a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdccca40036 in QEventDispatcherGlib::processEvents (this=0x7fdc9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdccca1038f in QEventLoop::processEvents (this=this@entry=0x7fdcaab6ab10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdccca10618 in QEventLoop::exec (this=this@entry=0x7fdcaab6ab10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdccc912410 in QThread::exec (this=this@entry=0x17ac9f0) at thread/qthread.cpp:542
#7  0x00007fdccc9f1edf in QInotifyFileSystemWatcherEngine::run (this=0x17ac9f0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fdccc914bec in QThreadPrivate::start (arg=0x17ac9f0) at thread/qthread_unix.cpp:338
#9  0x00007fdcc6e41f8e in start_thread (arg=0x7fdcaab6b700) at pthread_create.c:311
#10 0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7fdcaa36a700 (LWP 16707)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdccc91514b in wait (time=18446744073709551615, this=0x1997770) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17865c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdccf9600a9 in ?? () from /usr/lib/libdigikamcore.so.3
#4  0x00007fdccc914bec in QThreadPrivate::start (arg=0x17865b0) at thread/qthread_unix.cpp:338
#5  0x00007fdcc6e41f8e in start_thread (arg=0x7fdcaa36a700) at pthread_create.c:311
#6  0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7fdca8a1d700 (LWP 16708)):
#0  0x00007fdccbb253cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdcc46a11dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdcc46a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdccca40036 in QEventDispatcherGlib::processEvents (this=0x7fdc940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdccca1038f in QEventLoop::processEvents (this=this@entry=0x7fdca8a1cb10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdccca10618 in QEventLoop::exec (this=this@entry=0x7fdca8a1cb10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdccc912410 in QThread::exec (this=this@entry=0x1f812e0) at thread/qthread.cpp:542
#7  0x00007fdccc9f1edf in QInotifyFileSystemWatcherEngine::run (this=0x1f812e0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fdccc914bec in QThreadPrivate::start (arg=0x1f812e0) at thread/qthread_unix.cpp:338
#9  0x00007fdcc6e41f8e in start_thread (arg=0x7fdca8a1d700) at pthread_create.c:311
#10 0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7fdc5dffb700 (LWP 16759)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fdccc913694 in _q_futex (timeout=0x0, val=2, op=0, addr=0x1756680, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x1756680, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007fdccc90f9dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fdccf924d24 in Digikam::ThumbnailDatabaseAccess::ThumbnailDatabaseAccess() () from /usr/lib/libdigikamcore.so.3
#5  0x00007fdccf94c15d in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/libdigikamcore.so.3
#6  0x00007fdccf94e4b1 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.3
#7  0x00007fdccf94ee52 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib/libdigikamcore.so.3
#8  0x00007fdccf95b987 in ?? () from /usr/lib/libdigikamcore.so.3
#9  0x00007fdccf9355ae in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.3
#10 0x00007fdccf9620de in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.3
#11 0x00007fdccc90855d in QThreadPoolThread::run (this=0x34d1cb0) at concurrent/qthreadpool.cpp:107
#12 0x00007fdccc914bec in QThreadPrivate::start (arg=0x34d1cb0) at thread/qthread_unix.cpp:338
#13 0x00007fdcc6e41f8e in start_thread (arg=0x7fdc5dffb700) at pthread_create.c:311
#14 0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fdc6c91d700 (LWP 16764)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fdccc913694 in _q_futex (timeout=0x0, val=2, op=0, addr=0x1756680, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x1756680, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007fdccc90f9dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fdccf924d24 in Digikam::ThumbnailDatabaseAccess::ThumbnailDatabaseAccess() () from /usr/lib/libdigikamcore.so.3
#5  0x00007fdccf9490dc in Digikam::ThumbnailCreator::loadDatabaseThumbnailInfo(Digikam::ThumbnailInfo const&) const () from /usr/lib/libdigikamcore.so.3
#6  0x00007fdccf94b5de in Digikam::ThumbnailCreator::loadFromDatabase(Digikam::ThumbnailInfo const&) const () from /usr/lib/libdigikamcore.so.3
#7  0x00007fdccf94e400 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.3
#8  0x00007fdccf94ee52 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib/libdigikamcore.so.3
#9  0x00007fdccf95b987 in ?? () from /usr/lib/libdigikamcore.so.3
#10 0x00007fdccf9355ae in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.3
#11 0x00007fdccf9620de in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.3
#12 0x00007fdccc90855d in QThreadPoolThread::run (this=0x34ca3a0) at concurrent/qthreadpool.cpp:107
#13 0x00007fdccc914bec in QThreadPrivate::start (arg=0x34ca3a0) at thread/qthread_unix.cpp:338
#14 0x00007fdcc6e41f8e in start_thread (arg=0x7fdc6c91d700) at pthread_create.c:311
#15 0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fdc5f7fe700 (LWP 16765)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fdccc9150a7 in wait (time=30000, this=0x1786d80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x19a0cc8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdccc90864f in QThreadPoolThread::run (this=0x34d1860) at concurrent/qthreadpool.cpp:141
#4  0x00007fdccc914bec in QThreadPrivate::start (arg=0x34d1860) at thread/qthread_unix.cpp:338
#5  0x00007fdcc6e41f8e in start_thread (arg=0x7fdc5f7fe700) at pthread_create.c:311
#6  0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fdc657fa700 (LWP 16766)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fdccc9150a7 in wait (time=30000, this=0x1786d80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x19a0cc8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdccc90864f in QThreadPoolThread::run (this=0x34ca110) at concurrent/qthreadpool.cpp:141
#4  0x00007fdccc914bec in QThreadPrivate::start (arg=0x34ca110) at thread/qthread_unix.cpp:338
#5  0x00007fdcc6e41f8e in start_thread (arg=0x7fdc657fa700) at pthread_create.c:311
#6  0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fdc6e7fc700 (LWP 16767)):
#0  0x00007fdccbb2a3dd in fsync () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdcb52bd46e in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#2  0x00007fdcb52a3b9f in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#3  0x00007fdcb52ccda6 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4  0x00007fdcb52dc0c1 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5  0x00007fdcb530dc42 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6  0x00007fdcb52f2341 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#7  0x00007fdca99652cf in QSQLiteResultPrivate::fetchNext (this=this@entry=0x7fdc50026250, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:236
#8  0x00007fdca9966087 in QSQLiteResult::exec (this=0x7fdc50014270) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:448
#9  0x00007fdcd1cd7b87 in QSqlQuery::exec (this=0x7fdc6e7fb5d8) at kernel/qsqlquery.cpp:949
#10 0x00007fdccf919ad1 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from /usr/lib/libdigikamcore.so.3
#11 0x00007fdccf919cb2 in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.3
#12 0x00007fdccf91deea in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.3
#13 0x00007fdccf91df45 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/libdigikamcore.so.3
#14 0x00007fdccf92691d in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib/libdigikamcore.so.3
#15 0x00007fdccf94c2b4 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/libdigikamcore.so.3
#16 0x00007fdccf94e4b1 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.3
#17 0x00007fdccf94f35c in Digikam::ThumbnailCreator::pregenerate(QString const&) const () from /usr/lib/libdigikamcore.so.3
#18 0x00007fdccf95b9c0 in ?? () from /usr/lib/libdigikamcore.so.3
#19 0x00007fdccf9355ae in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.3
#20 0x00007fdccf9620de in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.3
#21 0x00007fdccc90855d in QThreadPoolThread::run (this=0x34d0fc0) at concurrent/qthreadpool.cpp:107
#22 0x00007fdccc914bec in QThreadPrivate::start (arg=0x34d0fc0) at thread/qthread_unix.cpp:338
#23 0x00007fdcc6e41f8e in start_thread (arg=0x7fdc6e7fc700) at pthread_create.c:311
#24 0x00007fdccbb31e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fdcd20a9a40 (LWP 16703)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdccc91514b in wait (time=18446744073709551615, this=0x2a57e70) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a57e20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdccf961778 in Digikam::DynamicThread::wait(QMutexLocker&) () from /usr/lib/libdigikamcore.so.3
#4  0x00007fdccf961930 in Digikam::DynamicThread::shutDown() () from /usr/lib/libdigikamcore.so.3
#5  0x00007fdccf937430 in Digikam::ManagedLoadSaveThread::shutDown() () from /usr/lib/libdigikamcore.so.3
#6  0x00007fdccf950fcf in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () from /usr/lib/libdigikamcore.so.3
#7  0x00007fdccf951109 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () from /usr/lib/libdigikamcore.so.3
#8  0x00007fdccba74121 in __run_exit_handlers (status=1, listp=0x7fdccbdf96a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#9  0x00007fdccba741a5 in __GI_exit (status=<optimized out>) at exit.c:99
#10 0x00007fdccd464348 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#11 0x00007fdcce103888 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#12 0x00007fdcca0456de in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fdcca04316d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fdcca03475b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fdccd49fc37 in x11EventSourcePrepare (s=0x157e880, timeout=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#16 0x00007fdcc46a0900 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fdcc46a10fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fdcc46a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fdccca40016 in QEventDispatcherGlib::processEvents (this=0x1509e90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007fdccd4a01ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007fdccca1038f in QEventLoop::processEvents (this=this@entry=0x7fffe7e86670, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007fdccca10618 in QEventLoop::exec (this=this@entry=0x7fffe7e86670, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007fdccca15cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#24 0x000000000048f9ab in ?? ()
#25 0x00007fdccba59ea5 in __libc_start_main (main=0x48e850, argc=5, ubp_av=0x7fffe7e86eb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe7e86ea8) at libc-start.c:260
#26 0x000000000049186d in _start ()

Possible duplicates by query: bug 310798.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-05-06 16:01:14 UTC

*** This bug has been marked as a duplicate of bug 310798 ***
Comment 2 caulier.gilles 2019-07-28 01:55:46 UTC
Fixed with bug #310798