Bug 304288 - Crash at shutdown
Summary: Crash at shutdown
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 2.5.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-30 15:39 UTC by Oscar
Modified: 2016-07-10 13:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oscar 2012-07-30 15:39:00 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: renamed some pictures, deleted some tags after moving their pictures to another homonimus tag, and normal shutdown

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaea1c8c0 (LWP 2546))]

Thread 15 (Thread 0xacc31b40 (LWP 2549)):
#0  0xb313e3e4 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb30ff060 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb30ff56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xacc36134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#4  0xb31226b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 14 (Thread 0xac2e2b40 (LWP 2550)):
#0  0xb313e0d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb313e3c8 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb30ff08c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30ff56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xaf8511ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb31226b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 13 (Thread 0xa99ffb40 (LWP 2553)):
#0  0xb4a2dd72 in QThreadData::current () at thread/qthread_unix.cpp:199
#1  0xb4b76067 in postEventSourcePrepare (s=0xa9000da8, timeout=0xa99fef3c) at kernel/qeventdispatcher_glib.cpp:256
#2  0xb30fe872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30fefaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30ff201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4b768e7 in QEventDispatcherGlib::processEvents (this=0xa9000468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4b4250d in QEventLoop::processEvents (this=0xa99ff0c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4b427a9 in QEventLoop::exec (this=0xa99ff0c0, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4a2b94c in QThread::exec (this=0x8a3a700) at thread/qthread.cpp:501
#9  0xb4b1fb5d in QInotifyFileSystemWatcherEngine::run (this=0x8a3a700) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb4a2ede0 in QThreadPrivate::start (arg=0x8a3a700) at thread/qthread_unix.cpp:298
#11 0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 12 (Thread 0xab8ffb40 (LWP 2574)):
#0  0xb76e8424 in __kernel_vsyscall ()
#1  0xb34aa96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb476a3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a2f350 in wait (time=4294967295, this=0x8cfd1f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8cfd038, mutex=0x8cfd034, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb69e6b2c in Digikam::ParkingThread::run (this=0x8cfd028) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4a2ede0 in QThreadPrivate::start (arg=0x8cfd028) at thread/qthread_unix.cpp:298
#7  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 11 (Thread 0x9812cb40 (LWP 3133)):
#0  0xb476a608 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb313e410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb30fec78 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30ff125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30ff201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4b768e7 in QEventDispatcherGlib::processEvents (this=0x9d28d2d8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4b4250d in QEventLoop::processEvents (this=0x9812c0c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4b427a9 in QEventLoop::exec (this=0x9812c0c0, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4a2b94c in QThread::exec (this=0xcdc7228) at thread/qthread.cpp:501
#9  0xb4b1fb5d in QInotifyFileSystemWatcherEngine::run (this=0xcdc7228) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb4a2ede0 in QThreadPrivate::start (arg=0xcdc7228) at thread/qthread_unix.cpp:298
#11 0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 10 (Thread 0x925ffb40 (LWP 3750)):
#0  0xb76e8424 in __kernel_vsyscall ()
#1  0xb34aa96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb476a3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a2f350 in wait (time=4294967295, this=0xb5df308) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xb5df094, mutex=0xb5df090, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xa2fbd75a in KIPIPlugins::LoadRawThumbThread::run (this=0xb500378) at /build/buildd/digikam-2.5.0/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:547
#6  0xb4a2ede0 in QThreadPrivate::start (arg=0xb500378) at thread/qthread_unix.cpp:298
#7  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 9 (Thread 0x99beeb40 (LWP 3823)):
[KCrash Handler]
#7  0xb76e8424 in __kernel_vsyscall ()
#8  0xb46a01ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb46a3835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb4a23616 in qt_message_output (msgType=QtFatalMsg, buf=0xa8e11b80 "Fatal Error: Accessed global static 'TemplateManagerCreator *creator()' after destruction. Defined at /build/buildd/digikam-2.5.0/core/libs/template/templatemanager.cpp:72") at global/qglobal.cpp:2276
#11 0xb4a23a4b in qt_message (msgType=QtFatalMsg, msg=0x842b274 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x99bed7c4 "\033\342D\bj\337C\b\220\342D\bH") at global/qglobal.cpp:2322
#12 0xb4a23b68 in qFatal (msg=0x842b274 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2505
#13 0x082adcb4 in operator-> (this=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/template/templatemanager.cpp:72
#14 Digikam::TemplateManager::defaultManager () at /build/buildd/digikam-2.5.0/core/libs/template/templatemanager.cpp:76
#15 0x0824b7a4 in Digikam::MetadataHub::load (this=0x99bed95c, info=...) at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatahub.cpp:175
#16 0x0824f396 in Digikam::MetadataManagerFileWorker::writeMetadataToFiles (this=0x8e2bc38, infos=...) at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatamanager.cpp:730
#17 0xb4b55c01 in QMetaCallEvent::placeMetaCall (this=0xa8c6ec00, object=0x8e2bc38) at kernel/qobject.cpp:525
#18 0xb4b5ec7b in QObject::event (this=0x8e2bc38, e=0xa8c6ec00) at kernel/qobject.cpp:1195
#19 0xb69e6da2 in Digikam::WorkerObject::event (this=0x8e2bc38, e=0xa8c6ec00) at /build/buildd/digikam-2.5.0/core/libs/threads/workerobject.cpp:160
#20 0xb50b0ed4 in notify_helper (e=0xa8c6ec00, receiver=0x8e2bc38, this=0x883fd10) at kernel/qapplication.cpp:4559
#21 QApplicationPrivate::notify_helper (this=0x883fd10, receiver=0x8e2bc38, e=0xa8c6ec00) at kernel/qapplication.cpp:4531
#22 0xb50b630d in QApplication::notify (this=0xa8c6ec00, receiver=0x8e2bc38, e=0xa8c6ec00) at kernel/qapplication.cpp:4288
#23 0xb5c36401 in KApplication::notify (this=0xbff70c20, receiver=0x8e2bc38, event=0xa8c6ec00) at ../../kdeui/kernel/kapplication.cpp:311
#24 0xb4b4397e in QCoreApplication::notifyInternal (this=0xbff70c20, receiver=0x8e2bc38, event=0xa8c6ec00) at kernel/qcoreapplication.cpp:876
#25 0xb4b47ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ea9ac8) at kernel/qcoreapplication.cpp:1500
#27 0xb4b47e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#28 0xb4b76494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x9fe00a60) at kernel/qeventdispatcher_glib.cpp:279
#30 0xb30fed86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb30ff125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb30ff201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb4b76887 in QEventDispatcherGlib::processEvents (this=0x96fcfb90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0xb4b4250d in QEventLoop::processEvents (this=0x99bee0b8, flags=...) at kernel/qeventloop.cpp:149
#35 0xb4b427a9 in QEventLoop::exec (this=0x99bee0b8, flags=...) at kernel/qeventloop.cpp:204
#36 0xb69e60ce in Digikam::WorkerObjectRunnable::run (this=0x96fa48e8) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:196
#37 0xb4a2139b in QThreadPoolThread::run (this=0xb502ef8) at concurrent/qthreadpool.cpp:107
#38 0xb4a2ede0 in QThreadPrivate::start (arg=0xb502ef8) at thread/qthread_unix.cpp:298
#39 0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#40 0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0x9a911b40 (LWP 3827)):
#0  0xb34a8d5e in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb476a5f4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb313e3d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30fe87c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30fefaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb30ff201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4b768e7 in QEventDispatcherGlib::processEvents (this=0x9f3188f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4b4250d in QEventLoop::processEvents (this=0x9a9110b8, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4b427a9 in QEventLoop::exec (this=0x9a9110b8, flags=...) at kernel/qeventloop.cpp:204
#9  0xb69e60ce in Digikam::WorkerObjectRunnable::run (this=0xdabe6b8) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4a2139b in QThreadPoolThread::run (this=0xb6728c8) at concurrent/qthreadpool.cpp:107
#11 0xb4a2ede0 in QThreadPrivate::start (arg=0xb6728c8) at thread/qthread_unix.cpp:298
#12 0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0x8deaab40 (LWP 3831)):
#0  0xb3621ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3621c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36204d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0x8d6a9b40 (LWP 3832)):
#0  0xb3621ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3621c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36204d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0x8cea8b40 (LWP 3833)):
#0  0xb3621ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3621c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36204d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0x896a1b40 (LWP 3867)):
#0  0xb3621ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3621c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36204d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0x88ea0b40 (LWP 3868)):
#0  0xb3621ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3621c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36204d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0x8869fb40 (LWP 3869)):
#0  0xb3621ba5 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#1  0xb3621c3e in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#2  0xb36204d8 in ?? () from /usr/lib/i386-linux-gnu/libgomp.so.1
#3  0xb34a6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0xb475cace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xaea1c8c0 (LWP 2546)):
#0  0xb76e8424 in __kernel_vsyscall ()
#1  0xb34aa96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb476a3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a2f350 in wait (time=4294967295, this=0x8e2bb48) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8e28a68, mutex=0x8e28a64, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb69e703c in Digikam::WorkerObject::wait (this=0x8e2bab8) at /build/buildd/digikam-2.5.0/core/libs/threads/workerobject.cpp:95
#6  0xb69e7993 in Digikam::WorkerObject::shutDown (this=0x8e2bab8) at /build/buildd/digikam-2.5.0/core/libs/threads/workerobject.cpp:86
#7  0xb69e7a21 in Digikam::WorkerObject::~WorkerObject (this=0x8e2bab8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/threads/workerobject.cpp:75
#8  0x082508f6 in ~MetadataManagerDatabaseWorker (this=0x8e2bab8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/digikam/../../../core/digikam/metadata/metadatamanager_p.h:169
#9  Digikam::MetadataManagerDatabaseWorker::~MetadataManagerDatabaseWorker (this=0x8e2bab8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/digikam/../../../core/digikam/metadata/metadatamanager_p.h:169
#10 0x0824cc8d in Digikam::MetadataManager::MetadataManagerPriv::~MetadataManagerPriv (this=0x8e28aa8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatamanager.cpp:289
#11 0x0824cda0 in Digikam::MetadataManager::MetadataManagerPriv::~MetadataManagerPriv (this=0x8e28aa8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatamanager.cpp:291
#12 0x0824cbe5 in Digikam::MetadataManager::~MetadataManager (this=0x8e2b9e0, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatamanager.cpp:86
#13 0x0824cc57 in ~MetadataManagerCreator (this=0x8e2b9e0, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatamanager.cpp:53
#14 destroy () at /build/buildd/digikam-2.5.0/core/digikam/metadata/metadatamanager.cpp:60
#15 0xb46a4f61 in ?? () from /lib/i386-linux-gnu/libc.so.6
#16 0xb46a4fed in exit () from /lib/i386-linux-gnu/libc.so.6
#17 0xb468b4db in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#18 0x080b8351 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-07-30 15:48:16 UTC
Problem probably fixed in 2.6.0. Please try with last 2.7.0 stable release...

Gilles Caulier
Comment 2 caulier.gilles 2015-06-27 13:45:16 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles caulier
Comment 3 caulier.gilles 2015-08-22 06:35:43 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 4 caulier.gilles 2016-07-10 13:23:16 UTC
This problem is not reproducible with last 5.0.0.
I close this file now. Don't hesitate to re-open it if necessary.
Gilles Caulier