Bug 319655 - digiKam "starting-up-crashing-loop"
Summary: digiKam "starting-up-crashing-loop"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 3.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-11 09:52 UTC by Axel Krebs
Modified: 2021-08-26 09:22 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 Axel Krebs 2013-05-11 09:52:38 UTC
Application: digikam (3.1.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-20-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:

Just trying to start digiKam

When loading of directories has nearly finished, digiKam crashed

It seems to be an endless loop

-- 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 0x7f6de9a05a40 (LWP 2231))]

Thread 4 (Thread 0x7f6dc17ae700 (LWP 2251)):
[KCrash Handler]
#6  0x00007f6de4e38288 in read_dib_body (s=..., bi=..., offset=138, startpos=0, image=...) at image/qbmphandler.cpp:322
#7  0x00007f6de4e3977c in QBmpHandler::read (this=0x7f6dbc1aed70, image=0x7f6dc17acde0) at image/qbmphandler.cpp:770
#8  0x00007f6de4e10f0d in QImageReader::read (this=this@entry=0x7f6dc17ace40, image=image@entry=0x7f6dc17acde0) at image/qimagereader.cpp:1205
#9  0x00007f6de4e1145f in QImageReader::read (this=this@entry=0x7f6dc17ace40) at image/qimagereader.cpp:1155
#10 0x00007f6de4e059d1 in QImage::load (this=this@entry=0x7f6dc17acf80, fileName=..., format=format@entry=0x0) at image/qimage.cpp:5094
#11 0x00007f6de4e05b95 in QImage::QImage (this=0x7f6dc17acf80, fileName=..., format=0x0) at image/qimage.cpp:995
#12 0x00007f6de71021d9 in Digikam::QImageLoader::load (this=this@entry=0x7f6dc17ad290, filePath=..., observer=observer@entry=0x0) at /build/buildd/digikam-3.1.0/core/libs/dimg/loaders/qimageloader.cpp:55
#13 0x00007f6de70d5f9c in Digikam::DImg::load (this=this@entry=0x7f6dbc2a1780, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /build/buildd/digikam-3.1.0/core/libs/dimg/dimg.cpp:558
#14 0x00007f6de70d76c5 in Digikam::DImg::loadImageInfo (this=this@entry=0x7f6dbc2a1780, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=loadICCData@entry=false, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false) at /build/buildd/digikam-3.1.0/core/libs/dimg/dimg.cpp:370
#15 0x00007f6de6cb8f29 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7f6dc17ad650) at /build/buildd/digikam-3.1.0/core/libs/database/imagescanner.cpp:1460
#16 0x00007f6de6cb90e8 in Digikam::ImageScanner::newFile (this=this@entry=0x7f6dc17ad650, albumId=albumId@entry=2672) at /build/buildd/digikam-3.1.0/core/libs/database/imagescanner.cpp:260
#17 0x00007f6de6c5ed10 in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7f6dc17adad0, info=..., albumId=2672) at /build/buildd/digikam-3.1.0/core/libs/database/collectionscanner.cpp:1059
#18 0x00007f6de6c621e1 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f6dc17adad0, location=..., album=...) at /build/buildd/digikam-3.1.0/core/libs/database/collectionscanner.cpp:905
#19 0x00007f6de6c62bab in Digikam::CollectionScanner::scanAlbumRoot (this=this@entry=0x7f6dc17adad0, location=...) at /build/buildd/digikam-3.1.0/core/libs/database/collectionscanner.cpp:660
#20 0x00007f6de6c63470 in Digikam::CollectionScanner::finishCompleteScan (this=this@entry=0x7f6dc17adad0, albumPaths=...) at /build/buildd/digikam-3.1.0/core/libs/database/collectionscanner.cpp:407
#21 0x00000000005cc727 in Digikam::ScanController::run (this=0x2b07e90) at /build/buildd/digikam-3.1.0/core/digikam/database/scancontroller.cpp:770
#22 0x00007f6de4262bec in QThreadPrivate::start (arg=0x2b07e90) at thread/qthread_unix.cpp:338
#23 0x00007f6dde78ff8e in start_thread (arg=0x7f6dc17ae700) at pthread_create.c:311
#24 0x00007f6de347fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f6dc0fad700 (LWP 2253)):
#0  0x00007f6de3471b0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6ddc02d6cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6ddbfeed3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6ddbfef175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6ddbfef304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6de438e036 in QEventDispatcherGlib::processEvents (this=0x7f6db40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6de435e38f in QEventLoop::processEvents (this=this@entry=0x7f6dc0facb10, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6de435e618 in QEventLoop::exec (this=this@entry=0x7f6dc0facb10, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6de4260410 in QThread::exec (this=this@entry=0x2acc3a0) at thread/qthread.cpp:542
#9  0x00007f6de433fedf in QInotifyFileSystemWatcherEngine::run (this=0x2acc3a0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f6de4262bec in QThreadPrivate::start (arg=0x2acc3a0) at thread/qthread_unix.cpp:338
#11 0x00007f6dde78ff8e in start_thread (arg=0x7f6dc0fad700) at pthread_create.c:311
#12 0x00007f6de347fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6dae9b1700 (LWP 2588)):
#0  0x00007f6de34733cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6ddbfef1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6ddbfef304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6de438e036 in QEventDispatcherGlib::processEvents (this=0x7f6da80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6de435e38f in QEventLoop::processEvents (this=this@entry=0x7f6dae9b0b10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6de435e618 in QEventLoop::exec (this=this@entry=0x7f6dae9b0b10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6de4260410 in QThread::exec (this=this@entry=0x31d35c0) at thread/qthread.cpp:542
#7  0x00007f6de433fedf in QInotifyFileSystemWatcherEngine::run (this=0x31d35c0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f6de4262bec in QThreadPrivate::start (arg=0x31d35c0) at thread/qthread_unix.cpp:338
#9  0x00007f6dde78ff8e in start_thread (arg=0x7f6dae9b1700) at pthread_create.c:311
#10 0x00007f6de347fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6de9a05a40 (LWP 2231)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6de426314b in wait (time=18446744073709551615, this=0x2b07fc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2b07f70, mutex=0x2b07f48, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6de42627bc in QThread::wait (this=this@entry=0x2b07e90, time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00000000005c8165 in Digikam::ScanController::shutDown (this=this@entry=0x2b07e90) at /build/buildd/digikam-3.1.0/core/digikam/database/scancontroller.cpp:351
#5  0x00000000005cbe9b in Digikam::ScanController::~ScanController (this=0x2b07e90, __in_chrg=<optimized out>) at /build/buildd/digikam-3.1.0/core/digikam/database/scancontroller.cpp:328
#6  0x00000000005cc087 in ~ScanControllerCreator (this=0x2b07e90, __in_chrg=<optimized out>) at /build/buildd/digikam-3.1.0/core/digikam/database/scancontroller.cpp:268
#7  destroy () at /build/buildd/digikam-3.1.0/core/digikam/database/scancontroller.cpp:275
#8  0x00007f6de33c2121 in __run_exit_handlers (status=1, listp=0x7f6de37476a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#9  0x00007f6de33c21a5 in __GI_exit (status=<optimized out>) at exit.c:99
#10 0x00007f6de4db2348 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#11 0x00007f6de5a51888 in KApplication::xioErrhandler (this=0x7fffa4f9a5e0, dpy=0x29dceb0) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f6de19936de in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f6de199116d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f6de19726ea in XFlush () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f6de4d9180e in QWidget::setCursor (this=this@entry=0x10b6a980, cursor=...) at kernel/qwidget.cpp:5122
#16 0x00007f6de71c4300 in Digikam::CurvesWidget::slotCalculationStarted (this=0x10b6a980) at /build/buildd/digikam-3.1.0/core/libs/dimg/filters/curves/curveswidget.cpp:555
#17 0x00007f6de43795be in QObject::event (this=this@entry=0x10b6a980, e=e@entry=0x7f6d84012a70) at kernel/qobject.cpp:1194
#18 0x00007f6de4d951ca in QWidget::event (this=0x10b6a980, event=0x7f6d84012a70) at kernel/qwidget.cpp:8845
#19 0x00007f6de4d488ec in QApplicationPrivate::notify_helper (this=this@entry=0x29aec30, receiver=receiver@entry=0x10b6a980, e=e@entry=0x7f6d84012a70) at kernel/qapplication.cpp:4567
#20 0x00007f6de4d4b25b in QApplication::notify (this=this@entry=0x7fffa4f9a5e0, receiver=receiver@entry=0x10b6a980, e=e@entry=0x7f6d84012a70) at kernel/qapplication.cpp:4428
#21 0x00007f6de5a55af6 in KApplication::notify (this=0x7fffa4f9a5e0, receiver=0x10b6a980, event=0x7f6d84012a70) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f6de435f63e in QCoreApplication::notifyInternal (this=0x7fffa4f9a5e0, receiver=receiver@entry=0x10b6a980, event=event@entry=0x7f6d84012a70) at kernel/qcoreapplication.cpp:946
#23 0x00007f6de4363171 in sendEvent (event=0x7f6d84012a70, receiver=0x10b6a980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x293bbc0) at kernel/qcoreapplication.cpp:1570
#25 0x00007f6de43634a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#26 0x00007f6de438de83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x29c1fc0) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007f6ddbfeef05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f6ddbfef248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f6ddbfef304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6de438e016 in QEventDispatcherGlib::processEvents (this=0x293d0b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f6de4dee1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f6de435e38f in QEventLoop::processEvents (this=this@entry=0x7fffa4f99fd0, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f6de435e618 in QEventLoop::exec (this=this@entry=0x7fffa4f99fd0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f6de4363cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0x00007f6de4d46ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x000000000048f9ab in main (argc=5, argv=0x7fffa4f9a818) at /build/buildd/digikam-3.1.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 319605, bug 319415, bug 310798.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-05-11 10:09:38 UTC

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