Bug 396584 - ShowFoto crashes when using Red eye function
Summary: ShowFoto crashes when using Red eye function
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-RedEyes (show other bugs)
Version: 5.2.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-07-17 00:10 UTC by Charles Germany
Modified: 2019-07-30 15:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Germany 2018-07-17 00:10:23 UTC
Application: showfoto (5.2.0)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.104-18.44-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed: Every time I want to get rid of red eye from a flash on my jpg's, I go to the Enhance menu and choose  red eye and ShowFoto crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Showfoto (showfoto), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f64a246c9c0 (LWP 32341))]

Thread 25 (Thread 0x7f63b97fa700 (LWP 1527)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 24 (Thread 0x7f63b9ffb700 (LWP 1526)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 23 (Thread 0x7f63ba7fc700 (LWP 1525)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 22 (Thread 0x7f63baffd700 (LWP 1524)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 21 (Thread 0x7f63bb7fe700 (LWP 1523)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 20 (Thread 0x7f63bbfff700 (LWP 1522)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 19 (Thread 0x7f63e8ff9700 (LWP 1521)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7f63e97fa700 (LWP 1520)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64999657bd in  () at /usr/lib64/libopencv_core.so.6.3
#2  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7f63e9ffb700 (LWP 1519)):
#0  0x00007f649db410da in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f649db41181 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f64613f6a37 in  () at /usr/lib64/libnvidia-opencl.so.1
#3  0x00007f64612dedc6 in  () at /usr/lib64/libnvidia-opencl.so.1
#4  0x00007f64613f7ea8 in  () at /usr/lib64/libnvidia-opencl.so.1
#5  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7f63ea7fc700 (LWP 1518)):
#0  0x00007f649db410da in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f649db41181 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f64613f6a37 in  () at /usr/lib64/libnvidia-opencl.so.1
#3  0x00007f64612dedc6 in  () at /usr/lib64/libnvidia-opencl.so.1
#4  0x00007f64613f7ea8 in  () at /usr/lib64/libnvidia-opencl.so.1
#5  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f63ebfff700 (LWP 1517)):
#0  0x00007f649db410da in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f649db41181 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f64613f6a37 in  () at /usr/lib64/libnvidia-opencl.so.1
#3  0x00007f64612dedc6 in  () at /usr/lib64/libnvidia-opencl.so.1
#4  0x00007f64613f7ea8 in  () at /usr/lib64/libnvidia-opencl.so.1
#5  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f63f27fc700 (LWP 1516)):
#0  0x00007f649db410da in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f649db41181 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f64613f6a37 in  () at /usr/lib64/libnvidia-opencl.so.1
#3  0x00007f64612dedc6 in  () at /usr/lib64/libnvidia-opencl.so.1
#4  0x00007f64613f7ea8 in  () at /usr/lib64/libnvidia-opencl.so.1
#5  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f6459449700 (LWP 1515)):
#0  0x00007f649db410da in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f649db41181 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f64613f6a37 in  () at /usr/lib64/libnvidia-opencl.so.1
#3  0x00007f64612dedc6 in  () at /usr/lib64/libnvidia-opencl.so.1
#4  0x00007f64613f7ea8 in  () at /usr/lib64/libnvidia-opencl.so.1
#5  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f63eaffd700 (LWP 339)):
[KCrash Handler]
#6  0x00007f64a17772f9 in std::vector<float, std::allocator<float> >::size() const (this=<optimized out>, this=<optimized out>) at /usr/include/c++/4.8/bits/stl_vector.h:646
#7  0x00007f64a17772f9 in std::vector<float, std::allocator<float> >::vector (__x=..., this=<optimized out>) at /usr/include/c++/4.8/bits/stl_vector.h:312
#8  0x00007f64a17772f9 in Digikam::redeye::ShapePredictor::operator()(cv::Mat const&, cv::Rect_<int> const&) const (rect=..., img=..., this=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/libs/facesengine/shape-predictor/shapepredictor.h:450
#9  0x00007f64a17772f9 in Digikam::RedEyeCorrectionFilter::filterImage() (this=0x1482580) at /usr/src/debug/digikam-5.2.0/core/libs/dimg/filters/redeye/redeyecorrectionfilter.cpp:158
#10 0x00007f64a164c908 in Digikam::DImgThreadedFilter::startFilterDirectly() (this=0x1482580) at /usr/src/debug/digikam-5.2.0/core/libs/dimg/filters/dimgthreadedfilter.cpp:197
#11 0x00007f64a188193e in Digikam::DynamicThread::DynamicThreadPriv::run() (this=0x24a8d10) at /usr/src/debug/digikam-5.2.0/core/libs/threads/dynamicthread.cpp:183
#12 0x00007f649e99681e in QThreadPoolThread::run() (this=0x15b1d80) at thread/qthreadpool.cpp:93
#13 0x00007f649e9999e9 in QThreadPrivate::start(void*) (arg=0x15b1d80) at thread/qthread_unix.cpp:341
#14 0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#15 0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f63fb7fe700 (LWP 312)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64933346e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f63fbfff700 (LWP 311)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64933346e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f6408f5e700 (LWP 310)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64933346e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f640975f700 (LWP 309)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64933346e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f6409f60700 (LWP 308)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64933346e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f640a761700 (LWP 307)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f64933346e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f640af81700 (LWP 306)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f649333370d in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493656341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f644bc99700 (LWP 305)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f6493627873 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f6493627899 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f6458895700 (LWP 304)):
#0  0x00007f649e0773fd in read () at /lib64/libc.so.6
#1  0x00007f649546e670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f649542de49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f649542e2a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f649542e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f649ebac33b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f64540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#6  0x00007f649eb59feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6458894c10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f649e994f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#8  0x00007f649e9999e9 in QThreadPrivate::start(void*) (arg=0x11ee140) at thread/qthread_unix.cpp:341
#9  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6476891700 (LWP 32343)):
#0  0x00007f649e07b37d in poll () at /lib64/libc.so.6
#1  0x00007f649542e314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f649542e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f649ebac33b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f64680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f649eb59feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6476890be0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f649e994f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f649ff91295 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f649e9999e9 in QThreadPrivate::start(void*) (arg=0x7f64a01face0) at thread/qthread_unix.cpp:341
#8  0x00007f649db3a724 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f649e083c1d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f64a246c9c0 (LWP 32341)):
#0  0x00007f649db3f0cf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f649e99a65b in QWaitConditionPrivate::wait(unsigned long) (time=18446744073709551615, this=0xe54e80) at thread/qwaitcondition_unix.cpp:136
#2  0x00007f649e99a65b in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xe54e58, mutex=mutex@entry=0xe54e30, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f649e995555 in QThreadPoolPrivate::waitForDone(int) (this=this@entry=0xe54dc0, msecs=msecs@entry=-1) at thread/qthreadpool.cpp:287
#4  0x00007f649e995d01 in QThreadPool::waitForDone(int) (this=this@entry=0xe54860, msecs=msecs@entry=-1) at thread/qthreadpool.cpp:617
#5  0x00007f649e995d3c in QThreadPool::~QThreadPool() (this=0xe54860, __in_chrg=<optimized out>) at thread/qthreadpool.cpp:423
#6  0x00007f649e995d59 in QThreadPool::~QThreadPool() (this=0xe54860, __in_chrg=<optimized out>) at thread/qthreadpool.cpp:424
#7  0x00007f649eb84ab5 in QObjectPrivate::deleteChildren() (this=this@entry=0xe54980) at kernel/qobject.cpp:1963
#8  0x00007f649eb8dfce in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
#9  0x00007f64a187f909 in Digikam::ThreadManagerCreator::~ThreadManagerCreator (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/libs/threads/threadmanager.cpp:232
#10 0x00007f64a187f909 in Digikam::(anonymous namespace)::Q_QGS_creator::Holder::~Holder() (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/libs/threads/threadmanager.cpp:237
#11 0x00007f649dfd1129 in __run_exit_handlers () at /lib64/libc.so.6
#12 0x00007f649dfd1175 in  () at /lib64/libc.so.6
#13 0x00007f6479d6bddd in  () at /usr/lib64/libQt5XcbQpa.so.5
#14 0x00007f649eb87176 in QObject::event(QEvent*) (this=0x8eef20, e=<optimized out>) at kernel/qobject.cpp:1256
#15 0x00007f649f866e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f649f86b49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f649eb5bfd5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x8eef20, event=event@entry=0x7f647000d680) at kernel/qcoreapplication.cpp:1015
#18 0x00007f649eb5ddba in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7f647000d680, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#19 0x00007f649eb5ddba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x82b660) at kernel/qcoreapplication.cpp:1650
#20 0x00007f649eb5e368 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#21 0x00007f649ebacc93 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x91bb50) at kernel/qeventdispatcher_glib.cpp:270
#22 0x00007f649542e134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f649542e388 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f649542e42c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f649ebac33b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x923860, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#26 0x00007f649eb59feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe1e331a10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007f649eb61ed6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#28 0x0000000000433568 in main(int, char**) (argc=2, argv=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/showfoto/main/main.cpp:113

Reported using DrKonqi
Comment 1 Maik Qualmann 2018-07-17 11:22:34 UTC

*** This bug has been marked as a duplicate of bug 372831 ***
Comment 2 caulier.gilles 2019-07-30 15:47:04 UTC
Fixed with bug #372831