Bug 337601

Summary: Digikam crashed on closing after interrupted raw processing
Product: [Applications] digikam Reporter: Remco Vietor <remco.vietor>
Component: Plugin-RawImport-NativeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 4.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Remco Vietor 2014-07-19 08:39:09 UTC
Application: digikam (4.2.0)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.11.10-17-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Interrupted Raw demosaicing, closed the Image Editor and Digikam

- Custom settings of the application:
Local build using a local build of LibRaw 0.16.0 with both GLP2 and GPL3 decoder packs

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f301b82f900 (LWP 23019))]

Thread 4 (Thread 0x7f2ff2b7d700 (LWP 23021)):
#0  0x00007f301311e55d in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f300ad4c2c1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f300ad0c5f9 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f300ad0c70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f300fcf9d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f300fccbd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f300fccc005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f300fbcafef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f300fcad513 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f300fbcd68f in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f301311b0db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f300e1d190d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2fce7fc700 (LWP 23034)):
[KCrash Handler]
#5  0x00007f300e11f849 in raise () from /lib64/libc.so.6
#6  0x00007f300e120cd8 in abort () from /lib64/libc.so.6
#7  0x00007f300fbc3204 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#8  0x00007f300fbc3389 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f300fbc3b94 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#10 0x00007f30187524fb in operator-> (this=0x7f3018c2cd48 <_ZN7DigikamL8static_dE>) at /home/remco/src/Digikam_4.1/core/libs/threadimageio/filereadwritelock.cpp:385
#11 0x00007f3018752870 in Digikam::FileReadLocker::~FileReadLocker (this=0x7f2fce7fb7e0, __in_chrg=<optimized out>) at /home/remco/src/Digikam_4.1/core/libs/threadimageio/filereadwritelock.cpp:443
#12 0x00007f3018567959 in Digikam::DImg::load (this=0x7f2fce7fbc30, filePath=..., loadFlagsInt=63, observer=0x5bb0fb0, rawDecodingSettings=...) at /home/remco/src/Digikam_4.1/core/libs/dimg/dimg.cpp:571
#13 0x00007f301856649d in Digikam::DImg::load (this=0x7f2fce7fbc30, filePath=..., observer=0x5bb0fb0, rawDecodingSettings=...) at /home/remco/src/Digikam_4.1/core/libs/dimg/dimg.cpp:375
#14 0x00007f301856573f in Digikam::DImg::DImg (this=0x7f2fce7fbc30, filePath=..., observer=0x5bb0fb0, rawDecodingSettings=...) at /home/remco/src/Digikam_4.1/core/libs/dimg/dimg.cpp:113
#15 0x00007f30187638a1 in Digikam::LoadingTask::execute (this=0x5bb0fa0) at /home/remco/src/Digikam_4.1/core/libs/threadimageio/loadsavetask.cpp:54
#16 0x00007f30187548e4 in Digikam::LoadSaveThread::run (this=0x694ada0) at /home/remco/src/Digikam_4.1/core/libs/threadimageio/loadsavethread.cpp:136
#17 0x00007f3018780c6e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x6c26f60) at /home/remco/src/Digikam_4.1/core/libs/threads/dynamicthread.cpp:186
#18 0x00007f300fbc113e in ?? () from /usr/lib64/libQtCore.so.4
#19 0x00007f300fbcd68f in ?? () from /usr/lib64/libQtCore.so.4
#20 0x00007f301311b0db in start_thread () from /lib64/libpthread.so.0
#21 0x00007f300e1d190d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2fa57ea700 (LWP 23077)):
#0  0x00007f2ffe6317f2 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007f2ffe62ff8f in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007f301311b0db in start_thread () from /lib64/libpthread.so.0
#3  0x00007f300e1d190d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f301b82f900 (LWP 23019)):
#0  0x00007f301311f0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f300fbcdb66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f300fbc0b52 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f300fbc1ef5 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#4  0x00007f300fbc1f29 in QThreadPool::~QThreadPool() () from /usr/lib64/libQtCore.so.4
#5  0x00007f300fce3658 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#6  0x00007f300fce5bff in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#7  0x00007f301877e3c8 in Digikam::ThreadManager::~ThreadManager (this=0x1e1b770, __in_chrg=<optimized out>) at /home/remco/src/Digikam_4.1/core/libs/threads/threadmanager.cpp:257
#8  0x00007f301877ec40 in Digikam::ThreadManagerCreator::~ThreadManagerCreator (this=0x1e1b770, __in_chrg=<optimized out>) at /home/remco/src/Digikam_4.1/core/libs/threads/threadmanager.cpp:236
#9  0x00007f301877e271 in destroy () at /home/remco/src/Digikam_4.1/core/libs/threads/threadmanager.cpp:241
#10 0x00007f3018573fc1 in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x7f3018c2a028 <_ZZN7Digikam5._152ptEvE13cleanUpObject>, __in_chrg=<optimized out>) at /usr/include/kglobal.h:62
#11 0x00007f300e1223d9 in __run_exit_handlers () from /lib64/libc.so.6
#12 0x00007f300e122425 in exit () from /lib64/libc.so.6
#13 0x00007f300e10bbec in __libc_start_main () from /lib64/libc.so.6
#14 0x00000000004a1449 in _start () at ../sysdeps/x86_64/start.S:122

Possible duplicates by query: bug 311280.
Comment 1 caulier.gilles 2014-08-29 14:39:21 UTC

*** This bug has been marked as a duplicate of bug 311280 ***
Comment 2 caulier.gilles 2019-12-23 17:48:00 UTC
Not reproducible with digiKam 7.0.0-beta1.