Bug 325609 - Crashes on Startup - prev. crash while creating DB
Summary: Crashes on Startup - prev. crash while creating DB
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 3.2.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-04 03:20 UTC by no.spam
Modified: 2021-08-26 09:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description no.spam 2013-10-04 03:20:27 UTC
Application: digikam (3.2.0)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
First time it crashed was when creating the DataBase.  Subsequently crashes every time on startup.  Tried reinstalling - did not help.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Floating point exception
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcf405fd800 (LWP 20897))]

Thread 4 (Thread 0x7fcf214b6700 (LWP 20898)):
[KCrash Handler]
#5  0x00007fcf3ab3dd2f in ?? () from /usr/lib64/libQtGui.so.4
#6  0x00007fcf3ab3eb3c in ?? () from /usr/lib64/libQtGui.so.4
#7  0x00007fcf3ab161bd in QImageReader::read(QImage*) () from /usr/lib64/libQtGui.so.4
#8  0x00007fcf3ab166ff in QImageReader::read() () from /usr/lib64/libQtGui.so.4
#9  0x00007fcf3ab0b9f1 in QImage::load(QString const&, char const*) () from /usr/lib64/libQtGui.so.4
#10 0x00007fcf3ab0bbb5 in QImage::QImage(QString const&, char const*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fcf3da69c29 in Digikam::QImageLoader::load (this=0x7fcf214b5510, filePath=..., observer=0x0) at /usr/src/debug/digikam-3.2.0/core/libs/dimg/loaders/qimageloader.cpp:55
#12 0x00007fcf3da3db8c in Digikam::DImg::load (this=this@entry=0x7fcf1c050140, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /usr/src/debug/digikam-3.2.0/core/libs/dimg/dimg.cpp:558
#13 0x00007fcf3da3f2b5 in Digikam::DImg::loadImageInfo (this=0x7fcf1c050140, filePath=..., loadMetadata=<optimized out>, loadICCData=<optimized out>, loadUniqueHash=<optimized out>, loadImageHistory=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/libs/dimg/dimg.cpp:370
#14 0x00007fcf3d604cb9 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7fcf214b58d0) at /usr/src/debug/digikam-3.2.0/core/libs/database/imagescanner.cpp:1480
#15 0x00007fcf3d60b908 in Digikam::ImageScanner::newFile (this=0x7fcf214b58d0, albumId=35) at /usr/src/debug/digikam-3.2.0/core/libs/database/imagescanner.cpp:266
#16 0x00007fcf3d5ae60b in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7fcf214b5d10, info=..., albumId=35) at /usr/src/debug/digikam-3.2.0/core/libs/database/collectionscanner.cpp:1206
#17 0x00007fcf3d5b0d41 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7fcf214b5d10, location=..., album=...) at /usr/src/debug/digikam-3.2.0/core/libs/database/collectionscanner.cpp:1043
#18 0x00007fcf3d5b1f24 in Digikam::CollectionScanner::finishCompleteScan (this=0x7fcf214b5d10, albumPaths=...) at /usr/src/debug/digikam-3.2.0/core/libs/database/collectionscanner.cpp:531
#19 0x00000000005d8bc1 in Digikam::ScanController::run (this=0xe64ca0) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:773
#20 0x00007fcf3b82b0cc in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007fcf37d0de0f in start_thread () from /lib64/libpthread.so.0
#22 0x00007fcf39d9544d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fcf20cb5700 (LWP 20899)):
#0  0x00007fcf4044a992 in _dl_update_slotinfo () from /lib64/ld-linux-x86-64.so.2
#1  0x00007fcf4043a265 in update_get_addr () from /lib64/ld-linux-x86-64.so.2
#2  0x00007fcf3b829ddf in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fcf3b954ba9 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fcf31a11338 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fcf31a119cb in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fcf31a11bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fcf3b9552e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007fcf3b925adf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#9  0x00007fcf3b925d68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#10 0x00007fcf3b8280f0 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#11 0x00007fcf3b90629f in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007fcf3b82b0cc in ?? () from /usr/lib64/libQtCore.so.4
#13 0x00007fcf37d0de0f in start_thread () from /lib64/libpthread.so.0
#14 0x00007fcf39d9544d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fcf19758700 (LWP 20902)):
#0  0x00007fcf39d8c4ed in poll () from /lib64/libc.so.6
#1  0x00007fcf31a11aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fcf31a11bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fcf3b9552e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fcf3b925adf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fcf3b925d68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fcf3b8280f0 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fcf3b90629f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fcf3b82b0cc in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fcf37d0de0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fcf39d9544d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcf405fd800 (LWP 20897)):
#0  0x00007fcf37d11964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcf3b82b62b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fcf3b82ac9c in QThread::wait(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00000000005d5915 in Digikam::ScanController::shutDown (this=this@entry=0xe64ca0) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:361
#4  0x00000000005d7d3b in Digikam::ScanController::~ScanController (this=0xe64ca0, __in_chrg=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:337
#5  0x00000000005d7ee7 in ~ScanControllerCreator (this=0xe64ca0, __in_chrg=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:277
#6  destroy () at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:284
#7  0x00007fcf39ce3f61 in __run_exit_handlers () from /lib64/libc.so.6
#8  0x00007fcf39ce3fe5 in exit () from /lib64/libc.so.6
#9  0x00007fcf3aabd5b8 in ?? () from /usr/lib64/libQtGui.so.4
#10 0x00007fcf3c38a5d8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#11 0x00007fcf382a4bce in _XIOError () from /usr/lib64/libX11.so.6
#12 0x00007fcf382a2bac in _XReply () from /usr/lib64/libX11.so.6
#13 0x00007fcf3829e35d in XSync () from /usr/lib64/libX11.so.6
#14 0x00007fcf3aae1772 in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007fcf3aea2533 in QSplashScreen::finish(QWidget*) () from /usr/lib64/libQtGui.so.4
#16 0x000000000058b976 in Digikam::DigikamApp::show (this=0x1279ed0) at /usr/src/debug/digikam-3.2.0/core/digikam/main/digikamapp.cpp:385
#17 0x000000000049ad03 in main (argc=5, argv=0x7fff30702758) at /usr/src/debug/digikam-3.2.0/core/digikam/main/main.cpp:206

This bug may be a duplicate of or related to bug 310798.

Possible duplicates by query: bug 321851, bug 319762, bug 319655, bug 319605, bug 319415.

Reported using DrKonqi
Comment 1 no.spam 2013-10-04 03:42:55 UTC
Added debug symbols for crash report.  Might contain additional useful info:

Backtrace of the crash I experienced:

Application: digiKam (digikam), signal: Floating point exception
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f41003da800 (LWP 21970))]

Thread 4 (Thread 0x7f40e1293700 (LWP 21972)):
[KCrash Handler]
#5  0x00007f40fa91ad2f in read_dib_body (s=..., bi=..., offset=138, startpos=0, image=...) at image/qbmphandler.cpp:322
#6  0x00007f40fa91bb3c in QBmpHandler::read (this=0x7f40dc07e270, image=0x7f40e1292060) at image/qbmphandler.cpp:770
#7  0x00007f40fa8f31bd in QImageReader::read (this=this@entry=0x7f40e12920c0, image=image@entry=0x7f40e1292060) at image/qimagereader.cpp:1205
#8  0x00007f40fa8f36ff in QImageReader::read (this=0x7f40e12920c0) at image/qimagereader.cpp:1155
#9  0x00007f40fa8e89f1 in QImage::load (this=this@entry=0x7f40e1292200, fileName=..., format=format@entry=0x0) at image/qimage.cpp:5094
#10 0x00007f40fa8e8bb5 in QImage::QImage (this=0x7f40e1292200, fileName=..., format=0x0) at image/qimage.cpp:995
#11 0x00007f40fd846c29 in Digikam::QImageLoader::load (this=0x7f40e1292510, filePath=..., observer=0x0) at /usr/src/debug/digikam-3.2.0/core/libs/dimg/loaders/qimageloader.cpp:55
#12 0x00007f40fd81ab8c in Digikam::DImg::load (this=this@entry=0x7f40dc099ff0, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /usr/src/debug/digikam-3.2.0/core/libs/dimg/dimg.cpp:558
#13 0x00007f40fd81c2b5 in Digikam::DImg::loadImageInfo (this=0x7f40dc099ff0, filePath=..., loadMetadata=<optimized out>, loadICCData=<optimized out>, loadUniqueHash=<optimized out>, loadImageHistory=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/libs/dimg/dimg.cpp:370
#14 0x00007f40fd3e1cb9 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7f40e12928d0) at /usr/src/debug/digikam-3.2.0/core/libs/database/imagescanner.cpp:1480
#15 0x00007f40fd3e8908 in Digikam::ImageScanner::newFile (this=0x7f40e12928d0, albumId=35) at /usr/src/debug/digikam-3.2.0/core/libs/database/imagescanner.cpp:266
#16 0x00007f40fd38b60b in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7f40e1292d10, info=..., albumId=35) at /usr/src/debug/digikam-3.2.0/core/libs/database/collectionscanner.cpp:1206
#17 0x00007f40fd38dd41 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f40e1292d10, location=..., album=...) at /usr/src/debug/digikam-3.2.0/core/libs/database/collectionscanner.cpp:1043
#18 0x00007f40fd38ef24 in Digikam::CollectionScanner::finishCompleteScan (this=0x7f40e1292d10, albumPaths=...) at /usr/src/debug/digikam-3.2.0/core/libs/database/collectionscanner.cpp:531
#19 0x00000000005d8bc1 in Digikam::ScanController::run (this=0x2a1d580) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:773
#20 0x00007f40fb6080cc in QThreadPrivate::start (arg=0x2a1d580) at thread/qthread_unix.cpp:338
#21 0x00007f40f7aeae0f in start_thread () from /lib64/libpthread.so.0
#22 0x00007f40f9b7244d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f40e0a92700 (LWP 21973)):
#0  0x00007f40f9b694ed in poll () from /lib64/libc.so.6
#1  0x00007f40f17eeaa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f40f17eebc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f40fb7322e6 in QEventDispatcherGlib::processEvents (this=0x7f40d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f40fb702adf in QEventLoop::processEvents (this=this@entry=0x7f40e0a91d50, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f40fb702d68 in QEventLoop::exec (this=0x7f40e0a91d50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f40fb6050f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f40fb6e329f in QInotifyFileSystemWatcherEngine::run (this=0x2a1ed70) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f40fb6080cc in QThreadPrivate::start (arg=0x2a1ed70) at thread/qthread_unix.cpp:338
#9  0x00007f40f7aeae0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f40f9b7244d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f40d952a700 (LWP 21976)):
#0  0x00007f40f17ec595 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f40f17ee2b7 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f40f17ee9cb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f40f17eebc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f40fb7322e6 in QEventDispatcherGlib::processEvents (this=0x7f40c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f40fb702adf in QEventLoop::processEvents (this=this@entry=0x7f40d9529d50, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f40fb702d68 in QEventLoop::exec (this=0x7f40d9529d50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f40fb6050f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f40fb6e329f in QInotifyFileSystemWatcherEngine::run (this=0x2b621e0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f40fb6080cc in QThreadPrivate::start (arg=0x2b621e0) at thread/qthread_unix.cpp:338
#10 0x00007f40f7aeae0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f40f9b7244d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f41003da800 (LWP 21970)):
#0  0x00007f40f7aee964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f40fb60862b in wait (time=18446744073709551615, this=0x2a1d6b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a1d638, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f40fb607c9c in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00000000005d5915 in Digikam::ScanController::shutDown (this=this@entry=0x2a1d580) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:361
#5  0x00000000005d7d3b in Digikam::ScanController::~ScanController (this=0x2a1d580, __in_chrg=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:337
#6  0x00000000005d7ee7 in ~ScanControllerCreator (this=0x2a1d580, __in_chrg=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:277
#7  destroy () at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:284
#8  0x00007f40f9ac0f61 in __run_exit_handlers () from /lib64/libc.so.6
#9  0x00007f40f9ac0fe5 in exit () from /lib64/libc.so.6
#10 0x00007f40fa89a5b8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#11 0x00007f40fc1675d8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#12 0x00007f40f8081bce in _XIOError () from /usr/lib64/libX11.so.6
#13 0x00007f40f807fbac in _XReply () from /usr/lib64/libX11.so.6
#14 0x00007f40f807b35d in XSync () from /usr/lib64/libX11.so.6
#15 0x00007f40fa8be772 in qt_x11_wait_for_window_manager (w=<optimized out>, sendPostedEvents=<optimized out>) at kernel/qwidget_x11.cpp:398
#16 0x00007f40fac7f533 in QSplashScreen::finish (this=0x2d90dc0, mainWin=<optimized out>) at widgets/qsplashscreen.cpp:227
#17 0x000000000058b976 in Digikam::DigikamApp::show (this=0x2ca1c10) at /usr/src/debug/digikam-3.2.0/core/digikam/main/digikamapp.cpp:385
#18 0x000000000049ad03 in main (argc=1, argv=0x7fff77a5a258) at /usr/src/debug/digikam-3.2.0/core/digikam/main/main.cpp:206
Comment 2 caulier.gilles 2013-10-04 03:45:15 UTC

*** This bug has been marked as a duplicate of bug 310798 ***
Comment 3 caulier.gilles 2021-08-26 09:27:55 UTC
Fixed with #310798