Bug 277739 - showfoto crash
Summary: showfoto crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Clone (show other bugs)
Version: 2.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 07:58 UTC by monts
Modified: 2017-09-05 05:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.0


Attachments
gdb showfoto dump (5.41 KB, text/plain)
2011-07-17 23:55 UTC, monts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description monts 2011-07-14 07:58:22 UTC
Application: showfoto (2.0.0-rc)
KDE Platform Version: 4.6.95 (4.7 RC2)
Qt Version: 4.8.0
Operating System: Linux 2.6.39.2 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:
A jpeg (screenshot) was selected to apply In-painting filter.
Showfoto crash when using in painting filter.

The crash can be reproduced every time.

-- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fbcfeaeea40 (LWP 2277))]

Thread 3 (Thread 0x7fbcf4e27700 (LWP 2278)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000300ec7a18b in wait (time=18446744073709551615, this=0x8765d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x831258, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbd00b2be37 in Digikam::ParkingThread::run (this=0x831240) at /usr/src/debug/digikam-2.0.0-rc/core/libs/threads/threadmanager.cpp:119
#4  0x000000300ec79c7b in QThreadPrivate::start (arg=0x831240) at thread/qthread_unix.cpp:298
#5  0x0000003000807af1 in start_thread (arg=0x7fbcf4e27700) at pthread_create.c:305
#6  0x00000030004dfb7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fbcef229700 (LWP 2279)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:219
#1  0x000000300ec7a0ef in wait (time=30000, this=0x872700) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x861478, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x000000300ec6d71f in QThreadPoolThread::run (this=0xae5870) at concurrent/qthreadpool.cpp:141
#4  0x000000300ec79c7b in QThreadPrivate::start (arg=0xae5870) at thread/qthread_unix.cpp:298
#5  0x0000003000807af1 in start_thread (arg=0x7fbcef229700) at pthread_create.c:305
#6  0x00000030004dfb7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fbcfeaeea40 (LWP 2277)):
[KCrash Handler]
#6  0x00007fbcef6b8fa1 in DigikamEnhanceImagePlugin::InPaintingTool::putFinalData (this=0xa155f0) at /usr/src/debug/digikam-2.0.0-rc/core/imageplugins/enhance/inpaintingtool.cpp:460
#7  0x00007fbd00c0f227 in Digikam::EditorToolThreaded::slotFilterFinished (this=0xa155f0, success=<optimized out>) at /usr/src/debug/digikam-2.0.0-rc/core/utilities/imageeditor/editor/editortool.cpp:480
#8  0x00007fbd00c0e752 in Digikam::EditorToolThreaded::slotOk (this=0xa155f0) at /usr/src/debug/digikam-2.0.0-rc/core/utilities/imageeditor/editor/editortool.cpp:548
#9  0x00007fbd00c0f581 in Digikam::EditorToolThreaded::qt_metacall (this=0xa155f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1a204840) at /usr/src/debug/digikam-2.0.0-rc/x86_64-redhat-linux-gnu/core/digikam/editortool.moc:195
#10 0x00007fbcef6b8e50 in DigikamEnhanceImagePlugin::InPaintingTool::qt_metacall (this=0xa155f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1a204840) at /usr/src/debug/digikam-2.0.0-rc/x86_64-redhat-linux-gnu/core/imageplugins/enhance/inpaintingtool.moc:74
#11 0x000000300ed88efd in QMetaObject::activate (sender=0x126e650, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3593
#12 0x00007fbd00c10eed in Digikam::EditorToolSettings::qt_metacall (this=0x126e650, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/digikam-2.0.0-rc/x86_64-redhat-linux-gnu/core/digikam/editortoolsettings.moc:85
#13 0x000000300ed88efd in QMetaObject::activate (sender=0x12ed710, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1a204a20) at kernel/qobject.cpp:3593
#14 0x0000003012a3d8c2 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#15 0x000000301278274e in QAbstractButtonPrivate::emitClicked (this=0x12ee890) at widgets/qabstractbutton.cpp:546
#16 0x0000003012783a8b in QAbstractButtonPrivate::click (this=0x12ee890) at widgets/qabstractbutton.cpp:539
#17 0x0000003012783cfc in QAbstractButton::mouseReleaseEvent (this=0x12ed710, e=0x7fff1a2052f0) at widgets/qabstractbutton.cpp:1121
#18 0x000000301241476a in QWidget::event (this=0x12ed710, event=0x7fff1a2052f0) at kernel/qwidget.cpp:8338
#19 0x00000030123c41b4 in notify_helper (e=0x7fff1a2052f0, receiver=0x12ed710, this=0x6a4770) at kernel/qapplication.cpp:4495
#20 QApplicationPrivate::notify_helper (this=0x6a4770, receiver=0x12ed710, e=0x7fff1a2052f0) at kernel/qapplication.cpp:4467
#21 0x00000030123c9913 in QApplication::notify (this=<optimized out>, receiver=0x12ed710, e=0x7fff1a2052f0) at kernel/qapplication.cpp:4038
#22 0x0000003010c4c066 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x000000300ed7508c in QCoreApplication::notifyInternal (this=0x7fff1a206000, receiver=0x12ed710, event=0x7fff1a2052f0) at kernel/qcoreapplication.cpp:833
#24 0x00000030123c5182 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x12ed710, event=0x7fff1a2052f0, alienWidget=0x12ed710, nativeWidget=0x126e650, buttonDown=0x12ed710, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3153
#26 0x0000003012440745 in QETWidget::translateMouseEvent (this=0x126e650, event=<optimized out>) at kernel/qapplication_x11.cpp:4473
#27 0x000000301243f60a in QApplication::x11ProcessEvent (this=0x7fff1a206000, event=0x7fff1a205bb0) at kernel/qapplication_x11.cpp:3599
#28 0x0000003012466d4c in x11EventSourceDispatch (s=0x6abba0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#29 0x0000003003c427ed in g_main_dispatch (context=0x6aa1e0) at gmain.c:2441
#30 g_main_context_dispatch (context=0x6aa1e0) at gmain.c:3014
#31 0x0000003003c42fc8 in g_main_context_iterate (context=0x6aa1e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#32 0x0000003003c4325c in g_main_context_iteration (context=0x6aa1e0, may_block=1) at gmain.c:3155
#33 0x000000300eda3aaf in QEventDispatcherGlib::processEvents (this=0x6550a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x0000003012466a3e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x000000300ed741c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x000000300ed74417 in QEventLoop::exec (this=0x7fff1a205f80, flags=...) at kernel/qeventloop.cpp:204
#37 0x000000300ed78947 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1105
#38 0x0000000000413366 in main (argc=6, argv=0x7fff1a206438) at /usr/src/debug/digikam-2.0.0-rc/core/showfoto/main/main.cpp:89

Reported using DrKonqi
Comment 1 monts 2011-07-17 23:55:23 UTC
Created attachment 61953 [details]
gdb showfoto dump

gdb showfoto dump

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe9d81fa1 in DigikamEnhanceImagePlugin::InPaintingTool::putFinalData (this=0x862340) at /usr/src/debug/digikam-2.0.0-rc/core/imageplugins/enhance/inpaintingtool.cpp:460
460         iface.putOriginalImage(i18n("In-Painting"), filter()->filterAction(), d->originalImage.bits());
Comment 2 caulier.gilles 2011-07-31 14:34:40 UTC

*** This bug has been marked as a duplicate of bug 274199 ***
Comment 3 caulier.gilles 2017-09-05 05:09:51 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