Bug 363162 - dngconverter crashes when converting any RAW file
Summary: dngconverter crashes when converting any RAW file
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-DngConverter (show other bugs)
Version: 4.12.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-17 05:28 UTC by savanni.dgerinel
Modified: 2016-07-02 16:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description savanni.dgerinel 2016-05-17 05:28:35 UTC
Application: dngconverter (4.12.0)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-22-generic x86_64
Distribution: Ubuntu 16.04 LTS

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

In each case I have launched dngconverter from the command line with a single file as the argument. The file appears to load correctly, and then I press the "Convert" button. At that moment the application crashes.

I have experienced this on a CR2 file from a Cannon 50D, an ARW from from a Sony NEX-7, and an ARW file from a Sony A-6000.

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 0x7f339fbd3980 (LWP 30265))]

Thread 6 (Thread 0x7f338b9c3700 (LWP 30266)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f339df3d3a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f339f16276e in KIPIPlugins::KPRawThumbThread::run() () from /usr/lib/digikam/libkipiplugins.so.4.12.0
#3  0x00007f339df3ce3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f339cd8f6fa in start_thread (arg=0x7f338b9c3700) at pthread_create.c:333
#5  0x00007f339c224b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f338b1c2700 (LWP 30267)):
#0  0x00007f3398357a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f33983128b9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f339831324b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f339831342c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f339e07d2ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f339e04b18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f339e04b4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f339df3a549 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f339e02b223 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f339df3ce3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f339cd8f6fa in start_thread (arg=0x7f338b1c2700) at pthread_create.c:333
#11 0x00007f339c224b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f338a9c1700 (LWP 30268)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f339df3d3a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f339f3c3a14 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.23
#3  0x00007f339df3ce3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f339cd8f6fa in start_thread (arg=0x7f338a9c1700) at pthread_create.c:333
#5  0x00007f339c224b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f338a1c0700 (LWP 30269)):
#0  0x000000000045b997 in ?? ()
#1  0x000000000045da21 in ?? ()
#2  0x000000000045daf5 in ?? ()
#3  0x0000000000430e91 in ?? ()
#4  0x00000000004311cb in ?? ()
#5  0x000000000042af98 in ?? ()
#6  0x0000000000432844 in ?? ()
#7  0x0000000000424eaf in ?? ()
#8  0x0000000000410bc2 in ?? ()
#9  0x00007f339ef1dcc2 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00007f339ef1dece in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#11 0x00007f339ef1fbbb in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x00007f339ef1d59b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0x00007f339df3ce3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f339cd8f6fa in start_thread (arg=0x7f338a1c0700) at pthread_create.c:333
#15 0x00007f339c224b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f33896f2700 (LWP 30272)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f339df3d3a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f339ef1bc9c in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f339ef1e9a3 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f339ef1d4ff in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#5  0x00007f339df3ce3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f339cd8f6fa in start_thread (arg=0x7f33896f2700) at pthread_create.c:333
#7  0x00007f339c224b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f339fbd3980 (LWP 30265)):
[KCrash Handler]
#6  0x00007f339d4717f9 in QPixmap::isNull() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007f339d47262b in QPixmap::copy(QRect const&) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007f339d47337f in QPixmap::QPixmap(QPixmap const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007f339eb4eab8 in KPixmapSequence::frameAt(int) const () from /usr/lib/libkdeui.so.5
#10 0x00007f339f1741e1 in KIPIPlugins::KPImagesList::slotProgressTimerDone() () from /usr/lib/digikam/libkipiplugins.so.4.12.0
#11 0x00007f339e061010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f339e066c83 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f339d392fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007f339d399f16 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f339eace6aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f339e04c90d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f339e07f780 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f339e07c929 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f3398313127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f3398313380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f339831342c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f339e07d2ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f339d440616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f339e04b18f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f339e04b4f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f339e0514b9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x000000000040e899 in ?? ()
#28 0x00007f339c13e830 in __libc_start_main (main=0x40e5c0, argc=2, argv=0x7ffedfb73048, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffedfb73038) at ../csu/libc-start.c:291
#29 0x000000000040ebf9 in _start ()

Possible duplicates by query: bug 361678, bug 355744.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-05-17 05:37:17 UTC

*** This bug has been marked as a duplicate of bug 361678 ***
Comment 2 savanni.dgerinel 2016-05-17 05:58:01 UTC
Whether this is a duplicate of another bug or not, the bug is not resolved. My system has all of the processing files from the Oxygen theme installed in the correct place:

/usr/share/icons/HighContrast/48x48/animations/process-working.png
/usr/share/icons/Humanity/animations/16/process-working.png
/usr/share/icons/Humanity/animations/22/process-working.png
/usr/share/icons/Humanity/animations/24/process-working.png
/usr/share/icons/Humanity/animations/32/process-working.png
/usr/share/icons/gnome/16x16/animations/process-working.png
/usr/share/icons/gnome/22x22/animations/process-working.png
/usr/share/icons/gnome/32x32/animations/process-working.png
/usr/share/icons/gnome/48x48/animations/process-working.png
/usr/share/icons/oxygen/22x22/animations/process-working.png

This has been going on for months, including many library upgrades, system upgrades, and reboots. I see no resolution in any of the supposed duplicates.
Comment 3 Maik Qualmann 2016-05-17 18:43:23 UTC
Copy the icon in your home directory. See here:

https://bugs.kde.org/show_bug.cgi?id=354364#c29

Maik
Comment 4 savanni.dgerinel 2016-05-19 04:52:58 UTC
Odd. That solves the problem if I launch DNGConverter from Digikam. If I launch it from the command line, the crash persists. However, my 99% use case is to launch DNGConverter from Digikam, so I am satisfied with this as a workaround.
Comment 5 caulier.gilles 2016-06-30 13:00:13 UTC
Problem still reproducible using last digiKam 5.0.0-beta7 ?

Gilles Caulier
Comment 6 caulier.gilles 2016-07-02 16:03:56 UTC
This tool have been moved to digiKam core. Problem is not reproducible.

Gilles Caulier