Bug 362870

Summary: DNGConvert crash on convert NEF file
Product: [Applications] digikam Reporter: Michael Hansen <mig>
Component: Plugin-Bqm-DngConverterAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
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 Michael Hansen 2016-05-10 03:53:18 UTC
Application: dngconverter (4.12.0)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Converting a Nikon NEF (RAW-file) to JPG, just clicked the convert button.

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7fca322cc700 (LWP 7902)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fca449793a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0xf360d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xe8b8d0, mutex=mutex@entry=0xe8b8c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fca45b9e76e in KIPIPlugins::KPRawThumbThread::run (this=0xf36240) at /build/digikam-J9prv3/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007fca44978e3c in QThreadPrivate::start (arg=0xf36240) at thread/qthread_unix.cpp:352
#5  0x00007fca437cb6fa in start_thread (arg=0x7fca322cc700) at pthread_create.c:333
#6  0x00007fca42c60b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fca31acb700 (LWP 7903)):
#0  0x00007fca42c54e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fca3ed4e31c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fca3ed4e42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca44ab92ce in QEventDispatcherGlib::processEvents (this=0x7fca240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fca44a8718f in QEventLoop::processEvents (this=this@entry=0x7fca31acac00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fca44a874f5 in QEventLoop::exec (this=this@entry=0x7fca31acac00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fca44976549 in QThread::exec (this=this@entry=0xf33c00) at thread/qthread.cpp:538
#7  0x00007fca44a67223 in QInotifyFileSystemWatcherEngine::run (this=0xf33c00) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fca44978e3c in QThreadPrivate::start (arg=0xf33c00) at thread/qthread_unix.cpp:352
#9  0x00007fca437cb6fa in start_thread (arg=0x7fca31acb700) at pthread_create.c:333
#10 0x00007fca42c60b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fca312ca700 (LWP 7907)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fca449793a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0xf3ab80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe47080, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fca45dffa14 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.23
#4  0x00007fca44978e3c in QThreadPrivate::start (arg=0xf34d90) at thread/qthread_unix.cpp:352
#5  0x00007fca437cb6fa in start_thread (arg=0x7fca312ca700) at pthread_create.c:333
#6  0x00007fca42c60b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fca30ac9700 (LWP 7908)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fca449793a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0xe97d50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x14a3c18, mutex=0xf191a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fca45957c9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14a3bf0, th=0x7fca28002f10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fca4595a9a3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xf19090, th=0x7fca28002f10, previous=0x1360eb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fca459594ff in ThreadWeaver::Thread::run (this=0x7fca28002f10) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fca44978e3c in QThreadPrivate::start (arg=0x7fca28002f10) at thread/qthread_unix.cpp:352
#7  0x00007fca437cb6fa in start_thread (arg=0x7fca30ac9700) at pthread_create.c:333
#8  0x00007fca42c60b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fca230b5700 (LWP 7922)):
#0  0x00007fca3ed92a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fca3ed4d8b9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fca3ed4e24b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca3ed4e42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fca44ab92ce in QEventDispatcherGlib::processEvents (this=0x7fca180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007fca44a8718f in QEventLoop::processEvents (this=this@entry=0x7fca230b4c00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fca44a874f5 in QEventLoop::exec (this=this@entry=0x7fca230b4c00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fca44976549 in QThread::exec (this=this@entry=0xe877b0) at thread/qthread.cpp:538
#8  0x00007fca44a67223 in QInotifyFileSystemWatcherEngine::run (this=0xe877b0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fca44978e3c in QThreadPrivate::start (arg=0xe877b0) at thread/qthread_unix.cpp:352
#10 0x00007fca437cb6fa in start_thread (arg=0x7fca230b5700) at pthread_create.c:333
#11 0x00007fca42c60b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fca228b4700 (LWP 7945)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fca449793a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0xe97d50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x14a3c18, mutex=0xf191a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fca45957c9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14a3bf0, th=0x7fca280035c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fca4595a9a3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xf19090, th=0x7fca280035c0, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fca459594ff in ThreadWeaver::Thread::run (this=0x7fca280035c0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fca44978e3c in QThreadPrivate::start (arg=0x7fca280035c0) at thread/qthread_unix.cpp:352
#7  0x00007fca437cb6fa in start_thread (arg=0x7fca228b4700) at pthread_create.c:333
#8  0x00007fca42c60b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fca4660e980 (LWP 7901)):
[KCrash Handler]
#6  0x0000000000e49d1a in ?? ()
#7  0x00007fca43eae485 in QPixmap::pixmapData (this=this@entry=0x7ffc0a120fb0) at image/qpixmap.cpp:2161
#8  0x00007fca43fac22f in QRasterPaintEngine::drawPixmap (this=0x1389130, pos=..., pixmap=...) at painting/qpaintengine_raster.cpp:2044
#9  0x00007fca43f30eab in QPainter::drawPixmap (this=this@entry=0x7ffc0a120ef0, p=..., pm=...) at painting/qpainter.cpp:5344
#10 0x00007fca45baf4ed in QPainter::drawPixmap (pm=..., y=25, x=<optimized out>, this=0x7ffc0a120ef0) at /usr/include/qt4/QtGui/qpainter.h:862
#11 KIPIPlugins::KPImagesListViewItem::setProgressAnimation (this=this@entry=0xf07250, pix=...) at /build/digikam-J9prv3/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:232
#12 0x00007fca45bb01ec in KIPIPlugins::KPImagesList::slotProgressTimerDone (this=0xe47960) at /build/digikam-J9prv3/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:1146
#13 0x00007fca44a9d010 in QMetaObject::activate (sender=0xe6dee0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#14 0x00007fca44aa2c83 in QObject::event (this=0xe6dee0, e=<optimized out>) at kernel/qobject.cpp:1253
#15 0x00007fca43dcefdc in QApplicationPrivate::notify_helper (this=this@entry=0xcd10d0, receiver=receiver@entry=0xe6dee0, e=e@entry=0x7ffc0a121420) at kernel/qapplication.cpp:4570
#16 0x00007fca43dd5f16 in QApplication::notify (this=this@entry=0x7ffc0a121790, receiver=receiver@entry=0xe6dee0, e=e@entry=0x7ffc0a121420) at kernel/qapplication.cpp:4356
#17 0x00007fca4550a6aa in KApplication::notify (this=0x7ffc0a121790, receiver=0xe6dee0, event=0x7ffc0a121420) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007fca44a8890d in QCoreApplication::notifyInternal (this=0x7ffc0a121790, receiver=0xe6dee0, event=event@entry=0x7ffc0a121420) at kernel/qcoreapplication.cpp:955
#19 0x00007fca44abb780 in QCoreApplication::sendEvent (event=0x7ffc0a121420, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0xcce130) at kernel/qeventdispatcher_unix.cpp:621
#21 0x00007fca44ab8929 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#23 0x00007fca3ed4e127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fca3ed4e380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fca3ed4e42c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fca44ab92ae in QEventDispatcherGlib::processEvents (this=0xc92720, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#27 0x00007fca43e7c616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fca44a8718f in QEventLoop::processEvents (this=this@entry=0x7ffc0a1216a0, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fca44a874f5 in QEventLoop::exec (this=this@entry=0x7ffc0a1216a0, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007fca44a8d4b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#31 0x00007fca43dcd22c in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0x000000000040e899 in main (argc=<optimized out>, argv=0x7ffc0a1218b8) at /build/digikam-J9prv3/digikam-4.12.0/extra/kipi-plugins/dngconverter/plugin/dngconverter.cpp:77

Reported using DrKonqi
Comment 1 caulier.gilles 2016-05-10 05:41:47 UTC

*** This bug has been marked as a duplicate of bug 319882 ***
Comment 2 caulier.gilles 2019-12-24 10:17:34 UTC
Not reproducible with 7.0.0-beta1