Application: digikam (3.4.0) KDE Platform Version: 4.11.2 Qt Version: 4.8.4 Operating System: Linux 3.11.0-14-generic x86_64 Distribution: Ubuntu 13.10 -- Information about the crash: - What I was doing when the application crashed: According to mail from Christoph Feck, 14.12.13 22:19, stating that "Crash when loading BMP file with alpha channel fixed in QT 4.8.5", I subsequently went through all pathes containing BMP pics, converting these into PNG and/or JPG (all: about 110 pics). After doing so, digiKam keeps on crashing at start up as described several times before ( .. ). 1.) Does this issue affect other file formats, too? 2.) How to search specificaklly for pics affeteted? 3.) Do you plan to program such an automated pre-check _before_ taking up such files harming integrity of digiKam's database? 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 0x7f3a60cb7a80 (LWP 9460))] Thread 5 (Thread 0x7f3a3ec82700 (LWP 9461)): #0 0x00007f3a5a72bf7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f3a438b7198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x00007f3a55a84f6e in start_thread (arg=0x7f3a3ec82700) at pthread_create.c:311 #3 0x00007f3a5a7389cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 4 (Thread 0x7f3a385cf700 (LWP 9462)): [KCrash Handler] #6 0x00007f3a5c0f59af in read_dib_body (s=..., bi=..., offset=138, startpos=0, image=...) at image/qbmphandler.cpp:322 #7 0x00007f3a5c0f65b1 in QBmpHandler::read (this=0x7f3a301ce280, image=0x7f3a385cdf30) at image/qbmphandler.cpp:770 #8 0x00007f3a5c0cf5f4 in QImageReader::read (this=this@entry=0x7f3a385cdf90, image=image@entry=0x7f3a385cdf30) at image/qimagereader.cpp:1205 #9 0x00007f3a5c0cfb44 in QImageReader::read (this=this@entry=0x7f3a385cdf90) at image/qimagereader.cpp:1155 #10 0x00007f3a5c0c3e4e in QImage::load (this=this@entry=0x7f3a385ce0e0, fileName=..., format=format@entry=0x0) at image/qimage.cpp:5094 #11 0x00007f3a5c0c3f46 in QImage::QImage (this=0x7f3a385ce0e0, fileName=..., format=0x0) at image/qimage.cpp:995 #12 0x00007f3a5e1db82e in Digikam::QImageLoader::load (this=this@entry=0x7f3a385ce310, filePath=..., observer=observer@entry=0x0) at /build/buildd/digikam-3.4.0/core/libs/dimg/loaders/qimageloader.cpp:55 #13 0x00007f3a5e1afd3c in Digikam::DImg::load (this=this@entry=0x7f3a3002c9a0, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /build/buildd/digikam-3.4.0/core/libs/dimg/dimg.cpp:558 #14 0x00007f3a5e1b03fd in Digikam::DImg::loadImageInfo (this=this@entry=0x7f3a3002c9a0, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=loadICCData@entry=false, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false) at /build/buildd/digikam-3.4.0/core/libs/dimg/dimg.cpp:370 #15 0x00007f3a5dd89986 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7f3a385ce680) at /build/buildd/digikam-3.4.0/core/libs/database/imagescanner.cpp:1481 #16 0x00007f3a5dd89a40 in Digikam::ImageScanner::newFile (this=this@entry=0x7f3a385ce680, albumId=albumId@entry=1828) at /build/buildd/digikam-3.4.0/core/libs/database/imagescanner.cpp:266 #17 0x00007f3a5dd228e8 in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7f3a385ceab0, info=..., albumId=1828) at /build/buildd/digikam-3.4.0/core/libs/database/collectionscanner.cpp:1247 #18 0x00007f3a5dd25a4f in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f3a385ceab0, location=..., album=...) at /build/buildd/digikam-3.4.0/core/libs/database/collectionscanner.cpp:1089 #19 0x00007f3a5dd262a3 in Digikam::CollectionScanner::scanAlbumRoot (this=this@entry=0x7f3a385ceab0, location=...) at /build/buildd/digikam-3.4.0/core/libs/database/collectionscanner.cpp:828 #20 0x00007f3a5dd26e7d in Digikam::CollectionScanner::completeScan (this=this@entry=0x7f3a385ceab0) at /build/buildd/digikam-3.4.0/core/libs/database/collectionscanner.cpp:489 #21 0x00000000005d598f in Digikam::ScanController::run (this=0x1ba29c0) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:756 #22 0x00007f3a5b519f2f in QThreadPrivate::start (arg=0x1ba29c0) at thread/qthread_unix.cpp:338 #23 0x00007f3a55a84f6e in start_thread (arg=0x7f3a385cf700) at pthread_create.c:311 #24 0x00007f3a5a7389cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 3 (Thread 0x7f3a37dce700 (LWP 9463)): #0 __GI___pthread_mutex_lock (mutex=0x7f3a28000a60) at pthread_mutex_lock.c:116 #1 0x00007f3a530973a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f3a53056d59 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f3a530575c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f3a530577ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f3a5b646a76 in QEventDispatcherGlib::processEvents (this=0x7f3a280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f3a5b6185ef in QEventLoop::processEvents (this=this@entry=0x7f3a37dcdab0, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f3a5b6188e5 in QEventLoop::exec (this=this@entry=0x7f3a37dcdab0, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f3a5b51788f in QThread::exec (this=this@entry=0x1ba5260) at thread/qthread.cpp:542 #9 0x00007f3a5b5f9d13 in QInotifyFileSystemWatcherEngine::run (this=0x1ba5260) at io/qfilesystemwatcher_inotify.cpp:265 #10 0x00007f3a5b519f2f in QThreadPrivate::start (arg=0x1ba5260) at thread/qthread_unix.cpp:338 #11 0x00007f3a55a84f6e in start_thread (arg=0x7f3a37dce700) at pthread_create.c:311 #12 0x00007f3a5a7389cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7f3a25639700 (LWP 9466)): #0 0x00007f3a5a72bf7d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f3a530576a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f3a530577ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f3a5b646a76 in QEventDispatcherGlib::processEvents (this=0x7f3a200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f3a5b6185ef in QEventLoop::processEvents (this=this@entry=0x7f3a25638ab0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f3a5b6188e5 in QEventLoop::exec (this=this@entry=0x7f3a25638ab0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f3a5b51788f in QThread::exec (this=this@entry=0x23eedc0) at thread/qthread.cpp:542 #7 0x00007f3a5b5f9d13 in QInotifyFileSystemWatcherEngine::run (this=0x23eedc0) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f3a5b519f2f in QThreadPrivate::start (arg=0x23eedc0) at thread/qthread_unix.cpp:338 #9 0x00007f3a55a84f6e in start_thread (arg=0x7f3a25639700) at pthread_create.c:311 #10 0x00007f3a5a7389cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7f3a60cb7a80 (LWP 9460)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f3a5b51a406 in wait (time=18446744073709551615, this=0x1ba2af0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x1ba2aa0, mutex=mutex@entry=0x1ba2a78, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f3a5b519afe in QThread::wait (this=this@entry=0x1ba29c0, time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:691 #4 0x00000000005d1239 in Digikam::ScanController::shutDown (this=this@entry=0x1ba29c0) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:361 #5 0x00000000005d402b in Digikam::ScanController::~ScanController (this=0x1ba29c0, __in_chrg=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:337 #6 0x00000000005d41a7 in ~ScanControllerCreator (this=0x1ba29c0, __in_chrg=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:277 #7 destroy () at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:284 #8 0x00007f3a5a67a071 in __run_exit_handlers (status=1, listp=0x7f3a5a9ff6a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77 #9 0x00007f3a5a67a0f5 in __GI_exit (status=<optimized out>) at exit.c:99 #10 0x00007f3a5c0716b8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782 #11 0x00007f3a5cd13620 in KApplication::xioErrhandler (this=0x7fffef90f240, dpy=0x18c29b0) at ../../kdeui/kernel/kapplication.cpp:419 #12 0x00007f3a58c3264e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #13 0x00007f3a58c3003d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #14 0x00007f3a58c2212b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #15 0x00007f3a5c0ac44c in x11EventSourceCheck (s=0x1890700) at kernel/qguieventdispatcher_glib.cpp:85 #16 0x00007f3a53057121 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007f3a5305763b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007f3a530577ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007f3a5b646a55 in QEventDispatcherGlib::processEvents (this=0x17f37e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #20 0x00007f3a5c0ac9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #21 0x00007f3a5b6185ef in QEventLoop::processEvents (this=this@entry=0x1b97270, flags=...) at kernel/qeventloop.cpp:149 #22 0x00007f3a5b6188e5 in QEventLoop::exec (this=0x1b97270, flags=...) at kernel/qeventloop.cpp:204 #23 0x00000000005d1689 in Digikam::ScanController::completeCollectionScanCore (this=0x1ba29c0, needTotalFiles=needTotalFiles@entry=true, defer=defer@entry=false) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:486 #24 0x00000000005d178e in Digikam::ScanController::completeCollectionScanInBackground (this=<optimized out>, defer=defer@entry=false) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:471 #25 0x000000000051937a in Digikam::NewItemsFinder::slotStart (this=0x1030a840) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/newitemsfinder.cpp:106 #26 0x00007f3a5b631dce in QObject::event (this=0x1030a840, e=<optimized out>) at kernel/qobject.cpp:1194 #27 0x00007f3a5c00adfc in QApplicationPrivate::notify_helper (this=this@entry=0x1895910, receiver=receiver@entry=0x1030a840, e=e@entry=0x1ba3630) at kernel/qapplication.cpp:4567 #28 0x00007f3a5c011470 in QApplication::notify (this=this@entry=0x7fffef90f240, receiver=receiver@entry=0x1030a840, e=e@entry=0x1ba3630) at kernel/qapplication.cpp:4353 #29 0x00007f3a5cd14a6a in KApplication::notify (this=0x7fffef90f240, receiver=0x1030a840, event=0x1ba3630) at ../../kdeui/kernel/kapplication.cpp:311 #30 0x00007f3a5b6198bd in QCoreApplication::notifyInternal (this=0x7fffef90f240, receiver=receiver@entry=0x1030a840, event=event@entry=0x1ba3630) at kernel/qcoreapplication.cpp:946 #31 0x00007f3a5b61ce1f in sendEvent (event=0x1ba3630, receiver=0x1030a840) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1802d00) at kernel/qcoreapplication.cpp:1570 #33 0x00007f3a5b61d2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463 #34 0x00007f3a5b647073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #35 postEventSourceDispatch (s=0x1881960) at kernel/qeventdispatcher_glib.cpp:279 #36 0x00007f3a530573b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f3a53057708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007f3a530577ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007f3a5b646a55 in QEventDispatcherGlib::processEvents (this=0x17f37e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #40 0x00007f3a5c0ac9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #41 0x00007f3a5b6185ef in QEventLoop::processEvents (this=this@entry=0x7fffef90ed20, flags=...) at kernel/qeventloop.cpp:149 #42 0x00007f3a5b6188e5 in QEventLoop::exec (this=this@entry=0x7fffef90ed20, flags=...) at kernel/qeventloop.cpp:204 #43 0x00007f3a5b61de5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #44 0x00007f3a5c00934c in QApplication::exec () at kernel/qapplication.cpp:3828 #45 0x0000000000491ef3 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/main/main.cpp:235 The reporter indicates this bug may be a duplicate of or related to bug 310798. Possible duplicates by query: bug 328784, bug 327714, bug 325609, bug 319762, bug 319655. Reported using DrKonqi
But it's always the same problem with BMP, as crash trace report... Here digiKam don't play anything with BMP data. All is delegate to Qt image loader. Gilles Caulier *** This bug has been marked as a duplicate of bug 310798 ***
Fixed with #310798