Bug 314721

Summary: crash while starting
Product: [Applications] digikam Reporter: uwe.haider
Component: Plugin-DImg-RAWAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles, cfeck
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.12.0
Sentry Crash Report:

Description uwe.haider 2013-02-08 21:54:14 UTC
Application: digikam (3.0.0-rc)
KDE Platform Version: 4.10.00 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.6.11-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
I startet digikam from console -> crashed This happens every time I try.

- Unusual behavior I noticed:

Plasma-Desktop has crashed after login. No error message.

-- Backtrace:
Application: digiKam (digikam), signal: Floating point exception
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7faa192d1800 (LWP 6560))]

Thread 5 (Thread 0x7fa9f650c700 (LWP 6561)):
[KCrash Handler]
#6  0x00007faa16f3d1fa in LibRaw::apply_tiff (this=0x7fa9f64bdcd0) at /var/tmp/portage/kde-base/libkdcraw-4.10.0/work/libkdcraw-4.10.0/libraw/internal/dcraw_common.cpp:5609
#7  0x00007faa16f50018 in LibRaw::identify (this=0x7fa9f64bdcd0) at /var/tmp/portage/kde-base/libkdcraw-4.10.0/work/libkdcraw-4.10.0/libraw/internal/dcraw_common.cpp:7360
#8  0x00007faa16f15d32 in LibRaw::open_datastream (this=0x7fa9f64bdcd0, stream=0x7fa9f03b5ce0) at /var/tmp/portage/kde-base/libkdcraw-4.10.0/work/libkdcraw-4.10.0/libraw/src/libraw_cxx.cpp:860
#9  0x00007faa16f16334 in LibRaw::open_file (this=0x7fa9f64bdcd0, fname=0x7fa9f0461e88 "/run/media/uhai/798dc2c7-8684-4f55-9512-b1b04ef6b06b/Flurbilder 127/2012-11-13/20121113T172518-3.dng", max_buf_size=<optimized out>) at /var/tmp/portage/kde-base/libkdcraw-4.10.0/work/libkdcraw-4.10.0/libraw/src/libraw_cxx.cpp:755
#10 0x00007faa16efced3 in KDcrawIface::KDcraw::rawFileIdentify (identify=..., path=...) at /var/tmp/portage/kde-base/libkdcraw-4.10.0/work/libkdcraw-4.10.0/libkdcraw/kdcraw.cpp:287
#11 0x00007faa168dad51 in Digikam::RAWLoader::load (this=0x7fa9f650afe0, filePath=..., observer=0x0) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/dimg/loaders/rawloader.cpp:76
#12 0x00007faa168ab0f6 in Digikam::DImg::load (this=0x7fa9f003e8b0, filePath=..., loadFlagsInt=1, observer=0x0, rawDecodingSettings=...) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/dimg/dimg.cpp:503
#13 0x00007faa168abfdc in Digikam::DImg::loadImageInfo (this=0x7fa9f003e8b0, filePath=..., loadMetadata=<optimized out>, loadICCData=<optimized out>, loadUniqueHash=<optimized out>, loadImageHistory=<optimized out>) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/dimg/dimg.cpp:370
#14 0x00007faa1640bf79 in Digikam::ImageScanner::loadFromDisk (this=0x7fa9f650b7e0) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/database/imagescanner.cpp:1460
#15 0x00007faa16413e51 in Digikam::ImageScanner::newFile (this=0x7fa9f650b7e0, albumId=<optimized out>) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/database/imagescanner.cpp:260
#16 0x00007faa163a7ca3 in Digikam::CollectionScanner::scanNewFile (this=0x7fa9f650bc10, info=..., albumId=8665) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/database/collectionscanner.cpp:1059
#17 0x00007faa163ab19d in Digikam::CollectionScanner::scanAlbum (this=0x7fa9f650bc10, location=..., album=...) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/database/collectionscanner.cpp:905
#18 0x00007faa163acf6e in Digikam::CollectionScanner::finishCompleteScan (this=0x7fa9f650bc10, albumPaths=...) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/libs/database/collectionscanner.cpp:411
#19 0x00000000005e3cf2 in Digikam::ScanController::run (this=0x2a2c740) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/database/scancontroller.cpp:761
#20 0x00007faa13842cae in QThreadPrivate::start (arg=0x2a2c740) at thread/qthread_unix.cpp:338
#21 0x00007faa05b39764 in ?? () from /usr/lib64/libGL.so.1
#22 0x00007faa109a3f26 in start_thread (arg=0x7fa9f650c700) at pthread_create.c:305
#23 0x00007faa12a644ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fa9f5d0b700 (LWP 6562)):
#0  0x00007fff8e5ff607 in ?? ()
#1  0x00007fff8e5ff8a4 in clock_gettime ()
#2  0x00007faa09a4e8ad in *__GI_clock_gettime (clock_id=1, tp=0x7fa9f5d0a9c0) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007faa1389b1c2 in do_gettime (frac=<optimized out>, sec=<optimized out>) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007faa1397592d in QTimerInfoList::updateCurrentTime (this=0x7fa9e8002660) at kernel/qeventdispatcher_unix.cpp:354
#6  0x00007faa13975cd5 in QTimerInfoList::timerWait (this=0x7fa9e8002660, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#7  0x00007faa1397465c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fa9f5d0aadc) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007faa1397470d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007faa0adbf389 in g_main_context_prepare (context=0x7fa9e80009d0, priority=0x7fa9f5d0ab3c) at gmain.c:2836
#10 0x00007faa0adbfb23 in g_main_context_iterate (context=0x7fa9e80009d0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3126
#11 0x00007faa0adbfd0c in g_main_context_iteration (context=0x7fa9e80009d0, may_block=1) at gmain.c:3207
#12 0x00007faa13974e76 in QEventDispatcherGlib::processEvents (this=0x7fa9e80008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007faa13944712 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007faa13944a05 in QEventLoop::exec (this=0x7fa9f5d0ac60, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007faa13840588 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#16 0x00007faa139232a0 in QInotifyFileSystemWatcherEngine::run (this=0x292d6c0) at io/qfilesystemwatcher_inotify.cpp:256
#17 0x00007faa13842cae in QThreadPrivate::start (arg=0x292d6c0) at thread/qthread_unix.cpp:338
#18 0x00007faa05b39764 in ?? () from /usr/lib64/libGL.so.1
#19 0x00007faa109a3f26 in start_thread (arg=0x7fa9f5d0b700) at pthread_create.c:305
#20 0x00007faa12a644ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fa9b8ff9700 (LWP 6600)):
#0  0x00007faa12a5b513 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007faa0adbfbf6 in g_main_context_poll (n_fds=1, fds=0x7fa9780012d0, timeout=-1, context=0x7fa978002980, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=0x7fa978002980, block=1, dispatch=1, self=<optimized out>) at gmain.c:3141
#3  0x00007faa0adbfd0c in g_main_context_iteration (context=0x7fa978002980, may_block=1) at gmain.c:3207
#4  0x00007faa13974e76 in QEventDispatcherGlib::processEvents (this=0x7fa978002ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007faa13944712 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007faa13944a05 in QEventLoop::exec (this=0x7fa9b8ff8c60, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007faa13840588 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007faa139232a0 in QInotifyFileSystemWatcherEngine::run (this=0x5130a060) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007faa13842cae in QThreadPrivate::start (arg=0x5130a060) at thread/qthread_unix.cpp:338
#10 0x00007faa05b39764 in ?? () from /usr/lib64/libGL.so.1
#11 0x00007faa109a3f26 in start_thread (arg=0x7fa9b8ff9700) at pthread_create.c:305
#12 0x00007faa12a644ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fa9c3fff700 (LWP 6601)):
#0  0x00007faa12a5b513 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007faa0adbfbf6 in g_main_context_poll (n_fds=1, fds=0x7fa9ac002380, timeout=-1, context=0x7fa9ac0022c0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=0x7fa9ac0022c0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3141
#3  0x00007faa0adbfd0c in g_main_context_iteration (context=0x7fa9ac0022c0, may_block=1) at gmain.c:3207
#4  0x00007faa13974e76 in QEventDispatcherGlib::processEvents (this=0x7fa9ac012b60, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007faa13944712 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007faa13944a05 in QEventLoop::exec (this=0x7fa9c3ffec60, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007faa13840588 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007faa139232a0 in QInotifyFileSystemWatcherEngine::run (this=0x51356860) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007faa13842cae in QThreadPrivate::start (arg=0x51356860) at thread/qthread_unix.cpp:338
#10 0x00007faa05b39764 in ?? () from /usr/lib64/libGL.so.1
#11 0x00007faa109a3f26 in start_thread (arg=0x7fa9c3fff700) at pthread_create.c:305
#12 0x00007faa12a644ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7faa192d1800 (LWP 6560)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faa13843b93 in wait (time=18446744073709551615, this=0x2a2c870) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a2c7f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007faa13842aa8 in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00000000005e086f in Digikam::ScanController::shutDown (this=0x2a2c740) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/database/scancontroller.cpp:348
#5  0x00000000005e2f5d in Digikam::ScanController::~ScanController (this=0x2a2c740, __in_chrg=<optimized out>) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/database/scancontroller.cpp:326
#6  0x00000000005e31a7 in ~ScanControllerCreator (this=0x2a2c740, __in_chrg=<optimized out>) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/database/scancontroller.cpp:267
#7  destroy () at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/database/scancontroller.cpp:273
#8  0x00007faa129b1649 in __run_exit_handlers (status=1, listp=0x7faa12d215a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#9  0x00007faa129b1695 in *__GI_exit (status=44222620) at exit.c:100
#10 0x00007faa143f9188 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#11 0x00007faa1510b260 in KApplication::xioErrhandler (this=0x7fff8e4e5b90, dpy=0x2879020) at /var/tmp/portage/kde-base/kdelibs-4.10.0/work/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:419
#12 0x00007faa10f46fce in _XIOError (dpy=0x2879020) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/XlibInt.c:1618
#13 0x00007faa10f44fd0 in _XReply (dpy=0x2879020, rep=0x7fff8e4e57f0, extra=0, discard=1) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/xcb_io.c:707
#14 0x00007faa10f4063d in XSync (dpy=0x2879020, discard=0) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/Sync.c:44
#15 0x00007faa1441fb4d in qt_x11_wait_for_window_manager (w=<optimized out>, sendPostedEvents=false) at kernel/qwidget_x11.cpp:398
#16 0x00007faa147e2f33 in QSplashScreen::finish (this=0x2ac4b30, mainWin=<optimized out>) at widgets/qsplashscreen.cpp:227
#17 0x0000000000590626 in Digikam::DigikamApp::show (this=0x2a75770) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/main/digikamapp.cpp:376
#18 0x0000000000495ac2 in main (argc=1, argv=<optimized out>) at /var/tmp/portage/media-gfx/digikam-3.0.0_rc/work/digikam-3.0.0-rc/core/digikam/main/main.cpp:205

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

Possible duplicates by query: bug 313329.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-02-09 08:24:23 UTC
It crash in libkdcraw. You you identify which RAW file is failed to load ?

Also which libkdcraw and libraw you use. Start Showfoto and go to Help/Components Info dialog

Gilles Caulier
Comment 2 Christoph Feck 2013-02-15 23:37:21 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2013-02-24 01:01:17 UTC
In order to further investigate this issue, developers need the information requested in comment #1. Please add a comment.
Comment 4 uwe.haider 2013-03-03 20:44:55 UTC
Sorry, I can't identify the raw file that causes the crash. I removed all DNG-files i created a few days ago (intno a zip).  Now digikam starts again without any troubles.

Seemed to be a DNG. This files I created with digikams DNG-converter.

This is my configuration:
digiKam version 3.0.0
Exiv2 kann in JP2 speichern: Ja
Exiv2 kann in JPEG speichern: Ja
Exiv2 kann in PGF speichern: Ja
Exiv2 kann in PNG speichern: Ja
Exiv2 kann in TIFF speichern: Ja
Exiv2 unterstützt XMP-Metadaten: Ja
LibCImg: 130
LibClapack: Externe gemeinsame Bibliothek
LibExiv2: 0.23
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.10.00
LibKExiv2: 2.3.0
LibKGeoMap: 2.0.0
LibKdcraw: 2.2.0
LibLCMS: 119
LibLqr: Interne Bibliothek
LibPGF: 6.12.27 - Externe gemeinsame Bibliothek
LibPNG: 1.5.13
LibQt: 4.8.4
LibRaw: 0.15.0-Beta1
LibTIFF: LIBTIFF, Version 4.0.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble-Funktion: 0.15.0 (stable version)
Parallelisiertes Entfernen von Mosaikmustern: Keine
Parallelized PGF codec: Keine
RawSpeed codec support: Keine
Datenbanktreiber: QSQLITE
KIPI-Module: 3.0.0
LibGphoto2: 2.4.14
LibKface: 2.0.0
LibKipi: 2.0.0
LibOpenCV: 2.4.3
Libface: 0.2

Hope that helps...
uhai
Comment 5 Christoph Feck 2013-05-16 00:18:56 UTC
According to the backtrace, the crash is caused by this file:

    Flurbilder 127/2012-11-13/20121113T172518-3.dng

If a recent version of digikam still crashes when opening this file, please attach it.
Comment 6 caulier.gilles 2015-06-25 13:13:55 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 7 uwe.haider 2015-06-27 09:26:17 UTC
problem solvec with digikam-4.10. Thanks for your help

uwe