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

            Bug ID: 464745
           Summary: Coredump on face detection or face assignation
    Classification: Applications
           Product: digikam
           Version: 7.9.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Faces-Detection
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

STEPS TO REPRODUCE
1. Start digikam
2. Run face detection "scan collection for faces" OR try to assign an already
detected face to a tag name

OBSERVED RESULT

Digikam will consume up to 100% of one thread for few second and then it will
coredump

EXPECTED RESULT

Not to crash!

SOFTWARE/OS VERSIONS
Archlinux: updated
KDE frameorks: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

coredump (output of coredumpctl gdb):

#0  0x00007f160f4a164c in  () at /usr/lib/libc.so.6
#1  0x00007f160f451938 in raise () at /usr/lib/libc.so.6
#2  0x00007f160f43b53d in abort () at /usr/lib/libc.so.6
#3  0x00007f160f6d30a2 in std::__glibcxx_assert_fail(char const*, int, char
const*, char const*) (file=<optimized out>, line=<optimized out>,
function=<optimized out>, condition=<optimized out>) at
/usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:60
#4  0x00007f160efdc26d in  () at /usr/lib/libopencv_dnn.so.407
#5  0x00007f160c297a0e in  () at /usr/lib/libopencv_core.so.407
#6  0x00007f160c28ff7b in  () at /usr/lib/libopencv_core.so.407
#7  0x00007f160c2a35c7 in  () at /usr/lib/libopencv_core.so.407
#8  0x00007f15fdfd048b in  () at /usr/lib/libtbb.so.12
#9  0x00007f15fdfd2169 in  () at /usr/lib/libtbb.so.12
#10 0x00007f160f49f8fd in  () at /usr/lib/libc.so.6
#11 0x00007f160f521d20 in  () at /usr/lib/libc.so.6

digikam.rawengine: LibRaw: setup internal DNG SDK
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
munmap(0x7f94663b8000, 63705088)        = 0
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
recvmsg(17, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily
unavailable)
recvmsg(17, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=5, events=POLLIN}, {fd=17, events=POLLIN}, {fd=22, events=POLLIN},
{fd=24, events=POLLIN}, {fd=25, events=POLLPRI}, {fd=27, events=POLLIN},
{fd=31, events=POLLIN}, {fd=65, events=POLLIN}, {fd=90, events=POLLIN},
{fd=101, events=POLLIN}, {fd=136, events=POLLIN}, {fd=142, events=POLLIN},
{fd=144, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN},
{fd=148, events=POLLIN}], 16, 0) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\2\0\0\0\0\0\0\0", 16)         = 8
write(134, "\1\0\0\0\0\0\0\0", 8)       = 8
recvmsg(17, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily
unavailable)
recvmsg(17, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=5, events=POLLIN}, {fd=17, events=POLLIN}, {fd=22, events=POLLIN},
{fd=24, events=POLLIN}, {fd=25, events=POLLPRI}, {fd=27, events=POLLIN},
{fd=31, events=POLLIN}, {fd=65, events=POLLIN}, {fd=90, events=POLLIN},
{fd=101, events=POLLIN}, {fd=136, events=POLLIN}, {fd=142, events=POLLIN},
{fd=144, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN},
{fd=148, events=POLLIN}], 16,
530/usr/include/c++/12.2.0/bits/stl_vector.h:1123: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp =
float; _Alloc = std::allocator<float>; reference = float&; size_type = long
unsigned int]: Assertion '__n < this->size()' failed.
/usr/include/c++/12.2.0/bits/stl_vector.h:1123: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp =
float; _Alloc = std::allocator<float>; reference = float&; size_type = long
unsigned int]: Assertion '__n < this->size()' failed.
/usr/include/c++/12.2.0/bits/stl_vector.h:1123: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp =
float; _Alloc = std::allocator<float>; reference = float&; size_type = long
unsigned int]: Assertion '__n < this->size()' failed.
 <unfinished ...>) = ?
+++ killed by SIGABRT (core dumped) +++

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to