Bug 323654 - digikam crashed while i was tagging faces
Summary: digikam crashed while i was tagging faces
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 3.3.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-17 19:55 UTC by quamis
Modified: 2019-12-23 06:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
New crash information added by DrKonqi (41.37 KB, text/plain)
2013-08-17 20:04 UTC, quamis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description quamis 2013-08-17 19:55:39 UTC
Application: digikam (3.3.0)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10.6-200.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:

I tagged a few faces, then re-run the face scanner to reconize the same face in other photos. After that, i started tagging faces (the ones suggested by Digikam). It crashed on 2 different ocasions, on different photos, nothing running in the background.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
40	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
[Current thread is 1 (Thread 0x7f4e4e72cac0 (LWP 2699))]

Thread 7 (Thread 0x7f4e41a2b700 (LWP 2701)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000316d47b1e6 in wait (time=18446744073709551615, this=0x239df00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x239de10, mutex=mutex@entry=0x239de08, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d352e in Digikam::ScanController::run (this=0x239dba0) at /usr/src/debug/digikam-3.3.0/core/digikam/database/scancontroller.cpp:725
#4  0x000000316d47ad0f in QThreadPrivate::start (arg=0x239dba0) at thread/qthread_unix.cpp:338
#5  0x0000003164407c53 in start_thread (arg=0x7f4e41a2b700) at pthread_create.c:308
#6  0x00000031640f513d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f4e4122a700 (LWP 2702)):
#0  0x0000003166486f9a in g_mutex_get_impl (mutex=0x7f4e340009a0) at gthread-posix.c:121
#1  0x0000003166487249 in g_mutex_lock (mutex=mutex@entry=0x7f4e340009a0) at gthread-posix.c:210
#2  0x0000003166447667 in g_main_context_prepare (context=context@entry=0x7f4e340009a0, priority=priority@entry=0x7f4e412299a8) at gmain.c:3268
#3  0x0000003166448013 in g_main_context_iterate (context=context@entry=0x7f4e340009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3681
#4  0x00000031664481fc in g_main_context_iteration (context=0x7f4e340009a0, may_block=1) at gmain.c:3762
#5  0x000000316d5a7166 in QEventDispatcherGlib::processEvents (this=0x7f4e340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x000000316d578ecf in QEventLoop::processEvents (this=this@entry=0x7f4e41229ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000316d5791c5 in QEventLoop::exec (this=this@entry=0x7f4e41229ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x000000316d47866f in QThread::exec (this=this@entry=0x23a0150) at thread/qthread.cpp:536
#9  0x000000316d55a733 in QInotifyFileSystemWatcherEngine::run (this=0x23a0150) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x000000316d47ad0f in QThreadPrivate::start (arg=0x23a0150) at thread/qthread_unix.cpp:338
#11 0x0000003164407c53 in start_thread (arg=0x7f4e4122a700) at pthread_create.c:308
#12 0x00000031640f513d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f4e40a29700 (LWP 2704)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000316d47b1e6 in wait (time=18446744073709551615, this=0x251a9a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x233edb0, mutex=mutex@entry=0x233eda8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003199f535ea in Digikam::ParkingThread::run (this=0x233ed90) at /usr/src/debug/digikam-3.3.0/core/libs/threads/threadmanager.cpp:119
#4  0x000000316d47ad0f in QThreadPrivate::start (arg=0x233ed90) at thread/qthread_unix.cpp:338
#5  0x0000003164407c53 in start_thread (arg=0x7f4e40a29700) at pthread_create.c:308
#6  0x00000031640f513d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f4e24c36700 (LWP 2716)):
#0  0x000000316440aa6c in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f4df4000a60) at pthread_mutex_unlock.c:52
#1  __GI___pthread_mutex_unlock (mutex=0x7f4df4000a60) at pthread_mutex_unlock.c:297
#2  0x0000003166487281 in g_mutex_unlock (mutex=mutex@entry=0x7f4df40009a0) at gthread-posix.c:229
#3  0x0000003166447a0b in g_main_context_query (context=context@entry=0x7f4df40009a0, max_priority=2147483647, timeout=timeout@entry=0x7f4e24c3597c, fds=fds@entry=0x7f4df4039110, n_fds=n_fds@entry=1) at gmain.c:3462
#4  0x0000003166448062 in g_main_context_iterate (context=context@entry=0x7f4df40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3683
#5  0x00000031664481fc in g_main_context_iteration (context=0x7f4df40009a0, may_block=1) at gmain.c:3762
#6  0x000000316d5a7166 in QEventDispatcherGlib::processEvents (this=0x7f4df40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x000000316d578ecf in QEventLoop::processEvents (this=this@entry=0x7f4e24c35ab0, flags=...) at kernel/qeventloop.cpp:149
#8  0x000000316d5791c5 in QEventLoop::exec (this=this@entry=0x7f4e24c35ab0, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003199f52c93 in Digikam::WorkerObjectRunnable::run (this=0x7f4dd4025bb0) at /usr/src/debug/digikam-3.3.0/core/libs/threads/threadmanager.cpp:196
#10 0x000000316d46e83e in QThreadPoolThread::run (this=0x3d0dac0) at concurrent/qthreadpool.cpp:107
#11 0x000000316d47ad0f in QThreadPrivate::start (arg=0x3d0dac0) at thread/qthread_unix.cpp:338
#12 0x0000003164407c53 in start_thread (arg=0x7f4e24c36700) at pthread_create.c:308
#13 0x00000031640f513d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f4e2298e700 (LWP 2719)):
#0  __GI___libc_free (mem=0x7f4de403c640) at malloc.c:2896
#1  0x000000316d4c31f8 in QString::free (d=0x7f4de403c640) at tools/qstring.cpp:1235
#2  0x000000316d495fb9 in QHashData::free_helper (this=0x7f4de4025250, node_delete=0x317a01e3f0 <QHash<QString, int>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#3  0x000000317a01c738 in freeData (this=<optimized out>, x=<optimized out>) at ../../src/corelib/tools/qhash.h:570
#4  ~QHash (this=0x7f4de403c438, __in_chrg=<optimized out>) at ../../src/corelib/tools/qhash.h:283
#5  ~QSqlResultPrivate (this=0x7f4de403c3d0, __in_chrg=<optimized out>) at kernel/qsqlresult.cpp:64
#6  QSqlResult::~QSqlResult (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qsqlresult.cpp:266
#7  0x00007f4e40025133 in QSQLiteResult::~QSQLiteResult (this=0x7f4de403bc10, __in_chrg=<optimized out>) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:318
#8  0x00007f4e40025179 in QSQLiteResult::~QSQLiteResult (this=0x7f4de403bc10, __in_chrg=<optimized out>) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:325
#9  0x000000317a01167e in QSqlQuery::~QSqlQuery (this=0x7f4de403c640, __in_chrg=<optimized out>) at kernel/qsqlquery.cpp:245
#10 0x0000003199f0e1ca in Digikam::DatabaseCoreBackend::execSql (this=0x236f220, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x7f4e2298d5d0) at /usr/src/debug/digikam-3.3.0/core/libs/database/core/databasecorebackend.cpp:929
#11 0x0000003199f19fe0 in Digikam::ThumbnailDB::insertThumbnail (this=0x236f080, info=..., lastInsertId=lastInsertId@entry=0x7f4e2298d750) at /usr/src/debug/digikam-3.3.0/core/libs/database/core/thumbnaildb.cpp:260
#12 0x0000003199f3e088 in Digikam::ThumbnailCreator::storeInDatabase (this=this@entry=0x271ced0, info=..., image=...) at /usr/src/debug/digikam-3.3.0/core/libs/threadimageio/thumbnailcreator.cpp:755
#13 0x0000003199f40129 in Digikam::ThumbnailCreator::load (this=0x271ced0, path=..., rect=..., pregenerate=pregenerate@entry=true) at /usr/src/debug/digikam-3.3.0/core/libs/threadimageio/thumbnailcreator.cpp:267
#14 0x0000003199f40a20 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /usr/src/debug/digikam-3.3.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#15 0x0000003199f4f5e0 in Digikam::ThumbnailLoadingTask::execute (this=0xe25a310) at /usr/src/debug/digikam-3.3.0/core/libs/threadimageio/thumbnailtask.cpp:82
#16 0x0000003199f27e86 in Digikam::LoadSaveThread::run (this=0x271cc50) at /usr/src/debug/digikam-3.3.0/core/libs/threadimageio/loadsavethread.cpp:136
#17 0x0000003199f5542e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x2717df0) at /usr/src/debug/digikam-3.3.0/core/libs/threads/dynamicthread.cpp:186
#18 0x000000316d46e83e in QThreadPoolThread::run (this=0x3d0e840) at concurrent/qthreadpool.cpp:107
#19 0x000000316d47ad0f in QThreadPrivate::start (arg=0x3d0e840) at thread/qthread_unix.cpp:338
#20 0x0000003164407c53 in start_thread (arg=0x7f4e2298e700) at pthread_create.c:308
#21 0x00000031640f513d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f4dc9ffb700 (LWP 2735)):
#0  0x0000003166487279 in g_mutex_unlock (mutex=mutex@entry=0x7f4da40009a0) at gthread-posix.c:229
#1  0x0000003166447828 in g_main_context_prepare (context=context@entry=0x7f4da40009a0, priority=priority@entry=0x7f4dc9ffa978) at gmain.c:3393
#2  0x0000003166448013 in g_main_context_iterate (context=context@entry=0x7f4da40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3681
#3  0x00000031664481fc in g_main_context_iteration (context=0x7f4da40009a0, may_block=1) at gmain.c:3762
#4  0x000000316d5a7166 in QEventDispatcherGlib::processEvents (this=0x7f4da40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x000000316d578ecf in QEventLoop::processEvents (this=this@entry=0x7f4dc9ffaab0, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000316d5791c5 in QEventLoop::exec (this=this@entry=0x7f4dc9ffaab0, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003199f52c93 in Digikam::WorkerObjectRunnable::run (this=0x7f4df4040730) at /usr/src/debug/digikam-3.3.0/core/libs/threads/threadmanager.cpp:196
#8  0x000000316d46e83e in QThreadPoolThread::run (this=0x3d130e0) at concurrent/qthreadpool.cpp:107
#9  0x000000316d47ad0f in QThreadPrivate::start (arg=0x3d130e0) at thread/qthread_unix.cpp:338
#10 0x0000003164407c53 in start_thread (arg=0x7f4dc9ffb700) at pthread_create.c:308
#11 0x00000031640f513d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f4e4e72cac0 (LWP 2699)):
[KCrash Handler]
#5  QVariant::~QVariant (this=0x1c050d05fe04f004, __in_chrg=<optimized out>) at kernel/qvariant.cpp:1411
#6  0x000000319c134251 in node_destruct (this=<optimized out>, n=0xdd19270) at /usr/include/QtCore/qlist.h:388
#7  erase (alast=..., afirst=..., this=0x26829e8) at /usr/include/QtCore/qlist.h:803
#8  Digikam::ImageModel::removeRowPairs (this=this@entry=0x2680570, toRemove=...) at /usr/src/debug/digikam-3.3.0/core/libs/models/imagemodel.cpp:1025
#9  0x000000319c135502 in Digikam::ImageModel::finishIncrementalRefresh (this=this@entry=0x2680570) at /usr/src/debug/digikam-3.3.0/core/libs/models/imagemodel.cpp:844
#10 0x00000000005709a5 in Digikam::ImageAlbumModel::slotResult (this=0x2680570, job=<optimized out>) at /usr/src/debug/digikam-3.3.0/core/libs/models/imagealbummodel.cpp:307
#11 0x000000000057180c in Digikam::ImageAlbumModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/digikam-3.3.0/x86_64-redhat-linux-gnu/core/digikam/imagealbummodel.moc:93
#12 0x000000316d58df78 in QMetaObject::activate (sender=sender@entry=0xdf7af00, m=m@entry=0x31702c15c0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffded7acc0) at kernel/qobject.cpp:3547
#13 0x000000316ff31f82 in KJob::result (this=this@entry=0xdf7af00, _t1=_t1@entry=0xdf7af00) at /usr/src/debug/kdelibs-4.10.5/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#14 0x000000316ff31fc0 in KJob::emitResult (this=this@entry=0xdf7af00) at /usr/src/debug/kdelibs-4.10.5/kdecore/jobs/kjob.cpp:318
#15 0x00000031752fdfdf in KIO::SimpleJob::slotFinished (this=this@entry=0xdf7af00) at /usr/src/debug/kdelibs-4.10.5/kio/kio/job.cpp:494
#16 0x00000031752ff12e in KIO::TransferJob::slotFinished (this=0xdf7af00) at /usr/src/debug/kdelibs-4.10.5/kio/kio/job.cpp:1081
#17 0x000000316d58df78 in QMetaObject::activate (sender=0x29a3780, m=m@entry=0x31756a2580 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#18 0x0000003175399d13 in KIO::SlaveInterface::finished (this=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/x86_64-redhat-linux-gnu/kio/slaveinterface.moc:184
#19 0x000000317539c7f6 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.10.5/kio/kio/slaveinterface.cpp:172
#20 0x0000003175399ade in KIO::SlaveInterface::dispatch (this=0x29a3780) at /usr/src/debug/kdelibs-4.10.5/kio/kio/slaveinterface.cpp:88
#21 0x000000317538e746 in KIO::Slave::gotInput (this=0x29a3780) at /usr/src/debug/kdelibs-4.10.5/kio/kio/slave.cpp:344
#22 0x000000316d58df78 in QMetaObject::activate (sender=0x47a49e0, m=m@entry=0x317569baa0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#23 0x00000031752cb550 in KIO::Connection::readyRead (this=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/x86_64-redhat-linux-gnu/kio/connection.moc:105
#24 0x00000031752cbc41 in KIO::ConnectionPrivate::dequeue (this=0xc5fcd30) at /usr/src/debug/kdelibs-4.10.5/kio/kio/connection.cpp:82
#25 0x000000316d59232e in QObject::event (this=0x47a49e0, e=<optimized out>) at kernel/qobject.cpp:1194
#26 0x00000031721c84dc in QApplicationPrivate::notify_helper (this=this@entry=0x21d3440, receiver=receiver@entry=0x47a49e0, e=e@entry=0xdf75e70) at kernel/qapplication.cpp:4562
#27 0x00000031721ceaa0 in QApplication::notify (this=this@entry=0x7fffded7be30, receiver=receiver@entry=0x47a49e0, e=e@entry=0xdf75e70) at kernel/qapplication.cpp:4348
#28 0x00000031740415ba in KApplication::notify (this=0x7fffded7be30, receiver=0x47a49e0, event=0xdf75e70) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#29 0x000000316d57a26d in QCoreApplication::notifyInternal (this=0x7fffded7be30, receiver=receiver@entry=0x47a49e0, event=event@entry=0xdf75e70) at kernel/qcoreapplication.cpp:949
#30 0x000000316d57d1df in sendEvent (event=0xdf75e70, receiver=0x47a49e0) at kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2152470) at kernel/qcoreapplication.cpp:1573
#32 0x000000316d57d683 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#33 0x000000316d5a7883 in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=s@entry=0x21d0240) at kernel/qeventdispatcher_glib.cpp:280
#35 0x0000003166447e06 in g_main_dispatch (context=0x21d0360) at gmain.c:3054
#36 g_main_context_dispatch (context=context@entry=0x21d0360) at gmain.c:3630
#37 0x0000003166448158 in g_main_context_iterate (context=context@entry=0x21d0360, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#38 0x00000031664481fc in g_main_context_iteration (context=0x21d0360, may_block=1) at gmain.c:3762
#39 0x000000316d5a7145 in QEventDispatcherGlib::processEvents (this=0x21539b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#40 0x0000003172264fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x000000316d578ecf in QEventLoop::processEvents (this=this@entry=0x7fffded7b910, flags=...) at kernel/qeventloop.cpp:149
#42 0x000000316d5791c5 in QEventLoop::exec (this=this@entry=0x7fffded7b910, flags=...) at kernel/qeventloop.cpp:204
#43 0x000000316d57e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#44 0x00000031721c6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#45 0x0000000000492183 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-3.3.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 322022, bug 321851, bug 321273, bug 314877, bug 314646.

Reported using DrKonqi
Comment 1 quamis 2013-08-17 20:04:42 UTC
Created attachment 81760 [details]
New crash information added by DrKonqi

digikam (3.3.0) on KDE Platform 4.10.5 using Qt 4.8.5

- What I was doing when the application crashed:
same as before, tagging faces, this time i managed to tag/reject about 10 faces

- Custom settings of the application:
not sure if any of the settings below are related, but here we go:
1: i have the x64 version of the app
2: digikam is set to write tags to the file
3: quad core system here
4: automatic database refresh may have been active, as digikam was just started at this point

-- Backtrace (Reduced):
#6  QVariant::~QVariant (this=0xca8c638cfc8b0000, __in_chrg=<optimized out>) at kernel/qvariant.cpp:1411
#7  0x000000319c134251 in node_destruct (this=<optimized out>, n=0xe7943a8) at /usr/include/QtCore/qlist.h:388
#8  erase (alast=..., afirst=..., this=0x2eafe58) at /usr/include/QtCore/qlist.h:803
#9  Digikam::ImageModel::removeRowPairs (this=this@entry=0x2ead9e0, toRemove=...) at /usr/src/debug/digikam-3.3.0/core/libs/models/imagemodel.cpp:1025
#10 0x000000319c135502 in Digikam::ImageModel::finishIncrementalRefresh (this=this@entry=0x2ead9e0) at /usr/src/debug/digikam-3.3.0/core/libs/models/imagemodel.cpp:844
Comment 2 caulier.gilles 2013-08-17 21:32:29 UTC

*** This bug has been marked as a duplicate of bug 262596 ***
Comment 3 caulier.gilles 2019-12-23 06:22:12 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