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

            Bug ID: 468049
           Summary: Digikam crash when image quality sorter used -
                    terminate called after throwing an instance of
                    'cv::Exception'
    Classification: Applications
           Product: digikam
           Version: 8.0.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: pschonm...@gmail.com
  Target Milestone: ---

SUMMARY
***
When i select 82 images and try Image Quality sort, digikam crashes
***


STEPS TO REPRODUCE
1. Select folder from left menu
2. Select all photos
3. Right click ImageQualitySorter
4. Setup with deep learning
5. Wait some time - CRASH

OBSERVED RESULT
Im digikam console

Qt Concurrent has caught an exception thrown from a worker thread.
This is not supported, exceptions thrown in worker threads must be
caught before control returns to Qt Concurrent.
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.4) ./modules/core/src/matrix.cpp:768: error:
(-215:Assertion failed) 0 <= _rowRange.start && _rowRange.start <=
_rowRange.end && _rowRange.end <= m.rows in function 'Mat'

in GDB

#0  0x00007ffff2f2edb0 in cv::Mat::Mat(cv::Mat const&) () at
/lib/x86_64-linux-gnu/libopencv_core.so.4.5d
#1  0x00007ffff2f2f713 in cv::Mat::reshape(int, int) const () at
/lib/x86_64-linux-gnu/libopencv_core.so.4.5d
#2  0x00007ffff3976903 in  () at /lib/x86_64-linux-gnu/libopencv_dnn.so.4.5d
#3  0x00007ffff3977384 in  () at /lib/x86_64-linux-gnu/libopencv_dnn.so.4.5d
#4  0x00007ffff393883a in  () at /lib/x86_64-linux-gnu/libopencv_dnn.so.4.5d
#5  0x00007ffff3933742 in  () at /lib/x86_64-linux-gnu/libopencv_dnn.so.4.5d
#6  0x00007ffff3936fa3 in
cv::dnn::dnn4_v20211004::Net::forward(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () at
/lib/x86_64-linux-gnu/libopencv_dnn.so.4.5d
#7  0x00007ffff6110c1c in Digikam::AestheticDetector::detect(cv::Mat const&)
const (this=0x7ffe76ed8080, image=...) at
/home/pschonmann/temp/digikam/core/libs/imgqsort/detectors/aesthetic_detector.cpp:48
#8  0x00007ffff610c514 in Digikam::ImageQualityParser::startAnalyse()
(this=0x7ffe7400cb40) at
/home/pschonmann/temp/digikam/core/libs/imgqsort/imagequalityparser.cpp:92
#9  0x00007ffff78c9d15 in Digikam::ImageQualityTask::run()
(this=0x555561ba5ae0) at
/home/pschonmann/temp/digikam/core/utilities/maintenance/imagequalitytask.cpp:118
#10 0x00007ffff46cff92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff46ccca1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff3e94b43 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:442
#13 0x00007ffff3f26a00 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81



EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to