[digikam] [Bug 379470] New: Crash when performing face detection or recognition on large collection
Christian
bugzilla_noreply at kde.org
Wed May 3 10:32:43 BST 2017
https://bugs.kde.org/show_bug.cgi?id=379470
Bug ID: 379470
Summary: Crash when performing face detection or recognition on
large collection
Product: digikam
Version: 5.5.0
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Faces-Management
Assignee: digikam-devel at kde.org
Reporter: gentoo at moin.fi
Target Milestone: ---
When I select the button "Scan collection for faces" (doesn't matter whether I
pick the option "Detect faces" or "Detect and recognize faces"), Digikam
crashes after a while. (Same if I engage this function through the
"Tools/Maintenance..." command.)
It's a large collection and I don't think the crash is related to a particular
image.
Here's a backtrace from gdb:
Program received signal SIGBUS, Bus error.
[Switching to Thread 0x7fff52ffd700 (LWP 6303)]
QMapData<QString, QVariant>::createNode (left=false, parent=0x0, v=..., k=...,
this=0x7fff3c5ed800)
at /usr/include/qt5/QtCore/qmap.h:224
224
(gdb) bt
#0 QMapData<QString, QVariant>::createNode (left=false, parent=0x0, v=...,
k=..., this=0x7fff3c5ed800)
at /usr/include/qt5/QtCore/qmap.h:224
#1 QMapNode<QString, QVariant>::copy (this=0x666f53676e697373,
d=d at entry=0x7fff3c5ed800)
at /usr/include/qt5/QtCore/qmap.h:254
#2 0x00007ffff66f56c1 in QMap<QString, QVariant>::detach_helper
(this=0xb4ddb48)
at /usr/include/qt5/QtCore/qmap.h:993
#3 QMap<QString, QVariant>::detach (this=0xb4ddb48) at
/usr/include/qt5/QtCore/qmap.h:360
#4 QMap<QString, QVariant>::insert (this=0xb4ddb48, akey=..., avalue=...) at
/usr/include/qt5/QtCore/qmap.h:691
#5 0x00007ffff6862fd0 in Digikam::DImg::setAttribute
(this=this at entry=0xb479390, key=..., value=...)
at
/var/tmp/portage/media-gfx/digikam-5.5.0/work/digikam-5.5.0/core/libs/dimg/dimg.cpp:1043
#6 0x00007ffff69034bf in Digikam::LoadSaveThread::exifRotate (image=...,
filePath=...)
at
/var/tmp/portage/media-gfx/digikam-5.5.0/work/digikam-5.5.0/core/libs/threadimageio/loadsavethread.cpp:334
#7 0x00007ffff6915689 in Digikam::PreviewLoadingTask::execute (this=0xb479170)
at
/var/tmp/portage/media-gfx/digikam-5.5.0/work/digikam-5.5.0/core/libs/threadimageio/previewtask.cpp:392
#8 0x00007ffff69031ed in Digikam::LoadSaveThread::run (this=0x3b77e50)
at
/var/tmp/portage/media-gfx/digikam-5.5.0/work/digikam-5.5.0/core/libs/threadimageio/loadsavethread.cpp:133
#9 0x00007ffff693faae in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x3b83d30)
at
/var/tmp/portage/media-gfx/digikam-5.5.0/work/digikam-5.5.0/core/libs/threads/dynamicthread.cpp:183
#10 0x00007ffff49fb7ad in QThreadPoolThread::run (this=0x7fff68013620) at
thread/qthreadpool.cpp:99
#11 0x00007ffff49fe90a in QThreadPrivate::start (arg=0x7fff68013620) at
thread/qthread_unix.cpp:368
#12 0x00007ffff178b5c6 in start_thread (arg=0x7fff52ffd700) at
pthread_create.c:333
#13 0x00007ffff3c598cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) info threads
Id Target Id Frame
3781 Thread 0x7fff53fff700 (LWP 11512) "Thread (pooled)" futex_wait
(val=35000, addr=0x7fff582cc014)
at
/var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libgomp/config/linux/x86/futex.h:45
3724 Thread 0x7fff537fe700 (LWP 11437) "Thread (pooled)" _dl_fixup
(l=0x7ffff7fb9000,
reloc_arg=<optimized out>) at ../elf/dl-runtime.c:83
1872 Thread 0x7fff7bae5700 (LWP 8889) "Thread (pooled)" futex_wait
(val=76832, addr=0x7fff6c03f744)
at
/var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libgomp/config/linux/x86/futex.h:45
1832 Thread 0x7fff7aae3700 (LWP 8841) "Thread (pooled)"
pthread_cond_timedwait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
685 Thread 0x7fff49ffb700 (LWP 7294) "Thread (pooled)" futex_wait
(val=123104, addr=0x7fff740775b4)
at
/var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libgomp/config/linux/x86/futex.h:45
651 Thread 0x7fff79ae1700 (LWP 7238) "Thread (pooled)" 0x00007ffff3c5042d in
poll ()
at ../sysdeps/unix/syscall-template.S:84
585 Thread 0x7fff46ff5700 (LWP 7122) "Thread (pooled)" futex_wait
(val=162920, addr=0x7fff5dee0124)
at
/var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libgomp/config/linux/x86/futex.h:45
577 Thread 0x7fff7b2e4700 (LWP 7114) "Thread (pooled)" 0x00007ffff3c5042d in
poll ()
at ../sysdeps/unix/syscall-template.S:84
195 Thread 0x7fff792e0700 (LWP 6525) "Thread (pooled)"
0x00007fffef2da9f7 in cv::HaarEvaluator::OptFeature::calc
(ptr=0x7fffd0c7b7d8, this=0x7fffd4192370)
at
/var/tmp/portage/media-libs/opencv-3.1.0-r7/work/opencv-3.1.0/modules/objdetect/src/cascadedetect.hpp:403
97 Thread 0x7fff4bfff700 (LWP 6421) "Thread (pooled)" futex_wait
(val=147760, addr=0x7fff54914b74)
at
/var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libgomp/config/linux/x86/futex.h:45
60 Thread 0x7fff7a2e2700 (LWP 6347) "Thread (pooled)" 0x00007fffef2d81e8 in
cv::HaarEvaluator::setWindow (
this=0x7fff6805a590, pt=..., scaleIdx=5)
at
/var/tmp/portage/media-libs/opencv-3.1.0-r7/work/opencv-3.1.0/modules/objdetect/src/cascadedetect.cpp:683
59 Thread 0x7fff51ffb700 (LWP 6346) "Thread (pooled)"
pthread_cond_timedwait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
55 Thread 0x7fff447f0700 (LWP 6342) "Thread (pooled)" futex_wait
(val=128320, addr=0x7fff60014314)
at
/var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libgomp/config/linux/x86/futex.h:45
47 Thread 0x7fff477f6700 (LWP 6334) "Thread (pooled)"
pthread_cond_timedwait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
33 Thread 0x7fff48ff9700 (LWP 6314) "Thread (pooled)" 0x00007fffef2d8324 in
cv::HaarEvaluator::setWindow (
this=0x7fffd0116910, pt=..., scaleIdx=9)
at
/var/tmp/portage/media-libs/opencv-3.1.0-r7/work/opencv-3.1.0/modules/objdetect/src/cascadedetect.cpp:697
25 Thread 0x7fff517fa700 (LWP 6306) "Thread (pooled)"
pthread_cond_timedwait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
* 22 Thread 0x7fff52ffd700 (LWP 6303) "Thread (pooled)" QMapData<QString,
QVariant>::createNode (left=false,
parent=0x0, v=..., k=..., this=0x7fff3c5ed800) at
/usr/include/qt5/QtCore/qmap.h:224
19 Thread 0x7fff78adf700 (LWP 6300) "Thread (pooled)" 0x00007fffef2da9c5 in
cv::HaarEvaluator::OptFeature::calc (ptr=0x7fff5a1a6830, this=0x7fff6011b9c0)
at
/var/tmp/portage/media-libs/opencv-3.1.0-r7/work/opencv-3.1.0/modules/objdetect/src/cascadedetect.hpp:401
12 Thread 0x7fffc1207700 (LWP 6293) "digikam" pthread_cond_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
11 Thread 0x7fffc1a08700 (LWP 6292) "digikam" pthread_cond_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
10 Thread 0x7fffc2209700 (LWP 6291) "Qt bearer threa" 0x00007ffff3c5042d in
poll ()
at ../sysdeps/unix/syscall-template.S:84
9 Thread 0x7fffc8c07700 (LWP 6290) "digikam" pthread_cond_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
8 Thread 0x7fffc9408700 (LWP 6289) "QThread" pthread_cond_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
7 Thread 0x7fffcbfff700 (LWP 6288) "digikam" pthread_cond_timedwait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
4 Thread 0x7fffd8f99700 (LWP 6285) "Digikam::ScanCo" pthread_cond_wait ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7fffda1aa700 (LWP 6284) "QDBusConnection" 0x00007ffff3c5042d in
poll ()
at ../sysdeps/unix/syscall-template.S:84
2 Thread 0x7fffdc2e1700 (LWP 6283) "QXcbEventReader" 0x00007ffff3c5042d in
poll ()
at ../sysdeps/unix/syscall-template.S:84
1 Thread 0x7ffff7e1a8c0 (LWP 6252) "digikam" 0x00007ffff3c5042d in poll ()
at ../sysdeps/unix/syscall-template.S:84
I'm using Gentoo, i.e., it's all self-compiled on amd64. The installed versions
of the relevant programs (any others that are relevant?):
digikam - 5.5.0
qt5 - 5.7.1
opencv - 3.1.0
kernel 4.9.16
Please let me know if you need more information, thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list