Bug 320861 - Crash when adding tag to photo of the face scan result
Summary: Crash when adding tag to photo of the face scan result
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 3.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 13:15 UTC by bartek
Modified: 2019-12-23 06:22 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 bartek 2013-06-07 13:15:17 UTC
Application: digikam (3.2.0)
KDE Platform Version: 4.10.3
Qt Version: 4.8.1
Operating System: Linux 3.5.0-32-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I added some tag name to the face in photo discovered by face scan. Photo is in external drive if that matters. It's the first crash when adding tag.

-- 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 0x7fc8c6ca1a00 (LWP 9225))]

Thread 9 (Thread 0x7fc8a1d8f700 (LWP 9228)):
#0  0x00007fc8c05f4313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc8b91a6036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc8b91a649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8a1d9498b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fc8b91c79e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc8bb9cce9a in start_thread (arg=0x7fc8a1d8f700) at pthread_create.c:308
#6  0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc8a158e700 (LWP 9229)):
#0  0x00007fc8bb9d005d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fc89c010330) at pthread_mutex_unlock.c:290
#2  0x00007fc8b91e15d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8b91a602a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc8b91a649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc8ae99d406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fc8b91c79e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fc8bb9cce9a in start_thread (arg=0x7fc8a158e700) at pthread_create.c:308
#8  0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc88f732700 (LWP 9231)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc8c13d84db in wait (time=18446744073709551615, this=0x11734b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x11733b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005deb40 in ?? ()
#4  0x00007fc8c13d7fcb in QThreadPrivate::start (arg=0x1173150) at thread/qthread_unix.cpp:298
#5  0x00007fc8bb9cce9a in start_thread (arg=0x7fc88f732700) at pthread_create.c:308
#6  0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc88ef31700 (LWP 9232)):
#0  0x00007fc8c05f4313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc8b91a6036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc8b91a6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8c1506426 in QEventDispatcherGlib::processEvents (this=0x7fc8800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc8c14d5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc8c14d5ed7 in QEventLoop::exec (this=0x7fc88ef30b50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc8c13d4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fc8c14b59ff in QInotifyFileSystemWatcherEngine::run (this=0x1175a90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc8c13d7fcb in QThreadPrivate::start (arg=0x1175a90) at thread/qthread_unix.cpp:298
#9  0x00007fc8bb9cce9a in start_thread (arg=0x7fc88ef31700) at pthread_create.c:308
#10 0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc88e730700 (LWP 9243)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc8c13d84db in wait (time=18446744073709551615, this=0x11a5540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1309698, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc8c44e5311 in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#4  0x00007fc8c13d7fcb in QThreadPrivate::start (arg=0x1309680) at thread/qthread_unix.cpp:298
#5  0x00007fc8bb9cce9a in start_thread (arg=0x7fc88e730700) at pthread_create.c:308
#6  0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc870c35700 (LWP 10651)):
#0  _int_free (av=0x7fc890000020, p=0x7fc89224a760, have_lock=0) at malloc.c:3936
#1  0x00007fc8abaa5690 in sqlite3_free () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#2  0x00007fc8abaacabb in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#3  0x00007fc8abaf7dcb in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4  0x00007fc8abaffadf in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5  0x00007fc8abb025a2 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6  0x00007fc8abb067ca in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#7  0x00007fc8abb069c9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007fc8abb06b08 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007fc88dd296ce in QSQLiteResult::prepare (this=0x7fc8900706f0, query=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:330
#10 0x00007fc8c68b73e0 in QSqlResult::savePrepare (this=0x7fc8900706f0, query=...) at kernel/qsqlresult.cpp:600
#11 0x00007fc8c68aa6bb in QSqlQuery::prepare (this=0x7fc870c344a8, query=...) at kernel/qsqlquery.cpp:930
#12 0x00007fc8c44b1132 in Digikam::SqlQuery::prepare(QString const&) () from /usr/lib/digikam/libdigikamcore.so.3
#13 0x00007fc8c449accc in Digikam::DatabaseCoreBackend::prepareQuery(QString const&) () from /usr/lib/digikam/libdigikamcore.so.3
#14 0x00007fc8c449c821 in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.3
#15 0x00007fc8c449cf65 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.3
#16 0x00007fc8c44a8a03 in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.3
#17 0x00007fc8c44ce130 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/digikam/libdigikamcore.so.3
#18 0x00007fc8c44d1521 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/digikam/libdigikamcore.so.3
#19 0x00007fc8c44d24ad in Digikam::ThumbnailCreator::pregenerate(QString const&) const () from /usr/lib/digikam/libdigikamcore.so.3
#20 0x00007fc8c44e0b48 in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#21 0x00007fc8c44b73ce in Digikam::LoadSaveThread::run() () from /usr/lib/digikam/libdigikamcore.so.3
#22 0x00007fc8c44e6c2e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/digikam/libdigikamcore.so.3
#23 0x00007fc8c13cb4f2 in QThreadPoolThread::run (this=0x25bd050) at concurrent/qthreadpool.cpp:107
#24 0x00007fc8c13d7fcb in QThreadPrivate::start (arg=0x25bd050) at thread/qthread_unix.cpp:298
#25 0x00007fc8bb9cce9a in start_thread (arg=0x7fc870c35700) at pthread_create.c:308
#26 0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc87e39c700 (LWP 10652)):
#0  0x00007fff84fff82f in clock_gettime ()
#1  0x00007fc8b7e1415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fc8c142ebb4 in do_gettime (frac=0x7fc87e39b8e8, sec=0x7fc87e39b8e0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc8c1506b8d in QTimerInfoList::updateCurrentTime (this=0x7fc884314550) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fc8c1506ec3 in QTimerInfoList::timerWait (this=0x7fc884314550, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fc8c150597c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fc87e39b9bc) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc8c1505a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc8b91a5846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fc8b91a5f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fc8b91a6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc8c1506426 in QEventDispatcherGlib::processEvents (this=0x7fc8840bc020, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fc8c14d5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fc8c14d5ed7 in QEventLoop::exec (this=0x7fc87e39bb20, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fc8c44e498e in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#15 0x00007fc8c13cb4f2 in QThreadPoolThread::run (this=0x25bad80) at concurrent/qthreadpool.cpp:107
#16 0x00007fc8c13d7fcb in QThreadPrivate::start (arg=0x25bad80) at thread/qthread_unix.cpp:298
#17 0x00007fc8bb9cce9a in start_thread (arg=0x7fc87e39c700) at pthread_create.c:308
#18 0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc87cf0d700 (LWP 10653)):
#0  0x00007fc8c060d900 in pthread_mutex_unlock (mutex=0x7fc8813d9b60) at forward.c:184
#1  0x00007fc8b91e15d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc8b91a583b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc8b91a5f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc8b91a6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc8c1506426 in QEventDispatcherGlib::processEvents (this=0x7fc88126dd70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fc8c14d5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc8c14d5ed7 in QEventLoop::exec (this=0x7fc87cf0cb20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc8c44e498e in ?? () from /usr/lib/digikam/libdigikamcore.so.3
#9  0x00007fc8c13cb4f2 in QThreadPoolThread::run (this=0x2156a70) at concurrent/qthreadpool.cpp:107
#10 0x00007fc8c13d7fcb in QThreadPrivate::start (arg=0x2156a70) at thread/qthread_unix.cpp:298
#11 0x00007fc8bb9cce9a in start_thread (arg=0x7fc87cf0d700) at pthread_create.c:308
#12 0x00007fc8c05ffccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8c6ca1a00 (LWP 9225)):
[KCrash Handler]
#6  deref (this=0x4200000003) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  cleanup (d=0x4200000003) at painting/qbrush.cpp:256
#8  ~QScopedPointer (this=0x5517c60, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#9  QBrush::~QBrush (this=0x5517c60, __in_chrg=<optimized out>) at painting/qbrush.cpp:574
#10 0x00007fc8c1f0a8ed in v_clear<QBrush> (d=0x5517c60) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:144
#11 clear (d=0x5517c60) at kernel/qguivariant.cpp:213
#12 0x00007fc8c3f15558 in Digikam::ImageModel::removeRowPairs(QList<QPair<int, int> > const&) () from /usr/lib/digikam/libdigikamdatabase.so.3
#13 0x00007fc8c3f1755d in Digikam::ImageModel::finishIncrementalRefresh() () from /usr/lib/digikam/libdigikamdatabase.so.3
#14 0x000000000057aa95 in ?? ()
#15 0x00007fc8c14eb281 in QMetaObject::activate (sender=0x6c1c720, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff84ea3f90) at kernel/qobject.cpp:3547
#16 0x00007fc8c1961af2 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0x00007fc8c1961b30 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0x00007fc8c3373964 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0x00007fc8c337b4bd in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0x00007fc8c14eb281 in QMetaObject::activate (sender=0x20e9fb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007fc8c3421d31 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#22 0x00007fc8c341ea65 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#23 0x00007fc8c3411e0e in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#24 0x00007fc8c14eb281 in QMetaObject::activate (sender=0x4b35360, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#25 0x00007fc8c33445f7 in ?? () from /usr/lib/libkio.so.5
#26 0x00007fc8c14f0446 in QObject::event (this=0x4b35360, e=<optimized out>) at kernel/qobject.cpp:1195
#27 0x00007fc8c1ed3894 in notify_helper (e=0x4a708d0, receiver=0x4b35360, this=0xeabec0) at kernel/qapplication.cpp:4559
#28 QApplicationPrivate::notify_helper (this=0xeabec0, receiver=0x4b35360, e=0x4a708d0) at kernel/qapplication.cpp:4531
#29 0x00007fc8c1ed8713 in QApplication::notify (this=0x7fff84ea52f0, receiver=0x4b35360, e=0x4a708d0) at kernel/qapplication.cpp:4420
#30 0x00007fc8c2c0e006 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#31 0x00007fc8c14d6e9c in QCoreApplication::notifyInternal (this=0x7fff84ea52f0, receiver=0x4b35360, event=0x4a708d0) at kernel/qcoreapplication.cpp:876
#32 0x00007fc8c14dac6a in sendEvent (event=0x4a708d0, receiver=0x4b35360) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe3e7a0) at kernel/qcoreapplication.cpp:1500
#34 0x00007fc8c1505f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007fc8b91a5d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc8b91a60a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc8b91a6164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fc8c15063bf in QEventDispatcherGlib::processEvents (this=0xeaa560, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007fc8c1f7bd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fc8c14d5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fc8c14d5ed7 in QEventLoop::exec (this=0x7fff84ea5170, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fc8c14daf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0x0000000000490f93 in ?? ()
#45 0x00007fc8c052d76d in __libc_start_main (main=0x48fe20, argc=5, ubp_av=0x7fff84ea5b38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff84ea5b28) at libc-start.c:226
#46 0x00000000004933f1 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2013-06-07 13:37:50 UTC

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