Bug 281892

Summary: in-painting crash
Product: [Applications] digikam Reporter: brunetto.ziosi
Component: Plugin-Editor-CloneAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.8.0
Sentry Crash Report:

Description brunetto.ziosi 2011-09-12 18:18:47 UTC
Application: digikam (2.0.0-rc)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
I was using the in-painting digikam tool on a dust spot and it carsh digikam

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f680c7cda40 (LWP 5366))]

Thread 4 (Thread 0x7f67e6a73700 (LWP 5367)):
#0  0x00007f6803924bac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f6804c4882b in wait (this=<value optimized out>, mutex=0xf88358, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xf88358, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005f243b in _start ()

Thread 3 (Thread 0x7f67e6272700 (LWP 5368)):
#0  0x00007f6803c0ff03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f67fdc5d104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f67fdc5d639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6804d5a446 in QEventDispatcherGlib::processEvents (this=0xfde800, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f6804d2e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6804d2eabc in QEventLoop::exec (this=0x7f67e6271a50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f6804c45924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f6804d10c2f in QInotifyFileSystemWatcherEngine::run (this=0xf90020) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6804c48175 in QThreadPrivate::start (arg=0xf90020) at thread/qthread_unix.cpp:320
#9  0x00007f67f9c84853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f680391fd8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f6803c1d04d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f67e5a71700 (LWP 5370)):
#0  0x00007f6803924bac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f6804c4882b in wait (this=<value optimized out>, mutex=0x13a0738, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13a0738, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f68092c9a72 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x00007f6804c48175 in QThreadPrivate::start (arg=0x13a0720) at thread/qthread_unix.cpp:320
#5  0x00007f67f9c84853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f680391fd8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f6803c1d04d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f680c7cda40 (LWP 5366)):
[KCrash Handler]
#6  0x00007f67cbc7ad57 in ?? () from /usr/lib/kde4/digikamimageplugin_enhance.so
#7  0x00007f68093cf8a7 in Digikam::EditorToolThreaded::slotFilterFinished(bool) () from /usr/lib/libdigikamcore.so.2
#8  0x00007f68093cf6cd in Digikam::EditorToolThreaded::slotOk() () from /usr/lib/libdigikamcore.so.2
#9  0x00007f68093cfb61 in Digikam::EditorToolThreaded::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdigikamcore.so.2
#10 0x00007f67cbc7a260 in ?? () from /usr/lib/kde4/digikamimageplugin_enhance.so
#11 0x00007f6804d445f8 in QMetaObject::activate (sender=0x3e614b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#12 0x00007f68093d1fdc in Digikam::EditorToolSettings::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdigikamcore.so.2
#13 0x00007f6804d445f8 in QMetaObject::activate (sender=0x340f360, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe488ab40) at kernel/qobject.cpp:3287
#14 0x00007f6805fbe942 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#15 0x00007f6805d07f2e in QAbstractButtonPrivate::emitClicked (this=0x12a6160) at widgets/qabstractbutton.cpp:546
#16 0x00007f6805d094ab in QAbstractButtonPrivate::click (this=0x12a6160) at widgets/qabstractbutton.cpp:539
#17 0x00007f6805d0971c in QAbstractButton::mouseReleaseEvent (this=0x340f360, e=0x7fffe488b480) at widgets/qabstractbutton.cpp:1121
#18 0x00007f6805997cc8 in QWidget::event (this=0x340f360, event=0x7fffe488b480) at kernel/qwidget.cpp:8259
#19 0x00007f68059469f4 in QApplicationPrivate::notify_helper (this=0xf268c0, receiver=0x340f360, e=0x7fffe488b480) at kernel/qapplication.cpp:4462
#20 0x00007f680594bdc3 in QApplication::notify (this=<value optimized out>, receiver=0x340f360, e=0x7fffe488b480) at kernel/qapplication.cpp:4023
#21 0x00007f6806669866 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007f6804d2f49c in QCoreApplication::notifyInternal (this=0x7fffe488c260, receiver=0x340f360, event=0x7fffe488b480) at kernel/qcoreapplication.cpp:731
#23 0x00007f6805947a1d in sendEvent (receiver=0x340f360, event=0x7fffe488b480, alienWidget=0x340f360, nativeWidget=0x3e614b0, buttonDown=0x7f680642a218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x340f360, event=0x7fffe488b480, alienWidget=0x340f360, nativeWidget=0x3e614b0, buttonDown=0x7f680642a218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#25 0x00007f68059c9190 in QETWidget::translateMouseEvent (this=0x3e614b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#26 0x00007f68059c7ab7 in QApplication::x11ProcessEvent (this=0x7fffe488c260, event=0x7fffe488bdd0) at kernel/qapplication_x11.cpp:3680
#27 0x00007f68059f0842 in x11EventSourceDispatch (s=0xf2af50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f67fdc5cbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f67fdc5d3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f67fdc5d639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6804d5a3ef in QEventDispatcherGlib::processEvents (this=0xea0550, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007f68059f04de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f6804d2e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f6804d2eabc in QEventLoop::exec (this=0x7fffe488c0d0, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f6804d32ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x00000000006df085 in ?? ()
#37 0x00007f6803b55eff in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#38 0x0000000000485eb9 in _start ()

Possible duplicates by query: bug 278941, bug 277739, bug 276962, bug 274199.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-12 20:17:18 UTC

*** This bug has been marked as a duplicate of bug 274199 ***
Comment 2 caulier.gilles 2017-09-05 05:09:34 UTC
With 5.8.0, in-painting image editor tool was been replaced by a Clone tool.

More details here : 

https://community.kde.org/GSoC/2017/StatusReports/shazaismailkaoud

Gilles Caulier