Bug 364063 - Crash on startup (related to crashing on conversion to DNG?)
Summary: Crash on startup (related to crashing on conversion to DNG?)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-RAW (show other bugs)
Version: 5.0.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-06-07 15:13 UTC by sda@fstab.net
Modified: 2019-12-23 17:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sda@fstab.net 2016-06-07 15:13:23 UTC
Application: digikam5 (5.0.0-beta6)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-30-generic x86_64
Distribution: Ubuntu 15.10

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

I was starting digiKam...  I had previously been having issues with crashes when attempting DNG conversion.  Now it simply crashes on startup while still showing the splash screen.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f435cd5ab80 (LWP 31454))]

Thread 9 (Thread 0x7f435c957700 (LWP 31455)):
#0  0x00007f43887cb88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4366cfb12c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f43857c16aa in start_thread (arg=0x7f435c957700) at pthread_create.c:333
#3  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f4359a1e700 (LWP 31457)):
[KCrash Handler]
#6  0x00007f4388705267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f4388706eca in __GI_abort () at abort.c:89
#8  0x00007f4388748bf3 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f438885ed6d "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f43887e8e3c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f438885ed04 "buffer overflow detected") at fortify_fail.c:38
#10 0x00007f43887e6e30 in __GI___chk_fail () at chk_fail.c:28
#11 0x00007f43887e600d in __strcat_chk (dest=dest@entry=0x7f43599c7146 " Macro SSM LE II", src=src@entry=0x7f438b6a50cd " II", destlen=<optimized out>, destlen@entry=16) at strcat_chk.c:37
#12 0x00007f438b4ed3b8 in strncat (__len=16, __src=0x7f438b6a50cd " II", __dest=0x7f43599c7146 " Macro SSM LE II") at /usr/include/x86_64-linux-gnu/bits/string3.h:156
#13 LibRaw::parseSonyLensFeatures (this=this@entry=0x7f43599c6d40, a=<optimized out>, b=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/internal/dcraw_common.cpp:6481
#14 0x00007f438b4f710f in LibRaw::parse_makernote (this=this@entry=0x7f43599c6d40, base=base@entry=0, uptag=uptag@entry=0) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/internal/dcraw_common.cpp:8047
#15 0x00007f438b4faa2c in LibRaw::parse_exif (this=this@entry=0x7f43599c6d40, base=base@entry=0) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/internal/dcraw_common.cpp:8596
#16 0x00007f438b4f16e2 in LibRaw::parse_tiff_ifd (this=this@entry=0x7f43599c6d40, base=base@entry=0) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/internal/dcraw_common.cpp:9219
#17 0x00007f438b4fac06 in LibRaw::parse_tiff (this=0x7f43599c6d40, base=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/internal/dcraw_common.cpp:9586
#18 0x00007f438b4ff018 in LibRaw::identify (this=this@entry=0x7f43599c6d40) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/internal/dcraw_common.cpp:12086
#19 0x00007f438b4b712a in LibRaw::open_datastream (this=0x7f43599c6d40, stream=0x7f434c0c9680) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/src/libraw_cxx.cpp:1041
#20 0x00007f438b4b6fc5 in LibRaw::open_file (this=this@entry=0x7f43599c6d40, fname=0x7f434c08a298 "/data/Photos/Direct From Digital Cameras/Kyle David Altendorf - Sony A6000/2016/03/04T00.22.32Z/DCIM/101MSDCF/DSC01167.dng", max_buf_size=max_buf_size@entry=262144000) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/libraw/src/libraw_cxx.cpp:860
#21 0x00007f438b10fd08 in RawEngine::DRawDecoder::rawFileIdentify (identify=..., path=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/rawengine/drawdecoder.cpp:312
#22 0x00007f438aed4494 in Digikam::RAWLoader::load (this=this@entry=0x7f4359a1c8b0, filePath=..., observer=observer@entry=0x0) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/dimg/loaders/rawloader.cpp:64
#23 0x00007f438b01f789 in Digikam::DImg::load (this=this@entry=0x7f434c0b60b0, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/dimg/dimg.cpp:495
#24 0x00007f438b02019e in Digikam::DImg::loadImageInfo (this=this@entry=0x7f434c0b60b0, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=loadICCData@entry=false, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/dimg/dimg.cpp:362
#25 0x00007f438916b3a6 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7f4359a1cc30) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/item/imagescanner.cpp:1554
#26 0x00007f438916b430 in Digikam::ImageScanner::newFile (this=this@entry=0x7f4359a1cc30, albumId=686) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/item/imagescanner.cpp:289
#27 0x00007f43890ade24 in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7f4359a1d9f0, info=..., albumId=686) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1252
#28 0x00007f43890af307 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4359a1d9f0, location=..., album=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1087
#29 0x00007f43890aefba in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4359a1d9f0, location=..., album=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1110
#30 0x00007f43890aefba in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4359a1d9f0, location=..., album=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1110
#31 0x00007f43890aefba in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4359a1d9f0, location=..., album=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1110
#32 0x00007f43890aefba in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4359a1d9f0, location=..., album=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1110
#33 0x00007f43890aefba in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4359a1d9f0, location=..., album=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:1110
#34 0x00007f43890af689 in Digikam::CollectionScanner::scanAlbumRoot (this=this@entry=0x7f4359a1d9f0, location=...) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:825
#35 0x00007f43890b00a8 in Digikam::CollectionScanner::completeScan (this=this@entry=0x7f4359a1d9f0) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/collection/collectionscanner.cpp:484
#36 0x00007f438bd87449 in Digikam::ScanController::run (this=0x7f438c65c6a0 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:727
#37 0x00007f43894c12be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f43857c16aa in start_thread (arg=0x7f4359a1e700) at pthread_create.c:333
#39 0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f4349296700 (LWP 31460)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f437e02d48b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f437e02d4c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f43857c16aa in start_thread (arg=0x7f4349296700) at pthread_create.c:333
#4  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f42877fe700 (LWP 31499)):
#0  0x00007f43887cb88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f437fc0e1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f437fc0e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f43896f829b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f438969e75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f43894bc3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f43894c12be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f43857c16aa in start_thread (arg=0x7f42877fe700) at pthread_create.c:333
#8  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f4286ffd700 (LWP 31500)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f437dd3b5b4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f437e05d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f43857c16aa in start_thread (arg=0x7f4286ffd700) at pthread_create.c:333
#4  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f42867fc700 (LWP 31501)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f437dd3c5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f437e05d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f43857c16aa in start_thread (arg=0x7f42867fc700) at pthread_create.c:333
#4  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4285ffb700 (LWP 31502)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f437dd3c5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f437e05d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f43857c16aa in start_thread (arg=0x7f4285ffb700) at pthread_create.c:333
#4  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f42857fa700 (LWP 31503)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f437dd3c5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f437e05d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f43857c16aa in start_thread (arg=0x7f42857fa700) at pthread_create.c:333
#4  0x00007f43887d6e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f435cd5ab80 (LWP 31454)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f43894c255b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f43894c0e8e in QThread::wait(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f438bd82912 in Digikam::ScanController::shutDown (this=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:333
#4  0x00007f438bd85886 in Digikam::ScanController::~ScanController (this=0x7f438c65c6a0 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>, __in_chrg=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:309
#5  0x00007f438bd85949 in Digikam::ScanControllerCreator::~ScanControllerCreator (this=<optimized out>, __in_chrg=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:249
#6  Digikam::(anonymous namespace)::Q_QGS_creator::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:256
#7  0x00007f4388709d32 in __run_exit_handlers (status=1, listp=0x7f4388a94698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#8  0x00007f4388709d85 in __GI_exit (status=<optimized out>) at exit.c:104
#9  0x00007f435be0368e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#10 0x00007f43896d2651 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f438a1a0b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f438a1a6230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f43896a0f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f43896a3057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f43896f7e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f437fc0dff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f437fc0e250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f437fc0e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f43896f827f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f438969e75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f438bd82d86 in Digikam::ScanController::completeCollectionScanCore (this=0x7f438c65c6a0 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>, needTotalFiles=needTotalFiles@entry=true, defer=defer@entry=false) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:457
#22 0x00007f438bd82dde in Digikam::ScanController::completeCollectionScanInBackground (this=<optimized out>, defer=defer@entry=false) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/libs/database/utils/scancontroller.cpp:442
#23 0x00007f438bf4dc49 in Digikam::NewItemsFinder::slotStart (this=0x5f0ee70) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/utilities/maintenance/newitemsfinder.cpp:113
#24 0x00007f43896d2651 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f438a1a0b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f438a1a6230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f43896a0f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f43896a3057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f43896f7e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f437fc0dff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f437fc0e250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f437fc0e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f43896f827f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f43896a0ffa in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f438a333fca in QSplashScreen::finish(QWidget*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f438bddf74f in Digikam::DigikamApp::show (this=0x1cd4d10) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/app/main/digikamapp.cpp:396
#37 0x0000000000405349 in main (argc=1, argv=<optimized out>) at /build/digikam5-htt_qL/digikam5-5.0.0~beta6/core/app/main/main.cpp:230

Possible duplicates by query: bug 327574, bug 323830, bug 322782.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-06-08 03:36:02 UTC
It ce
Comment 2 caulier.gilles 2016-06-08 03:40:27 UTC
It crash when digiKam scan for new item and detect this DNG file :

"/data/Photos/Direct From Digital Cameras/Kyle David Altendorf - Sony A6000/2016/03/04T00.22.32Z/DCIM/101MSDCF/DSC01167.dng

The crash appear in libraw source code while makernotes analysis.

Report this problem to libraw team with the DNG file to hack.

Gilles caulier
Comment 3 caulier.gilles 2019-12-23 17:21:35 UTC
Not reproducible with digiKam 7.0.0-beta1.