Bug 354364 - Crash of DNG converter
Summary: Crash of DNG converter
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: 2015-10-25 21:27 UTC by D. van Aken
Modified: 2019-12-24 14:13 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
New crash information added by DrKonqi (44.44 KB, text/plain)
2016-01-14 13:54 UTC, Yasin Zähringer
Details
trace showing digikam is looking in the wrong places for process-working.png (50.42 KB, application/x-bzip)
2016-03-30 20:20 UTC, jon33040
Details
failed attempts to access process-working.png when theme is oxygen (479.45 KB, application/x-bzip)
2016-03-30 21:22 UTC, jon33040
Details

Note You need to log in before you can comment on or make changes to this bug.
Description D. van Aken 2015-10-25 21:27:39 UTC
Application: dngconverter (4.12.0)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-16-generic i686
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed: I selected one CR2 file from a Canon camera and tried to convert it to DNG. The same result when trying to convert multiple CR2 files, either directly with the converter or starting from Digikam.

The crash can be reproduced every time.

-- Backtrace:
Application: DNG-afbeelding-convertor (dngconverter), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb2a93ac0 (LWP 4123))]

Thread 6 (Thread 0xb17beb40 (LWP 4124)):
#0  0xb77d1be8 in __kernel_vsyscall ()
#1  0xb5f7a25c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6b30232 in QWaitConditionPrivate::wait (time=4294967295, this=0x9142930) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x9142924, mutex=0x9142920, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb765b65d in KIPIPlugins::KPRawThumbThread::run (this=0x910f1d0) at /build/digikam-tUtjhi/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#5  0xb6b2fc5e in QThreadPrivate::start (arg=0x910f1d0) at thread/qthread_unix.cpp:349
#6  0xb5f751aa in start_thread (arg=0xb17beb40) at pthread_create.c:333
#7  0xb5cbafde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 5 (Thread 0xb0dffb40 (LWP 4125)):
#0  0xb77d1be8 in __kernel_vsyscall ()
#1  0xb5cb03db in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb4d53980 in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4d44f1c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4d45054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6c8027c in QEventDispatcherGlib::processEvents (this=0xb0400468, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0xb6c4bdaf in QEventLoop::processEvents (this=0xb0dff1e4, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6c4c13e in QEventLoop::exec (this=0xb0dff1e4, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6b2d10b in QThread::exec (this=0x913bbb8) at thread/qthread.cpp:538
#9  0xb6c2b576 in QInotifyFileSystemWatcherEngine::run (this=0x913bbb8) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb6b2fc5e in QThreadPrivate::start (arg=0x913bbb8) at thread/qthread_unix.cpp:349
#11 0xb5f751aa in start_thread (arg=0xb0dffb40) at pthread_create.c:333
#12 0xb5cbafde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 4 (Thread 0xb03ffb40 (LWP 4126)):
#0  0xb77d1be8 in __kernel_vsyscall ()
#1  0xb5f7a25c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6b30232 in QWaitConditionPrivate::wait (time=4294967295, this=0x9127308) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x90f0f0c, mutex=0x90f0f10, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb76c6108 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.23
#5  0xb6b2fc5e in QThreadPrivate::start (arg=0x911c190) at thread/qthread_unix.cpp:349
#6  0xb5f751aa in start_thread (arg=0xb03ffb40) at pthread_create.c:333
#7  0xb5cbafde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 3 (Thread 0xaf9ffb40 (LWP 4127)):
#0  0xb77d1be8 in __kernel_vsyscall ()
#1  0xb5f7a25c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6b30232 in QWaitConditionPrivate::wait (time=4294967295, this=0x9137ec0) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x911c368, mutex=0x913dae8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb761c7e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x911c350, th=0xafa029a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#5  0xb761faa4 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9138010, th=0xafa029a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:77
#6  0xb761c724 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x911c350, th=0xafa029a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:361
#7  0xb761fa5a in ThreadWeaver::WorkingHardState::applyForWork (this=0x9138010, th=0xafa029a8, previous=0x91c8520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#8  0xb761b588 in ThreadWeaver::WeaverImpl::applyForWork (this=0x911c350, th=0xafa029a8, previous=0x91c8520) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#9  0xb761e27d in ThreadWeaver::Thread::run (this=0xafa029a8) at ../../../threadweaver/Weaver/Thread.cpp:98
#10 0xb6b2fc5e in QThreadPrivate::start (arg=0xafa029a8) at thread/qthread_unix.cpp:349
#11 0xb5f751aa in start_thread (arg=0xaf9ffb40) at pthread_create.c:333
#12 0xb5cbafde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 2 (Thread 0xaefbbb40 (LWP 4131)):
#0  0xb77d1be8 in __kernel_vsyscall ()
#1  0xb5f7a25c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6b30232 in QWaitConditionPrivate::wait (time=4294967295, this=0x9137ec0) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x911c368, mutex=0x913dae8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb761c7e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x911c350, th=0xafa02e60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#5  0xb761faa4 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9138010, th=0xafa02e60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:77
#6  0xb761c724 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x911c350, th=0xafa02e60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:361
#7  0xb761fa5a in ThreadWeaver::WorkingHardState::applyForWork (this=0x9138010, th=0xafa02e60, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#8  0xb761b588 in ThreadWeaver::WeaverImpl::applyForWork (this=0x911c350, th=0xafa02e60, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#9  0xb761e27d in ThreadWeaver::Thread::run (this=0xafa02e60) at ../../../threadweaver/Weaver/Thread.cpp:98
#10 0xb6b2fc5e in QThreadPrivate::start (arg=0xafa02e60) at thread/qthread_unix.cpp:349
#11 0xb5f751aa in start_thread (arg=0xaefbbb40) at pthread_create.c:333
#12 0xb5cbafde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 1 (Thread 0xb2a93ac0 (LWP 4123)):
[KCrash Handler]
#7  QPixmapData::isNull (this=<optimized out>) at image/qpixmapdata_p.h:131
#8  QPixmap::isNull (this=0x90fc864) at image/qpixmap.cpp:579
#9  0xb61db320 in QPixmap::copy (this=0x90fc864, rect=...) at image/qpixmap.cpp:382
#10 0xb61dc268 in QPixmap::QPixmap (this=0xbff22ba0, pixmap=...) at image/qpixmap.cpp:303
#11 0xb738b9fe in KPixmapSequence::frameAt (this=0x90f11b0, index=1) at ../../kdeui/util/kpixmapsequence.cpp:143
#12 0xb766e458 in KIPIPlugins::KPImagesList::slotProgressTimerDone (this=0x90f0fa0) at /build/digikam-tUtjhi/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:1146
#13 0xb766e999 in KIPIPlugins::KPImagesList::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/digikam-tUtjhi/digikam-4.12.0/obj-i686-linux-gnu/extra/kipi-plugins/common/libkipiplugins/kpimageslist.moc:280
#14 0xb6c62efb in QMetaObject::activate (sender=0x90ecad8, m=0xb6dcc694 <QTimer::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3567
#15 0xb6cb8552 in QTimer::timeout (this=0x90ecad8) at .moc/release-shared/moc_qtimer.cpp:147
#16 0xb6c6e37f in QTimer::timerEvent (this=0x90ecad8, e=0xbff22fbc) at kernel/qtimer.cpp:280
#17 0xb6c68eee in QObject::event (this=0x90ecad8, e=0xbff22fbc) at kernel/qobject.cpp:1253
#18 0xb60eb3ca in QApplicationPrivate::notify_helper (this=0x900fa40, receiver=0x90ecad8, e=0xbff22fbc) at kernel/qapplication.cpp:4570
#19 0xb60f26d1 in QApplication::notify (this=0xbff23280, receiver=0x90ecad8, e=0xbff22fbc) at kernel/qapplication.cpp:4356
#20 0xb7302b3c in KApplication::notify (this=0xbff23280, receiver=0x90ecad8, event=0xbff22fbc) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb6c4d6ca in QCoreApplication::notifyInternal (this=0xbff23280, receiver=0x90ecad8, event=0xbff22fbc) at kernel/qcoreapplication.cpp:955
#22 0xb6c82a29 in QCoreApplication::sendEvent (event=0xbff22fbc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QTimerInfoList::activateTimers (this=0x900ebb4) at kernel/qeventdispatcher_unix.cpp:621
#24 0xb6c7f88c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#25 idleTimerSourceDispatch (source=0x901c328) at kernel/qeventdispatcher_glib.cpp:240
#26 0xb4d44ce9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb4d44f89 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb4d45054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb6c80255 in QEventDispatcherGlib::processEvents (this=0x8feda30, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#30 0xb61a6096 in QGuiEventDispatcherGlib::processEvents (this=0x8feda30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0xb6c4bdaf in QEventLoop::processEvents (this=0xbff23204, flags=...) at kernel/qeventloop.cpp:149
#32 0xb6c4c13e in QEventLoop::exec (this=0xbff23204, flags=...) at kernel/qeventloop.cpp:204
#33 0xb6c52736 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#34 0xb60e9264 in QApplication::exec () at kernel/qapplication.cpp:3828
#35 0x080531e7 in main (argc=6, argv=0xbff23354) at /build/digikam-tUtjhi/digikam-4.12.0/extra/kipi-plugins/dngconverter/plugin/dngconverter.cpp:77

Reported using DrKonqi
Comment 1 D. van Aken 2015-10-25 21:32:25 UTC
May be relevant to mention that I have often used DNG converter before, but I just updated to Kubuntu 15.10. Also, the file to be converted is located on an external (usb) hard drive with ntfs file system.
Comment 2 caulier.gilles 2015-10-25 21:38:34 UTC
It crash when it try to render a turn wheel over thumbnail while processing. see KPixmapSequence::frameAt() in trace. The wheel pixmap is null. This pixmap is taken from KDE icon sets. So it miss a package on your computer...

Gilles Caulier
Comment 3 caulier.gilles 2015-11-01 06:54:12 UTC
*** Bug 354668 has been marked as a duplicate of this bug. ***
Comment 4 Sander van der Heijden 2015-11-02 10:51:34 UTC
I had the same issue after upgrading from Kubuntu 15.04 to 15.10. It seems to be fixed when I change my icon set from Breeze/Breeze Dark back to Oxygen...
Is the wheel pixmap removed from Breeze/Breeze Dark icon sets?
Comment 5 caulier.gilles 2015-11-02 10:59:38 UTC
yes, i think it removed.

In Qt5 port, we use an embeded version of pixmap in digiKam...

Gilles Caulier
Comment 6 D. van Aken 2015-11-02 22:02:36 UTC
Changing from Breeze to Oxygen (or any other theme) did not work for me so far. DNG still crashes.
Comment 7 caulier.gilles 2015-11-10 22:11:45 UTC
*** Bug 355154 has been marked as a duplicate of this bug. ***
Comment 8 caulier.gilles 2015-11-22 17:32:16 UTC
*** Bug 355744 has been marked as a duplicate of this bug. ***
Comment 9 caulier.gilles 2015-11-22 21:40:56 UTC
*** Bug 355745 has been marked as a duplicate of this bug. ***
Comment 10 caulier.gilles 2015-12-25 15:39:42 UTC
*** Bug 357149 has been marked as a duplicate of this bug. ***
Comment 11 caulier.gilles 2016-01-11 15:03:48 UTC
*** Bug 357838 has been marked as a duplicate of this bug. ***
Comment 12 Yasin Zähringer 2016-01-14 13:54:08 UTC
Created attachment 96635 [details]
New crash information added by DrKonqi

digikam (4.12.0) on KDE Platform 4.14.13 using Qt 4.8.6

- What I was doing when the application crashed:

I used the adjust date & time tool when the crash happened. Digikam was in the process of rewriting an EXIF timestamp of ~ 1700 files and reliably crashes after about 10%. Also, some updated files were corrupted.

-- Backtrace (Reduced):
#6  QPixmapData::isNull (this=<optimized out>) at image/qpixmapdata_p.h:131
#7  QPixmap::isNull (this=this@entry=0x476e768) at image/qpixmap.cpp:579
#8  0x00007f68b84ab96b in QPixmap::copy (this=this@entry=0x476e768, rect=...) at image/qpixmap.cpp:382
#9  0x00007f68b84ac6bf in QPixmap::QPixmap (this=0x7ffef6be9790, pixmap=...) at image/qpixmap.cpp:303
#10 0x00007f68b91b1f38 in KPixmapSequence::frameAt (this=0x25ccc48, index=1) at ../../kdeui/util/kpixmapsequence.cpp:143
Comment 13 caulier.gilles 2016-01-23 13:04:38 UTC
*** Bug 358424 has been marked as a duplicate of this bug. ***
Comment 14 caulier.gilles 2016-03-20 12:00:37 UTC
*** Bug 360770 has been marked as a duplicate of this bug. ***
Comment 15 Thomas Käfer 2016-03-26 15:23:49 UTC
I've experienced this bug in digikam 4.12 in the same way Yasin Zähringer described.

So I've followed the guide at https://www.digikam.org/download?q=download/GIT to get the latest digikam since this bug entry says "RESOLVED DOWNSTREAM" I thought that should fix it.

But now I have the problem that in this new version the menu entry that allowed for mass time stamp manipulation is gone. Or maybe moved? Please help.
Comment 16 caulier.gilles 2016-03-26 15:25:50 UTC
The Time Adjust tool is not yet re-integrated in digiKam 5.0.0 after Qt5 port of application. It still in todo list. Please, be patient, we plan to do it before final release...
Comment 17 Thomas Käfer 2016-03-26 16:53:31 UTC
okey, thanks for the info! would getting digikam 4.14 to run on my system help? as in does it already contain the fix for this bug?
Comment 18 Thomas Käfer 2016-03-26 17:46:44 UTC
haha okey so that was a catastrophic experience ;) while digikam 4.12 managed to corrupt a single picture of my album while crashing, digikam 4.14 managed to corrupt around 20 of the total ~50 pictures in the album (selected all of them before using the adjust date/timestamp kipi plugin) But don't worry for me I have backups ;)
Comment 19 caulier.gilles 2016-03-28 20:17:11 UTC
*** Bug 361102 has been marked as a duplicate of this bug. ***
Comment 20 jon33040 2016-03-30 06:54:01 UTC
I've got the desktop theme set to Oxygen and DK still crashes any time I process multiple images at the same time - adjust date/time, upload to google photos.
I've double checked that the Oxygen icons are selected and this didn't make any difference

Right now there is no version of DK which I can use. DK4 crashes all the time and DK5 isn't ready for production and needed features aren't there yet.

I challenge the status of this bug as "resolved". I think this needs to be fixed somehow for DK4.
Comment 21 caulier.gilles 2016-03-30 07:20:13 UTC
No update will be done for digiKam 4.x. The next one is 5.0, which fix definitively this problem.

In fact it miss an image on your system, shared with Oxygen package : process-working.png

Gilles Caulier
Comment 22 jon33040 2016-03-30 07:47:41 UTC
(In reply to caulier.gilles from comment #21)
> No update will be done for digiKam 4.x. The next one is 5.0, which fix
> definitively this problem.

So anyone who has this problem has no usable version of DK until 5.0 is released?
My system is a relatively vanilla version of kubuntu wily which is why I guess a lot of people are being hit by this.

> 
> In fact it miss an image on your system, shared with Oxygen package :
> process-working.png

That's not correct as you can see here.

find /usr -name process-working.png
/usr/share/icons/Humanity/animations/16/process-working.png
/usr/share/icons/Humanity/animations/24/process-working.png
/usr/share/icons/Humanity/animations/22/process-working.png
/usr/share/icons/Humanity/animations/32/process-working.png
/usr/share/icons/oxygen/22x22/animations/process-working.png
Comment 23 jon33040 2016-03-30 08:02:11 UTC
On this kubuntu wily system, the following packages contain process-working.png;

$ apt-file search process-working.png | awk -F: '{ print $1 }'  | uniq
elementary-icon-theme
gnome-accessibility-themes
gnome-icon-theme-full
gnome-theme-gilouche
humanity-icon-theme
kde-icons-mono
mate-icon-theme
moblin-icon-theme
oxygen-icon-theme
scilab-data
sparkleshare
tango-icon-theme
xubuntu-icon-theme

If I try to install that list, apt-get reports that;

humanity-icon-theme is already the newest version.
oxygen-icon-theme is already the newest version.

I didn't install all of them as doing so would bring a long list of other stuff with it.
Comment 24 jon33040 2016-03-30 20:15:30 UTC
Continuing to investigate, I had a look at how digikam attempts to find process-working.png.

The attached file, /tmp/not-finding-process-working-png.txt, is the results of running digikam with 'strace' and then searching the results of that with grep for process-working.

You can see that it's attempting to find process-working.png in many places but not under /usr/share/icons/Humanity or /usr/share/icons/oxygen which is where it would find it.

Indeed, there are no references to either /usr/share/icons/Humanity or /usr/share/icons/oxygen in the strace output at all. 

I think there's a mis-configuration somewhere and from the number of people finding this problem, it's not just be. 

I don't know enough about KDE or Qt to know how the paths for icons are configured.
Comment 25 jon33040 2016-03-30 20:20:01 UTC
Created attachment 98159 [details]
trace showing digikam is looking in the wrong places for process-working.png

Results of 'grep process-working /tmp/abc >/tmp/not-finding-process-working-png.txt' where /tmp/abc is the results of 'strace -f digikam |& grep png >& /tmp/abc'.
Comment 26 jon33040 2016-03-30 21:22:54 UTC
Created attachment 98161 [details]
failed attempts to access process-working.png when theme is oxygen

I've now set the theme to oxygen (which contains process-working.png), rebooted and the crash still happens. The attached file, process-working-not-found-oxygen-theme.txt, shows that digikam is still looking in breeze for process-working.png and not in oxygen.
This reinforces my suspicion that there is a bug somewhere in how digikam decides where to look for icons.
Comment 27 caulier.gilles 2016-03-30 21:29:52 UTC
The way to find this PNG file is delegate to KDE API, through KIcon class.

Gilles Caulier
Comment 28 jon33040 2016-03-30 21:55:32 UTC
My other PC doesn't have this problem but it also has process-working.png in 2 extra places as can be seen here.

find /usr -name process-working.png
/usr/share/kipiplugins/pics/process-working.png
/usr/share/icons/Humanity/animations/32/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/oxygen/22x22/animations/process-working.png
/usr/share/digikam/data/process-working.png

Looking at where these came from, I find this;

$ dpkg -S process-working.png
humanity-icon-theme: /usr/share/icons/Humanity/animations/16/process-working.png
humanity-icon-theme: /usr/share/icons/Humanity/animations/24/process-working.png
oxygen5-icon-theme: /usr/share/icons/oxygen/22x22/animations/process-working.png
digikam5-data: /usr/share/digikam/data/process-working.png
humanity-icon-theme: /usr/share/icons/Humanity/animations/22/process-working.png
humanity-icon-theme: /usr/share/icons/Humanity/animations/32/process-working.png
kipi-plugins5-common: /usr/share/kipiplugins/pics/process-working.png

So I guess it's accidental that it works on my 2nd PC because I have the beta of DK5 install there.
Comment 29 jon33040 2016-03-31 06:22:01 UTC
So here is my work-around for the machine where DK crashes;

1. cd ~/.kde/share/apps/digikam
2. mkdir toolbar (assuming it doesn't already exist)
3. cp  /usr/share/icons/oxygen/22x22/animations/process-working.png toolbar

I've checked this with the UI for modifying dates/times on images and the UI for uploading to Google and both now work where they previously crashed.
Comment 30 Thomas Käfer 2016-03-31 07:29:50 UTC
brilliant! thanks jon33040!

your workaround worked for me too - I'm running Ubuntu Mate 16.04 beta with a Cinnamon desktop with Digikam 4.14 installed from this repository https://launchpad.net/~philip5/+archive/ubuntu/extra
Comment 31 D. van Aken 2016-03-31 21:17:30 UTC
I tried the workaround given by jon33040. Unfortunately, it does not work for my system (Kubuntu 15.10, KDE Plasma version 5.4.2 with Digikam 4.12.0).
Comment 32 jon33040 2016-03-31 21:30:24 UTC
(In reply to D. van Aken from comment #31)
> I tried the workaround given by jon33040. Unfortunately, it does not work
> for my system (Kubuntu 15.10, KDE Plasma version 5.4.2 with Digikam 4.12.0).

Running digikam from the command line with this recipe will print the directories where it is looking for process-working.png. You can then try copying process-working.png to one of those directories.

strace -f -e access digikam |& grep process-working | grep -v /usr/

What it prints on my laptop is the following;

pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0
[pid 10844] access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png", R_OK) = 0

and so on

Hence the directory in the work-around in comment 29.
Comment 33 D. van Aken 2016-04-01 07:43:15 UTC
(In reply to jon33040 from comment #32)
> (In reply to D. van Aken from comment #31)
> > I tried the workaround given by jon33040. Unfortunately, it does not work
> > for my system (Kubuntu 15.10, KDE Plasma version 5.4.2 with Digikam 4.12.0).
> 
> Running digikam from the command line with this recipe will print the
> directories where it is looking for process-working.png. You can then try
> copying process-working.png to one of those directories.
> 
> strace -f -e access digikam |& grep process-working | grep -v /usr/
> 
> What it prints on my laptop is the following;
> 
> pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> [pid 10844]
> access("/home/jon/.kde/share/apps/digikam/toolbar/process-working.png",
> R_OK) = 0
> 
> and so on
> 
> Hence the directory in the work-around in comment 29.

That was the golden hint! Thank you!
In my case, the output was like:
[pid  2296] access("/home/dirk/.kde/share/icons/hicolor/48x48/apps/process-working.png", R_OK) = -1 ENOENT (No such file or directory) 
[pid  2296] access("/home/dirk/.local/share/icons/hicolor/48x48/apps/process-working.png", R_OK) = -1 ENOENT (No such file or directory) 
[etc.; it was also looking for process-working.svg, process-working.xpm]

The source directory to get process-working.png was: /user/share/icons/mono/48x48/animations
(and similar directories 16x16 and 128x128)
The directory /usr/share/icons/oxygen/48x48/animations/ contained a similar file: process-working-kde.png

After copying the  correct files to ~/.kde/share/icons/hicolor/16x16/apps/  and to the 48x48 and 128x128 versions, DNG convertor works again!
Comment 34 Maik Qualmann 2016-04-02 20:49:29 UTC
*** Bug 361312 has been marked as a duplicate of this bug. ***
Comment 35 caulier.gilles 2016-04-15 10:02:58 UTC
*** Bug 361802 has been marked as a duplicate of this bug. ***
Comment 36 caulier.gilles 2016-04-22 20:03:57 UTC
*** Bug 362104 has been marked as a duplicate of this bug. ***
Comment 37 Maik Qualmann 2017-08-30 20:49:55 UTC
*** Bug 384200 has been marked as a duplicate of this bug. ***
Comment 38 Maik Qualmann 2018-01-04 21:20:13 UTC
*** Bug 388542 has been marked as a duplicate of this bug. ***
Comment 39 Maik Qualmann 2019-05-04 05:39:27 UTC
*** Bug 407203 has been marked as a duplicate of this bug. ***
Comment 40 caulier.gilles 2019-12-24 14:13:44 UTC
Not reproducible with 7.0.0-beta1