Bug 381586

Summary: Crash after tagging ~5 images
Product: [Applications] digikam Reporter: m*sh <hy>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 5.3.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 5.9.0
Sentry Crash Report:

Description m*sh 2017-06-23 16:18:51 UTC
Application: digikam (5.3.0)

Qt Version: 5.7.1
Frameworks Version: 5.28.0
Operating System: Linux 4.10.15-towo.1-siduction-amd64 x86_64
Distribution: Debian GNU/Linux 9.0 (stretch)

-- Information about the crash:
I was just about to give a few images a new tag when application crashed.
BEFORE that I was reorganizing the tag tree a little bit.
After reorganizing digikam got very slow. I closed digikam.
After a restart several new tags (images already ad these tags) were missing.
I added them back manually and went on tagging

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

Thread 17 (Thread 0x7f3bda7fc700 (LWP 26993)):
#0  0x00007f3cb088b08d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3cb16390ed in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3cb1593128 in QThread::msleep(unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f3cb1692dd1 in QLockFile::tryLock(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cb25821d9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#5  0x00007f3cb256bec0 in KConfig::sync() () from /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#6  0x00007f3cb256c5b5 in KConfig::~KConfig() () from /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#7  0x00007f3cb258b513 in KSharedConfig::~KSharedConfig() () from /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#8  0x00007f3cb258b539 in KSharedConfig::~KSharedConfig() () from /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#9  0x00007f3cb258bc78 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#10 0x00007f3cb1592023 in QThreadStorageData::finish(void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f3cb1592ecc in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f3cb1593db0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 16 (Thread 0x7f3bebfff700 (LWP 22395)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3cb1594c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3cb226c301 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 15 (Thread 0x7f3c14fca700 (LWP 22332)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3cb1594c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3cb226c301 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 14 (Thread 0x7f3c17189700 (LWP 15543)):
#0  0x00007f3ca7e660e9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3ca7e20404 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3ca7e20994 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ca7e20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3cb17b806b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3cb17619ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cb3369fda in ?? () from /usr/lib/digikam/libdigikamcore.so.5.3.0
#7  0x00007f3cb159014f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 13 (Thread 0x7f3bff7fe700 (LWP 13294)):
#0  0x00007f3ca7e1fe7b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3ca7e2091b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3ca7e20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3cb17b806b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cb17619ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3cb158f0f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 12 (Thread 0x7f3bfffff700 (LWP 13292)):
#0  0x00007f3cb08ae55d in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3ca7e64d40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3ca7e204be in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ca7e20994 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3ca7e20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3cb17b806b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cb17619ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3cb158f0f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 11 (Thread 0x7f3c2cc6a700 (LWP 11497)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3ca5699913 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f3ca59c1681 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 10 (Thread 0x7f3c2d46b700 (LWP 11496)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3ca5699913 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f3ca59c1681 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 9 (Thread 0x7f3c2dc6c700 (LWP 11495)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3ca5699913 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f3ca59c1681 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 8 (Thread 0x7f3c2e48c700 (LWP 11494)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3ca56987f1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f3ca59c1681 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7f3c2ecb2700 (LWP 11493)):
#0  0x00007f3cb08ae55d in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3ca7e64d40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3ca7e204be in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ca7e20994 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3ca7e20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3cb17b806b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cb17619ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3cb158f0f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7f3c6f711700 (LWP 11487)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3ca599098b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f3ca59909c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f3c7e487700 (LWP 11486)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3cb1594c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3cb336a502 in ?? () from /usr/lib/digikam/libdigikamcore.so.5.3.0
#3  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f3c7ec88700 (LWP 11476)):
#0  0x00007f3cad9ef15f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f3cb1594c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3cb3fdb10a in Digikam::ScanController::run() () from /usr/lib/digikam/libdigikamgui.so.5.3.0
#3  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f3c7f489700 (LWP 11475)):
#0  0x00007f3cb08b24ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3ca7e209f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3ca7e20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3cb17b806b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3cb17619ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3cb158f0f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3cadc146d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f3cb1593da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f3c8706f700 (LWP 11473)):
#0  0x00007f3cb08bc8e0 in recvmsg () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3ca3dcbcbf in udev_monitor_receive_device () from /lib/x86_64-linux-gnu/libudev.so.1
#2  0x00007f3c8f7ccc6b in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00007f3cad9e9494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f3cb08bb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f3c8707ab40 (LWP 11459)):
[KCrash Handler]
#6  0x00007f3cb0805fcf in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f3cb08073fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f3cb157a561 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f3cb1575a2e in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3cb340e686 in Digikam::ImageZoomSettings::zoomedSize() const () from /usr/lib/digikam/libdigikamcore.so.5.3.0
#11 0x00007f3cb340b0d8 in Digikam::GraphicsDImgItem::sizeHasChanged() () from /usr/lib/digikam/libdigikamcore.so.5.3.0
#12 0x00007f3cb340b175 in Digikam::GraphicsDImgItem::setImage(Digikam::DImg const&) () from /usr/lib/digikam/libdigikamcore.so.5.3.0
#13 0x00007f3cb340888f in Digikam::DImgPreviewItem::slotGotImagePreview(Digikam::LoadingDescription const&, Digikam::DImg const&) () from /usr/lib/digikam/libdigikamcore.so.5.3.0
#14 0x00007f3cb1790499 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f3cb233b522 in QGraphicsObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f3cb2046b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f3cb204e341 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f3cb17639e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f3cb176616d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3cb17b7c43 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f3ca7e207f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f3ca7e20a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f3ca7e20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f3cb17b804f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f3cb17619ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f3cb176a13c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x000055b7c9c25131 in ?? ()
#28 0x00007f3cb07f32b1 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#29 0x000055b7c9c25a3a in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2017-06-23 17:01:51 UTC
It crash somewhere in Qt. This is a non clear.

Please test if you can reproduce the problem with last stable 5.6.0 Linux AppImage bundle available here :

https://www.digikam.org/download/

Gilles Caulier
Comment 2 m*sh 2017-06-24 08:47:37 UTC
It xrashed because there was a JPG file in the album with extension DNG. When Pressing F3 digikam crashes on that.
Comment 3 caulier.gilles 2017-06-24 09:31:06 UTC
And renaming the JPEG file with the JPG extension instead DNG fix the problem ?

Gilles Caulier
Comment 4 caulier.gilles 2017-07-09 18:54:23 UTC
Any feedback here ?

Gilles Caulier
Comment 5 caulier.gilles 2017-11-30 09:30:27 UTC
Please update this entry from bugzilla with current 5.8.0 pre-release bundle to see if problem remain.

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2018-03-05 12:13:25 UTC
No feedback. Closed.