Bug 361678

Summary: dngconverter crashes when opening a raw file (*.NEF in my case)
Product: [Applications] digikam Reporter: t.lattmann
Component: Plugin-Bqm-DngConverterAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, doug, gary, marusic.bojan, pbhj, savanni.dgerinel
Priority: NOR Keywords: drkonqi
Version: 4.14.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description t.lattmann 2016-04-12 16:14:39 UTC
Application: dngconverter (4.12.0)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-35-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
I clicked on the file, so the default program dngconverter would start. I made no changes except I told it to chose a different file name if the file already exists.
My camera is a Nikon D3300 and it is the first time I am using this program.

The crash can be reproduced every time.

-- Backtrace:
Application: DNG-Bildkonverter (dngconverter), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc71353d880 (LWP 7247))]

Thread 7 (Thread 0x7fc70104b700 (LWP 7248)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7118a4286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x130e150) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x130e0d0, mutex=mutex@entry=0x130e0c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc712ac97f8 in KIPIPlugins::KPRawThumbThread::run (this=0x1300610) at /build/digikam-131Z2v/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007fc7118a3d1c in QThreadPrivate::start (arg=0x1300610) at thread/qthread_unix.cpp:349
#5  0x00007fc7106f86aa in start_thread (arg=0x7fc70104b700) at pthread_create.c:333
#6  0x00007fc70fb8ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fc70084a700 (LWP 7249)):
#0  0x00007fc710700e0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc70bce24e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc70bc9ecd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc70bc9f190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc70bc9f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc7119e420e in QEventDispatcherGlib::processEvents (this=0x7fc6f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007fc7119b20d1 in QEventLoop::processEvents (this=this@entry=0x7fc700849d00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc7119b2445 in QEventLoop::exec (this=this@entry=0x7fc700849d00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc7118a14f9 in QThread::exec (this=this@entry=0x128dfd0) at thread/qthread.cpp:538
#9  0x00007fc711992133 in QInotifyFileSystemWatcherEngine::run (this=0x128dfd0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fc7118a3d1c in QThreadPrivate::start (arg=0x128dfd0) at thread/qthread_unix.cpp:349
#11 0x00007fc7106f86aa in start_thread (arg=0x7fc70084a700) at pthread_create.c:333
#12 0x00007fc70fb8ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fc6fbfff700 (LWP 7250)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7118a4286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1289a00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x122ea20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc712d2aa54 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.23
#4  0x00007fc7118a3d1c in QThreadPrivate::start (arg=0x131b900) at thread/qthread_unix.cpp:349
#5  0x00007fc7106f86aa in start_thread (arg=0x7fc6fbfff700) at pthread_create.c:333
#6  0x00007fc70fb8ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fc6fb7fe700 (LWP 7251)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7118a4286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1312820) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x128eab8, mutex=0x130eb40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc712882cfc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x128ea90, th=0x7fc6f0002f10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fc712885a03 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1311510, th=0x7fc6f0002f10, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fc712885a1c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1311510, th=0x7fc6f0002f10, previous=0x1355bd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fc71288455f in ThreadWeaver::Thread::run (this=0x7fc6f0002f10) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007fc7118a3d1c in QThreadPrivate::start (arg=0x7fc6f0002f10) at thread/qthread_unix.cpp:349
#8  0x00007fc7106f86aa in start_thread (arg=0x7fc6fb7fe700) at pthread_create.c:333
#9  0x00007fc70fb8ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc6fa5a3700 (LWP 7255)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7118a4286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1312820) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x128eab8, mutex=0x130eb40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc712882cfc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x128ea90, th=0x7fc6f00036d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fc712885a03 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1311510, th=0x7fc6f00036d0, previous=0x12c3060) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fc71288455f in ThreadWeaver::Thread::run (this=0x7fc6f00036d0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fc7118a3d1c in QThreadPrivate::start (arg=0x7fc6f00036d0) at thread/qthread_unix.cpp:349
#7  0x00007fc7106f86aa in start_thread (arg=0x7fc6fa5a3700) at pthread_create.c:333
#8  0x00007fc70fb8ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc6f9da2700 (LWP 7256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7118a4286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1312820) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x128eab8, mutex=0x130eb40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc712882cfc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x128ea90, th=0x7fc6f0003e00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fc712885a03 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1311510, th=0x7fc6f0003e00, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fc71288455f in ThreadWeaver::Thread::run (this=0x7fc6f0003e00) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fc7118a3d1c in QThreadPrivate::start (arg=0x7fc6f0003e00) at thread/qthread_unix.cpp:349
#7  0x00007fc7106f86aa in start_thread (arg=0x7fc6f9da2700) at pthread_create.c:333
#8  0x00007fc70fb8ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc71353d880 (LWP 7247)):
[KCrash Handler]
#6  QPixmapData::isNull (this=<optimized out>) at image/qpixmapdata_p.h:131
#7  QPixmap::isNull (this=this@entry=0x1214ac8) at image/qpixmap.cpp:579
#8  0x00007fc710dd996b in QPixmap::copy (this=this@entry=0x1214ac8, rect=...) at image/qpixmap.cpp:382
#9  0x00007fc710dda6bf in QPixmap::QPixmap (this=0x7ffcd2f86d60, pixmap=...) at image/qpixmap.cpp:303
#10 0x00007fc7124b4f38 in KPixmapSequence::frameAt (this=0x120e888, index=1) at ../../kdeui/util/kpixmapsequence.cpp:143
#11 0x00007fc712adb261 in KIPIPlugins::KPImagesList::slotProgressTimerDone (this=0x120e510) at /build/digikam-131Z2v/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:1146
#12 0x00007fc7119c7f60 in QMetaObject::activate (sender=0x12343b0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#13 0x00007fc7119cdbd3 in QObject::event (this=0x12343b0, e=<optimized out>) at kernel/qobject.cpp:1253
#14 0x00007fc710cfccdc in QApplicationPrivate::notify_helper (this=this@entry=0x1083810, receiver=receiver@entry=0x12343b0, e=e@entry=0x7ffcd2f871d0) at kernel/qapplication.cpp:4570
#15 0x00007fc710d03c16 in QApplication::notify (this=this@entry=0x7ffcd2f87540, receiver=receiver@entry=0x12343b0, e=e@entry=0x7ffcd2f871d0) at kernel/qapplication.cpp:4356
#16 0x00007fc712434a2a in KApplication::notify (this=0x7ffcd2f87540, receiver=0x12343b0, event=0x7ffcd2f871d0) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007fc7119b385d in QCoreApplication::notifyInternal (this=0x7ffcd2f87540, receiver=0x12343b0, event=event@entry=0x7ffcd2f871d0) at kernel/qcoreapplication.cpp:955
#18 0x00007fc7119e66c0 in QCoreApplication::sendEvent (event=0x7ffcd2f871d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=0x1086490) at kernel/qeventdispatcher_unix.cpp:621
#20 0x00007fc7119e3869 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#21 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#22 0x00007fc70bc9eff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fc70bc9f250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fc70bc9f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fc7119e41ee in QEventDispatcherGlib::processEvents (this=0x105c720, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#26 0x00007fc710da7c26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fc7119b20d1 in QEventLoop::processEvents (this=this@entry=0x7ffcd2f87450, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fc7119b2445 in QEventLoop::exec (this=this@entry=0x7ffcd2f87450, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007fc7119b8429 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#30 0x00007fc710cfaf2c in QApplication::exec () at kernel/qapplication.cpp:3828
#31 0x000000000040e759 in main (argc=<optimized out>, argv=0x7ffcd2f87668) at /build/digikam-131Z2v/digikam-4.12.0/extra/kipi-plugins/dngconverter/plugin/dngconverter.cpp:77

Reported using DrKonqi
Comment 1 caulier.gilles 2016-04-12 16:38:23 UTC

*** This bug has been marked as a duplicate of bug 319882 ***
Comment 2 caulier.gilles 2016-05-17 05:37:17 UTC
*** Bug 363162 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2016-07-06 04:25:21 UTC
*** Bug 365123 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2016-08-26 16:36:43 UTC
*** Bug 367859 has been marked as a duplicate of this bug. ***
Comment 5 caulier.gilles 2016-12-21 06:46:16 UTC
*** Bug 373983 has been marked as a duplicate of this bug. ***
Comment 6 Maik Qualmann 2017-07-22 15:50:12 UTC
*** Bug 382576 has been marked as a duplicate of this bug. ***
Comment 7 caulier.gilles 2019-12-23 18:00:12 UTC
Not reproducible with digiKam 7.0.0-beta1.