Bug 322828

Summary: digiKam stop to work
Product: [Applications] digikam Reporter: stonemonkey
Component: Database-SimilarityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 3.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description stonemonkey 2013-07-25 20:53:17 UTC
Application: digikam (3.3.0-beta2)
KDE Platform Version: 4.10.95
Qt Version: 4.8.4
Operating System: Linux 3.10.0-5-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Alle "Wartungsarbeiten" von ca. 30000 Bildern durchgeführt. Absturz vermutlich beim Erzeugen der Fingerprints.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f734e860700 (LWP 2368)):
#0  0x00007f736b753ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f73711d9406 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00000000005d224c in ?? ()
#3  0x00007f73711d8f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f736b74ff8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f73703f5e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f734e05f700 (LWP 2369)):
#0  0x00007f73703e7b0d in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f7368d61080 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7368d21ebc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7368d2232b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7368d2249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7371305a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f73712d75ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f73712d78e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f73711d688f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f73712b8d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f73711d8f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f736b74ff8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f73703f5e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f734d85e700 (LWP 2371)):
#0  0x00007f736b753ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f73711d9406 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f737426182a in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#3  0x00007f73711d8f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f736b74ff8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f73703f5e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f733fd97700 (LWP 2372)):
#0  0x00007f736b752075 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f7368d61db1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7368d22488 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7371305a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f73712d75ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f73712d78e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f73711d688f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f73712b8d13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f73711d8f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f736b74ff8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f73703f5e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f732cf36700 (LWP 2389)):
#0  0x00007f73711dab1b in QByteArray::operator=(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007f73717e8b18 in ?? () from /usr/lib/libkdecore.so.5
#2  0x00007f73717e988e in ?? () from /usr/lib/libkdecore.so.5
#3  0x00007f7371801453 in ?? () from /usr/lib/libkdecore.so.5
#4  0x00007f7371801956 in ?? () from /usr/lib/libkdecore.so.5
#5  0x00007f73717f4d91 in KLocale::translateQt(char const*, char const*, char const*) const () from /usr/lib/libkdecore.so.5
#6  0x00007f737177c941 in ?? () from /usr/lib/libkdecore.so.5
#7  0x00007f73712f6eea in QTranslator::translate(char const*, char const*, char const*, int) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f73712d8ddb in QCoreApplication::translate(char const*, char const*, char const*, QCoreApplication::Encoding, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f73712d91bf in QCoreApplication::translate(char const*, char const*, char const*, QCoreApplication::Encoding) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f734ce59752 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
#11 0x00007f734ce59f28 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlite.so
#12 0x00007f73766aab7d in QSqlQuery::exec() () from /usr/lib/x86_64-linux-gnu/libQtSql.so.4
#13 0x00007f737421ae46 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from /usr/lib/digikam/libdigikamcore.so.3
#14 0x00007f737421b10e in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.3
#15 0x00007f737421c1b5 in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.3
#16 0x00007f737421c209 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.3
#17 0x00007f7374228040 in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.3
#18 0x00007f737424c2c8 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/digikam/libdigikamcore.so.3
#19 0x00007f737424e369 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/digikam/libdigikamcore.so.3
#20 0x00007f737424f162 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib/digikam/libdigikamcore.so.3
#21 0x00007f737425d7c7 in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#22 0x00007f7374235ee6 in Digikam::LoadSaveThread::run() () from /usr/lib/digikam/libdigikamcore.so.3
#23 0x00007f737426366e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/digikam/libdigikamcore.so.3
#24 0x00007f73711cc7ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f73711d8f2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f736b74ff8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#27 0x00007f73703f5e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f7376a8ba80 (LWP 2366)):
[KCrash Handler]
#5  0x000000000066ff76 in ?? ()
#6  0x00007f73712f0dce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f7371cc9dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007f7371cd0470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007f73729d39aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0x00007f73712d88bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f73712dbe1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007f7371306073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f7368d220a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f7368d223f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f7368d2249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f7371305a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f7371d6b9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f73712dc2ff in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x0000000000517b07 in ?? ()
#20 0x00007f73712eca58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x0000000000516284 in ?? ()
#22 0x0000000000516784 in ?? ()
#23 0x00007f73712eca58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007f7371760eef in KJob::finished(KJob*) () from /usr/lib/libkdecore.so.5
#25 0x00007f7371761115 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#26 0x00007f737312aa3f in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#27 0x00007f737312bb8e in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#28 0x00007f73712eca58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f73731ca216 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#30 0x00007f73731c7d0e in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#31 0x00007f73731bc976 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#32 0x00007f73712eca58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f73730f8551 in ?? () from /usr/lib/libkio.so.5
#34 0x00007f73712f0dce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007f7371cc9dfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f7371cd0470 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f73729d39aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x00007f73712d88bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007f73712dbe1f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f7371306073 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f7368d220a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f7368d223f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f7368d2249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f7371305a55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007f7371d6b9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007f73712d75ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007f73712d78e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007f73712dce5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x0000000000491f13 in ?? ()
#50 0x00007f737031dea5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#51 0x0000000000494531 in _start ()

Possible duplicates by query: bug 322782, bug 322617, bug 322558, bug 322556, bug 322440.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-07-26 07:53:42 UTC
There is no debug symbol in your backtrace. Install digiKam debug package and run digiKam into GDB to have a better backtrace.

Also, please report in English, not in German.

Gilles Caulier
Comment 2 caulier.gilles 2015-06-25 13:12:15 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

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

Can you reproduce the problem with this release ?
Comment 3 caulier.gilles 2015-08-20 06:48:02 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.

Gilles Caulier
Comment 4 caulier.gilles 2016-07-15 19:00:51 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier