Bug 328413 - Crash while tagging faces - no background detection in process
Summary: Crash while tagging faces - no background detection in process
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-04 08:20 UTC by Dean Jagels
Modified: 2019-12-23 06:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jagels 2013-12-04 08:20:02 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Confirmed a face tag in image preview.  Face scanning/detection was not happening at the same time.

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

Thread 9 (Thread 0xab43eb40 (LWP 6533)):
#0  0xb776c424 in __kernel_vsyscall ()
#1  0xb494ba0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xada66392 in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#3  0xb3359d78 in start_thread (arg=0xab43eb40) at pthread_create.c:311
#4  0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 8 (Thread 0xa8791b40 (LWP 6534)):
#0  0xb776c424 in __kernel_vsyscall ()
#1  0xb335d84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb49689bc in __pthread_cond_wait (cond=0x8a23a68, mutex=0x8a23a50) at forward.c:149
#3  0xb4c4aca5 in wait (time=4294967295, this=0x8a23a50) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8a239c4, mutex=0x8a239c0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x08200e22 in Digikam::ScanController::run (this=0x8a0a768) at /home/dpj/Downloads/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#6  0xb4c4a72f in QThreadPrivate::start (arg=0x8a0a768) at thread/qthread_unix.cpp:338
#7  0xb3359d78 in start_thread (arg=0xa8791b40) at pthread_create.c:311
#8  0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 7 (Thread 0xa7dffb40 (LWP 6536)):
#0  0xb335cc34 in __pthread_mutex_unlock_usercnt (mutex=0x88e52f0, decr=1) at pthread_mutex_unlock.c:52
#1  0xb4968c04 in pthread_mutex_unlock (mutex=0x88e52f0) at forward.c:194
#2  0xb2c53bf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2c1012e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2c10a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2c10ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4d898df in QEventDispatcherGlib::processEvents (this=0x8a26ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4d589f3 in QEventLoop::processEvents (this=this@entry=0xa7dff068, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4d58d19 in QEventLoop::exec (this=this@entry=0xa7dff068, flags=...) at kernel/qeventloop.cpp:204
#9  0xb4c47e3d in QThread::exec (this=this@entry=0x8a24870) at thread/qthread.cpp:542
#10 0xb4d38e14 in QInotifyFileSystemWatcherEngine::run (this=0x8a24870) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb4c4a72f in QThreadPrivate::start (arg=0x8a24870) at thread/qthread_unix.cpp:338
#12 0xb3359d78 in start_thread (arg=0xa7dffb40) at pthread_create.c:311
#13 0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 6 (Thread 0xa75feb40 (LWP 6549)):
#0  0xb776c424 in __kernel_vsyscall ()
#1  0xb335d84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb49689bc in __pthread_cond_wait (cond=0x8bf4c58, mutex=0x8bf4c40) at forward.c:149
#3  0xb4c4aca5 in wait (time=4294967295, this=0x8bf4c40) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8c0a080, mutex=0x8c0a07c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb68b411a in Digikam::ParkingThread::run (this=0x8c0a070) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4c4a72f in QThreadPrivate::start (arg=0x8c0a070) at thread/qthread_unix.cpp:338
#7  0xb3359d78 in start_thread (arg=0xa75feb40) at pthread_create.c:311
#8  0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0xa68ffb40 (LWP 6550)):
#0  0xb335cc34 in __pthread_mutex_unlock_usercnt (mutex=0xaab00570, decr=1) at pthread_mutex_unlock.c:52
#1  0xb4968c04 in pthread_mutex_unlock (mutex=0xaab00570) at forward.c:194
#2  0xb2c53bf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2c1012e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2c10a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2c10ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4d898df in QEventDispatcherGlib::processEvents (this=0xaab00480, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4d589f3 in QEventLoop::processEvents (this=this@entry=0xa68ff068, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4d58d19 in QEventLoop::exec (this=this@entry=0xa68ff068, flags=...) at kernel/qeventloop.cpp:204
#9  0xb4c47e3d in QThread::exec (this=this@entry=0x8f5c540) at thread/qthread.cpp:542
#10 0xb4d38e14 in QInotifyFileSystemWatcherEngine::run (this=0x8f5c540) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb4c4a72f in QThreadPrivate::start (arg=0x8f5c540) at thread/qthread_unix.cpp:338
#12 0xb3359d78 in start_thread (arg=0xa68ffb40) at pthread_create.c:311
#13 0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0x999e7b40 (LWP 6571)):
#0  0xb776c424 in __kernel_vsyscall ()
#1  0xb496e4d2 in clock_gettime (clock_id=1, tp=0x999e6e18) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb4ca53ec in do_gettime (frac=0x999e6e10, sec=0x999e6e08) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb4d8afd2 in updateCurrentTime (this=0xaab1496c) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xaab1496c, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb4d8967b in timerSourcePrepareHelper (src=<optimized out>, timeout=0x999e6f0c) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb4d8970d in timerSourcePrepare (source=0xaab14938, timeout=0x999e6f0c) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb2c10143 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb2c10a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb2c10ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb4d898df in QEventDispatcherGlib::processEvents (this=0xaab14010, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb4d589f3 in QEventLoop::processEvents (this=this@entry=0x999e7078, flags=...) at kernel/qeventloop.cpp:149
#13 0xb4d58d19 in QEventLoop::exec (this=0x999e7078, flags=...) at kernel/qeventloop.cpp:204
#14 0xb68b367f in Digikam::WorkerObjectRunnable::run (this=0x9cdd36f8) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#15 0xb4c3d63a in QThreadPoolThread::run (this=0x9e2f8e0) at concurrent/qthreadpool.cpp:107
#16 0xb4c4a72f in QThreadPrivate::start (arg=0x9e2f8e0) at thread/qthread_unix.cpp:338
#17 0xb3359d78 in start_thread (arg=0x999e7b40) at pthread_create.c:311
#18 0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0x959dfb40 (LWP 6724)):
#0  0xb335cc34 in __pthread_mutex_unlock_usercnt (mutex=0xa7e319a8, decr=1) at pthread_mutex_unlock.c:52
#1  0xb4968c04 in pthread_mutex_unlock (mutex=0xa7e319a8) at forward.c:194
#2  0xb2c53bf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2c1012e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2c10a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2c10ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4d898df in QEventDispatcherGlib::processEvents (this=0x9cdd3710, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4d589f3 in QEventLoop::processEvents (this=this@entry=0x959df078, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4d58d19 in QEventLoop::exec (this=0x959df078, flags=...) at kernel/qeventloop.cpp:204
#9  0xb68b367f in Digikam::WorkerObjectRunnable::run (this=0xaab56900) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4c3d63a in QThreadPoolThread::run (this=0x9e2eea0) at concurrent/qthreadpool.cpp:107
#11 0xb4c4a72f in QThreadPrivate::start (arg=0x9e2eea0) at thread/qthread_unix.cpp:338
#12 0xb3359d78 in start_thread (arg=0x959dfb40) at pthread_create.c:311
#13 0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0x941dcb40 (LWP 6828)):
#0  0xae8c46e0 in ?? () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#1  0xa87a4e0d in QSQLiteResult::exec (this=0x8ec24450) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:432
#2  0xb771be60 in QSqlQuery::exec (this=0x941dbd58) at kernel/qsqlquery.cpp:949
#3  0xb6869d4c in Digikam::DatabaseCoreBackend::exec (this=0x8b708d0, query=...) at /home/dpj/Downloads/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#4  0xb686884c in Digikam::DatabaseCoreBackend::execQuery (this=0x8b708d0, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /home/dpj/Downloads/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#5  0xb6868453 in Digikam::DatabaseCoreBackend::execQuery (this=0x8b708d0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /home/dpj/Downloads/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#6  0xb6867eb4 in Digikam::DatabaseCoreBackend::execSql (this=0x8b708d0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=0x0, lastInsertId=0x941dbdac) at /home/dpj/Downloads/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#7  0xb6873694 in Digikam::ThumbnailDB::insertThumbnail (this=0x8aa5618, info=..., lastInsertId=0x941dbe5c) at /home/dpj/Downloads/digikam-3.5.0/core/libs/database/core/thumbnaildb.cpp:260
#8  0xb68942a7 in Digikam::ThumbnailCreator::storeInDatabase (this=0x8e82bf0, info=..., image=...) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:755
#9  0xb6891bc3 in Digikam::ThumbnailCreator::load (this=0x8e82bf0, path=..., rect=..., pregenerate=true) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:267
#10 0xb689162b in Digikam::ThumbnailCreator::pregenerate (this=0x8e82bf0, path=...) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#11 0xb689ef38 in Digikam::ThumbnailLoadingTask::execute (this=0x13860288) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threadimageio/thumbnailtask.cpp:82
#12 0xb687d82b in Digikam::LoadSaveThread::run (this=0x8e774f8) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threadimageio/loadsavethread.cpp:136
#13 0xb68b6188 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x8e78ab0) at /home/dpj/Downloads/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:186
#14 0xb4c3d63a in QThreadPoolThread::run (this=0x9e31580) at concurrent/qthreadpool.cpp:107
#15 0xb4c4a72f in QThreadPrivate::start (arg=0x9e31580) at thread/qthread_unix.cpp:338
#16 0xb3359d78 in start_thread (arg=0x941dcb40) at pthread_create.c:311
#17 0xb495b01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xab47a900 (LWP 6528)):
[KCrash Handler]
#7  QVariant::~QVariant (this=0xffffffff, __in_chrg=<optimized out>) at kernel/qvariant.cpp:1411
#8  0xb6482c66 in QList<QVariant>::node_destruct (this=0x88342fc, n=0x13b6d270) at /usr/include/qt4/QtCore/qlist.h:388
#9  0xb64ef3c0 in QList<QVariant>::erase (this=0x88342fc, afirst=..., alast=...) at /usr/include/qt4/QtCore/qlist.h:811
#10 0xb64ec519 in Digikam::ImageModel::removeRowPairs (this=0x8826db0, toRemove=...) at /home/dpj/Downloads/digikam-3.5.0/core/libs/models/imagemodel.cpp:1025
#11 0xb64ebaba in Digikam::ImageModel::finishIncrementalRefresh (this=0x8826db0) at /home/dpj/Downloads/digikam-3.5.0/core/libs/models/imagemodel.cpp:844
#12 0x0819eb49 in Digikam::ImageAlbumModel::slotResult (this=0x8826db0, job=0x13515ef0) at /home/dpj/Downloads/digikam-3.5.0/core/libs/models/imagealbummodel.cpp:307
#13 0x0819ddc2 in Digikam::ImageAlbumModel::qt_static_metacall (_o=_o@entry=0x8826db0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf8d78a8) at /home/dpj/Downloads/digikam-3.5.0/build/core/digikam/imagealbummodel.moc:94
#14 0xb4d6efc7 in QMetaObject::activate (sender=sender@entry=0x13515ef0, m=m@entry=0xb51744cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbf8d78a8) at kernel/qobject.cpp:3539
#15 0xb4fce9e5 in KJob::result (this=this@entry=0x13515ef0, _t1=_t1@entry=0x13515ef0) at ./kjob.moc:208
#16 0xb4fcea32 in KJob::emitResult (this=this@entry=0x13515ef0) at ../../kdecore/jobs/kjob.cpp:318
#17 0xb6145f31 in KIO::SimpleJob::slotFinished (this=0x13515ef0) at ../../kio/kio/job.cpp:496
#18 0xb6147336 in KIO::TransferJob::slotFinished (this=0x13515ef0) at ../../kio/kio/job.cpp:1099
#19 0xb6147ed0 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbf8d7a98, _c=<optimized out>) at ./jobclasses.moc:388
#20 0xb4d6efc7 in QMetaObject::activate (sender=sender@entry=0x11c8b498, m=m@entry=0xb630c480 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#21 0xb61f1e95 in KIO::SlaveInterface::finished (this=this@entry=0x11c8b498) at ./slaveinterface.moc:185
#22 0xb61f38dd in KIO::SlaveInterface::dispatch (this=0x11c8b498, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#23 0xb61f0c5e in KIO::SlaveInterface::dispatch (this=0x11c8b498) at ../../kio/kio/slaveinterface.cpp:92
#24 0xb61e4280 in KIO::Slave::gotInput (this=this@entry=0x11c8b498) at ../../kio/kio/slave.cpp:344
#25 0xb61e442c in KIO::Slave::qt_static_metacall (_o=_o@entry=0x11c8b498, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8d7ce8) at ./slave.moc:57
#26 0xb4d6efc7 in QMetaObject::activate (sender=sender@entry=0x941bb70, m=m@entry=0xb6309190 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#27 0xb610da75 in KIO::Connection::readyRead (this=0x941bb70) at ./connection.moc:106
#28 0xb610e220 in KIO::ConnectionPrivate::dequeue (this=0x11f32fb0) at ../../kio/kio/connection.cpp:82
#29 0xb4d6b77a in QMetaCallEvent::placeMetaCall (this=0x12de7190, object=0x941bb70) at kernel/qobject.cpp:524
#30 0xb4d7358b in QObject::event (this=0x941bb70, e=0x12de7190) at kernel/qobject.cpp:1194
#31 0xb52b5744 in QApplicationPrivate::notify_helper (this=0x88de078, receiver=0x941bb70, e=0x12de7190) at kernel/qapplication.cpp:4567
#32 0xb52bc223 in QApplication::notify (this=0xbf8d84d8, receiver=receiver@entry=0x941bb70, e=e@entry=0x12de7190) at kernel/qapplication.cpp:4353
#33 0xb5e02ff4 in KApplication::notify (this=0xbf8d84d8, receiver=0x941bb70, event=0x12de7190) at ../../kdeui/kernel/kapplication.cpp:311
#34 0xb4d59eda in QCoreApplication::notifyInternal (this=0xbf8d84d8, receiver=receiver@entry=0x941bb70, event=event@entry=0x12de7190) at kernel/qcoreapplication.cpp:946
#35 0xb4d5d6ad in sendEvent (event=0x12de7190, receiver=0x941bb70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x887bb30) at kernel/qcoreapplication.cpp:1570
#37 0xb4d5dbbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#38 0xb4d89f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=0x88db950) at kernel/qeventdispatcher_glib.cpp:279
#40 0xb2c1083e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb2c10be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb2c10ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb4d898bf in QEventDispatcherGlib::processEvents (this=this@entry=0x885a768, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0xb536a32e in QGuiEventDispatcherGlib::processEvents (this=0x885a768, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb4d589f3 in QEventLoop::processEvents (this=this@entry=0xbf8d82e8, flags=...) at kernel/qeventloop.cpp:149
#46 0xb4d58d19 in QEventLoop::exec (this=this@entry=0xbf8d82e8, flags=...) at kernel/qeventloop.cpp:204
#47 0xb4d5e89e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#48 0xb52b3974 in QApplication::exec () at kernel/qapplication.cpp:3828
#49 0x082f1942 in main (argc=1, argv=0xbf8d8614) at /home/dpj/Downloads/digikam-3.5.0/core/digikam/main/main.cpp:235

The reporter indicates this bug may be a duplicate of or related to bug 262596.

Possible duplicates by query: bug 327699, bug 326750, bug 326585, bug 325526, bug 323964.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-12-04 08:40:27 UTC

*** This bug has been marked as a duplicate of bug 262596 ***
Comment 2 caulier.gilles 2019-12-23 06:21:47 UTC
Problem is fixed with new 7.0.0-beta1 through this long story from this bug

https://bugs.kde.org/show_bug.cgi?id=399923

You can test digiKam 7.0.0-beta1 with bundle available here:

https://download.kde.org/unstable/digikam/

Don't hesitate to give us a fresh feedback about his entry.

Thanks in advance

Gilles Caulier