Bug 361660

Summary: DNG Image Converter crashes when converting Canon cr2 file.
Product: [Applications] digikam Reporter: Paul Holmes <paulhholmes>
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 Paul Holmes 2016-04-12 11:47:24 UTC
Application: dngconverter (4.12.0)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-13-generic x86_64
Distribution: Ubuntu Xenial Xerus (development branch)

-- Information about the crash:
- What I was doing when the application crashed: I added a canon cr2 file. Lossless compression was ticked, Jpeg Preview was set to mediium and I instructed the app to store as a different name. When I clicked on Convert the app crashed.

-- 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 0x7f703452c980 (LWP 2046))]

Thread 8 (Thread 0x7f701feeb700 (LWP 2047)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f70328963b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f7033abb7b8 in KIPIPlugins::KPRawThumbThread::run() () from /usr/lib/digikam/libkipiplugins.so.4.12.0
#3  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f70316e66fa in start_thread (arg=0x7f701feeb700) at pthread_create.c:333
#5  0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f701f6ea700 (LWP 2048)):
#0  0x00007f7030b6f5ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f702cc6831c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f702cc6842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70329d63ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f70329a4281 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f70329a45f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f7032893559 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f70329842e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f70316e66fa in start_thread (arg=0x7f701f6ea700) at pthread_create.c:333
#10 0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f701df19700 (LWP 2050)):
#0  0x00007f702ccaca49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f702cc678b9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f702cc6824b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f702cc6842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f70329d63ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f70329a4281 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f70329a45f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f7032893559 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f70329842e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f70316e66fa in start_thread (arg=0x7f701df19700) at pthread_create.c:333
#11 0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f701c89f700 (LWP 2068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f70328963b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f7033d1ca14 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.23
#3  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f70316e66fa in start_thread (arg=0x7f701c89f700) at pthread_create.c:333
#5  0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f7007fff700 (LWP 2069)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f70328963b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f7033874c9c in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f70338779a3 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f70338764ff in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#5  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f70316e66fa in start_thread (arg=0x7f7007fff700) at pthread_create.c:333
#7  0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f7006f9d700 (LWP 2070)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f70328963b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f7033874c9c in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f70338779a3 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f70338779bc in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f70338764ff in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f70316e66fa in start_thread (arg=0x7f7006f9d700) at pthread_create.c:333
#8  0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f700679c700 (LWP 2071)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f70328963b6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f7033874c9c in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f70338779a3 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f70338764ff in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#5  0x00007f7032895e4c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f70316e66fa in start_thread (arg=0x7f700679c700) at pthread_create.c:333
#7  0x00007f7030b7b2dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f703452c980 (LWP 2046)):
[KCrash Handler]
#6  0x00007f7031dc9827 in QPixmap::copy(QRect const&) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007f7031dca52f in QPixmap::QPixmap(QPixmap const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007f70334a7ab8 in KPixmapSequence::frameAt(int) const () from /usr/lib/libkdeui.so.5
#9  0x00007f7033acd221 in KIPIPlugins::KPImagesList::slotProgressTimerDone() () from /usr/lib/digikam/libkipiplugins.so.4.12.0
#10 0x00007f70329ba100 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f70329bfd73 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f7031ce9fbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007f7031cf0ef6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007f70334276aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f70329a5a0d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f70329d8860 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f70329d5a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f702cc68127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f702cc68380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f702cc6842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f70329d638e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f7031d97726 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f70329a4281 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007f70329a45f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f70329aa5c9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x000000000040e899 in ?? ()
#27 0x00007f7030a94841 in __libc_start_main (main=0x40e5c0, argc=5, argv=0x7ffe4b41d2a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4b41d298) at ../csu/libc-start.c:291
#28 0x000000000040ebf9 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 355509.

Possible duplicates by query: bug 355744, bug 355509.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-04-12 11:49:37 UTC

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