Yes, i can reproduce the crash in inpainting, sometimes, but never in Restoration and Resize tools.<br><br>Dirty memory backtrace can be reproduce in my computer too. It relevant of CImg dysfunctions. Investiguation in progress with David
<br><br>Gilles<br><br><div><span class="gmail_quote">2007/3/29, Thorsten Schnebeck <<a href="mailto:thorsten.schnebeck@gmx.net">thorsten.schnebeck@gmx.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Donnerstag 29 März 2007 schrieb Gilles Caulier:<br>> Fixed in svn. I have forget to use a new parameter in greycstoration call.<br><br>Ok, I'm on SVN Revision 647832<br><br>While testing impaining I got (sorry) a new crash
<br><br>digikam: Final inpainting started...<br>[New Thread -1248011376 (LWP 25188)]<br>digikam: GreycstorationIface::Initialization...<br>digikam: GreycstorationIface::Process Computation...<br>[New Thread 1859611536 (LWP 25189)]
<br>[Thread 1859611536 (LWP 25189) exited]<br>[New Thread 1851218832 (LWP 25200)]<br>[Thread 1851218832 (LWP 25200) exited]<br>[New Thread 1842826128 (LWP 25205)]<br>[Thread 1842826128 (LWP 25205) exited]<br>[New Thread 1582676880 (LWP 25208)]
<br>[Thread 1582676880 (LWP 25208) exited]<br>[New Thread 1574284176 (LWP 25211)]<br>[Thread 1574284176 (LWP 25211) exited]<br>[New Thread 1565891472 (LWP 25216)]<br>[Thread 1565891472 (LWP 25216) exited]<br>[New Thread 1557498768 (LWP 25219)]
<br>[Thread 1557498768 (LWP 25219) exited]<br>[New Thread 1549106064 (LWP 25222)]<br>[Thread 1549106064 (LWP 25222) exited]<br>[New Thread 1540713360 (LWP 25227)]<br>[Thread 1540713360 (LWP 25227) exited]<br>[New Thread 1532320656 (LWP 25230)]
<br>[Thread 1532320656 (LWP 25230) exited]<br>[New Thread 1523927952 (LWP 25239)]<br>[Thread 1523927952 (LWP 25239) exited]<br>[New Thread 1515535248 (LWP 25244)]<br>[Thread 1515535248 (LWP 25244) exited]<br>[New Thread 1507142544 (LWP 25255)]
<br>[Thread 1507142544 (LWP 25255) exited]<br>[New Thread 1498749840 (LWP 25260)]<br>[Thread 1498749840 (LWP 25260) exited]<br>[New Thread 1490357136 (LWP 25263)]<br>[Thread 1490357136 (LWP 25263) exited]<br>[New Thread 1481964432 (LWP 25266)]
<br>[Thread 1481964432 (LWP 25266) exited]<br>[New Thread 1473571728 (LWP 25271)]<br>[Thread 1473571728 (LWP 25271) exited]<br>[New Thread 1465179024 (LWP 25274)]<br>[Thread 1465179024 (LWP 25274) exited]<br>[New Thread 1456786320 (LWP 25283)]
<br>[Thread 1456786320 (LWP 25283) exited]<br>[New Thread 1448393616 (LWP 25288)]<br>[Thread 1448393616 (LWP 25288) exited]<br>[New Thread 1440000912 (LWP 25291)]<br>[Thread 1440000912 (LWP 25291) exited]<br>[New Thread 1431608208 (LWP 25296)]
<br>[Thread 1431608208 (LWP 25296) exited]<br>[New Thread 1423215504 (LWP 25299)]<br>[Thread 1423215504 (LWP 25299) exited]<br>[New Thread 1414822800 (LWP 25302)]<br>[Thread 1414822800 (LWP 25302) exited]<br>[New Thread 1406430096 (LWP 25307)]
<br>[Thread 1406430096 (LWP 25307) exited]<br>[New Thread 1398037392 (LWP 25310)]<br>[Thread 1398037392 (LWP 25310) exited]<br>[New Thread 1389644688 (LWP 25319)]<br>[Thread 1389644688 (LWP 25319) exited]<br>[New Thread 1381251984 (LWP 25328)]
<br>[Thread 1381251984 (LWP 25328) exited]<br>[New Thread 1372859280 (LWP 25331)]<br>[Thread 1372859280 (LWP 25331) exited]<br>[New Thread 1364466576 (LWP 25334)]<br>[Thread 1364466576 (LWP 25334) exited]<br>[New Thread 1356073872 (LWP 25339)]
<br>[Thread 1356073872 (LWP 25339) exited]<br>[New Thread 1347681168 (LWP 25342)]<br>[Thread 1347681168 (LWP 25342) exited]<br>[New Thread 1339288464 (LWP 25347)]<br>[Thread 1339288464 (LWP 25347) exited]<br>[New Thread 1330895760 (LWP 25350)]
<br>[Thread 1330895760 (LWP 25350) exited]<br>[New Thread 1322503056 (LWP 25353)]<br>[Thread 1322503056 (LWP 25353) exited]<br>[New Thread 1314110352 (LWP 25364)]<br>[Thread 1314110352 (LWP 25364) exited]<br>[New Thread 1305717648 (LWP 25367)]
<br>[Thread 1305717648 (LWP 25367) exited]<br>[New Thread 1297324944 (LWP 25372)]<br>[Thread 1297324944 (LWP 25372) exited]<br>[New Thread 1288932240 (LWP 25377)]<br>[Thread 1288932240 (LWP 25377) exited]<br>[New Thread 1280539536 (LWP 25380)]
<br>[Thread 1280539536 (LWP 25380) exited]<br>[New Thread 1272146832 (LWP 25385)]<br>[Thread 1272146832 (LWP 25385) exited]<br>[New Thread 1263754128 (LWP 25388)]<br>[Thread 1263754128 (LWP 25388) exited]<br>[New Thread 1255361424 (LWP 25399)]
<br>[New Thread 1246968720 (LWP 25402)]<br>[Thread 1255361424 (LWP 25399) exited]<br><br>Program received signal SIGSEGV, Segmentation fault.<br>[Switching to Thread 1246968720 (LWP 25402)]<br>0xb7e10531 in cimg_library::CImg<unsigned char>::greycstoration_thread
<br>(arg=0x8e3a460) at greycstoration.h:145<br>145               for (unsigned int x=0; x<source.width && !*(p.stop_request);<br>x+=p.tile)<br><br>(gdb) bt<br>#0  0xb7e10531 in cimg_library::CImg<unsigned char>::greycstoration_thread
<br>(arg=0x8e3a460) at greycstoration.h:145<br>#1  0xb5eae4bb in start_thread () from /lib/libpthread.so.0<br>#2  0xb5c6b76e in clone () from /lib/libc.so.6<br><br>(gdb) info threads<br>* 215 Thread 1246968720 (LWP 25402)  0xb7e10531 in cimg_library::CImg<unsigned
<br>char>::greycstoration_thread (arg=0x8e3a460)<br>    at greycstoration.h:145<br>  214 Thread 1255361424 (LWP 25399) (Exiting)  0xb5eadcc1 in<br>__nptl_death_event () from /lib/libpthread.so.0<br>  171 Thread -1248011376 (LWP 25188)  0xb7f16410 in __kernel_vsyscall ()
<br>  4 Thread -1256404080 (LWP 24917)  0xb7f16410 in __kernel_vsyscall ()<br>  1 Thread -1246112080 (LWP 24896)  0xb7f16410 in __kernel_vsyscall ()<br><br><br>(gdb) thread 214<br>[Switching to thread 214 (Thread 1255361424 (LWP 25399))]#0  0xb5eadcc1 in
<br>__nptl_death_event () from /lib/libpthread.so.0<br>(gdb) bt<br>#0  0xb5eadcc1 in __nptl_death_event () from /lib/libpthread.so.0<br>#1  0xb5eae646 in start_thread () from /lib/libpthread.so.0<br>#2  0xb5c6b76e in clone () from /lib/libc.so.6
<br><br><br>(gdb) thread 171<br>[Switching to thread 171 (Thread -1248011376 (LWP 25188))]#0  0xb7f16410 in<br>__kernel_vsyscall ()<br>(gdb) bt<br>#0  0xb7f16410 in __kernel_vsyscall ()<br>#1  0xb5eb2b5c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
<br>from /lib/libpthread.so.0<br>#2  0xb64874ca in ?? () from /usr/qt/3/lib/libqt-mt.so.3<br>#3  0xb59cc134 in ?? ()<br>#4  0xb59cc164 in ?? ()<br>#5  0xb59cc1a0 in ?? ()<br>#6  0xb67871b4 in QMutex::unlock () from /usr/qt/3/lib/libqt-
mt.so.3<br>#7  0xb6487567 in QThread::usleep () from /usr/qt/3/lib/libqt-mt.so.3<br>#8  0xb7de90b4 in Digikam::GreycstorationIface::iterationLoop<br>(this=0xb59cc164, iter=43) at greycstorationiface.cpp:549<br>#9  0xb7de9de2 in Digikam::GreycstorationIface::inpainting (this=0x8dfe840) at
<br>greycstorationiface.cpp:421<br>#10 0xb7dea4af in Digikam::GreycstorationIface::filterImage (this=0x8dfe840)<br>at greycstorationiface.cpp:227<br>#11 0xb7dbd966 in Digikam::DImgThreadedFilter::startComputation<br>(this=0x8dfe840) at 
dimgthreadedfilter.cpp:143<br>#12 0xb7db69bf in Digikam::DImgThreadedFilter::run (this=0x8dfe840)<br>at ../../../digikam/libs/dimg/filters/dimgthreadedfilter.h:84<br>#13 0xb64878e3 in QThreadInstance::start () from /usr/qt/3/lib/libqt-
mt.so.3<br>#14 0xb5eae4bb in start_thread () from /lib/libpthread.so.0<br>#15 0xb5c6b76e in clone () from /lib/libc.so.6<br><br><br>(gdb) thread 4<br>[Switching to thread 4 (Thread -1256404080 (LWP 24917))]#0  0xb7f16410 in
<br>__kernel_vsyscall ()<br>(gdb) bt<br>#0  0xb7f16410 in __kernel_vsyscall ()<br>#1  0xb5eb2b5c in pthread_cond_timedwait@@GLIBC_2.3.2 ()<br>from /lib/libpthread.so.0<br>#2  0xb67882b9 in QWaitCondition::wait () from /usr/qt/3/lib/libqt-
mt.so.3<br>#3  0xb7de193c in Digikam::LoadSaveThread::run (this=0x8ac0050) at<br>loadsavethread.cpp:115<br>#4  0xb64878e3 in QThreadInstance::start () from /usr/qt/3/lib/libqt-mt.so.3<br>#5  0xb5eae4bb in start_thread () from /lib/libpthread.so.0
<br>#6  0xb5c6b76e in clone () from /lib/libc.so.6<br><br><br>(gdb) thread 1<br>[Switching to thread 1 (Thread -1246112080 (LWP 24896))]#0  0xb7f16410 in<br>__kernel_vsyscall ()<br>(gdb) bt<br>#0  0xb7f16410 in __kernel_vsyscall ()
<br>#1  0xb5c650e1 in select () from /lib/libc.so.6<br>#2  0xb643e618 in QEventLoop::processEvents ()<br>from /usr/qt/3/lib/libqt-mt.so.3<br>#3  0xb64a54a1 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3<br>#4  0xb648e36f in QApplication::enter_loop () from /usr/qt/3/lib/libqt-
mt.so.3<br>#5  0xb6672b16 in QDialog::exec () from /usr/qt/3/lib/libqt-mt.so.3<br>#6  0xb3873b78 in<br>DigikamInPaintingImagesPlugin::ImageEffect_InPainting::inPainting<br>(parent=0x8c5d2c8) at imageeffect_inpainting.cpp:120
<br>#7  0xb386fc13 in ImagePlugin_InPainting::slotInPainting (this=0x8b864f8) at<br>imageplugin_inpainting.cpp:66<br>#8  0xb387032b in ImagePlugin_InPainting::qt_invoke (this=0x8b864f8, _id=2,<br>_o=0xbfa85438) at imageplugin_inpainting.moc:82
<br>#9  0xb64edb49 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3<br>#10 0xb64ee79d in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3<br>#11 0xb6d38f8c in KAction::activated (this=0x8b8ffe0) at 
kaction.moc:176<br>#12 0xb6d397a1 in KAction::slotActivated (this=0xbfa85438) at kaction.cpp:1102<br>#13 0xb6d399eb in KAction::slotPopupActivated (this=0x8b8ffe0) at<br>kaction.cpp:1137<br>#14 0xb6d39d1c in KAction::qt_invoke (this=0x8b8ffe0, _id=16, _o=0xbfa85574)
<br>at kaction.moc:219<br>#15 0xb64edb49 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3<br>#16 0xb682672e in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3<br>#17 0xb6509b05 in QSignal::activate () from /usr/qt/3/lib/libqt-
mt.so.3<br>#18 0xb65f2ec9 in QPopupMenu::mouseReleaseEvent ()<br>from /usr/qt/3/lib/libqt-mt.so.3<br>#19 0xb6d280a0 in KPopupMenu::mouseReleaseEvent (this=0x8da6110, e=0xbfa8597c)<br>at kpopupmenu.cpp:508<br>#20 0xb65268be in QWidget::event () from /usr/qt/3/lib/libqt-
mt.so.3<br>#21 0xb648e977 in QApplication::internalNotify ()<br>from /usr/qt/3/lib/libqt-mt.so.3<br>#22 0xb648f748 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3<br>#23 0xb6aa286b in KApplication::notify (this=0xbfa85e10, receiver=0x8da6110,
<br>event=0xbfa8597c) at kapplication.cpp:550<br>#24 0xb642f996 in QETWidget::translateMouseEvent ()<br>from /usr/qt/3/lib/libqt-mt.so.3<br>---Type <return> to continue, or q <return> to quit---<br>#25 0xb642e940 in QApplication::x11ProcessEvent ()
<br>from /usr/qt/3/lib/libqt-mt.so.3<br>#26 0xb643e831 in QEventLoop::processEvents ()<br>from /usr/qt/3/lib/libqt-mt.so.3<br>#27 0xb64a54a1 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3<br>#28 0xb64a5326 in QEventLoop::exec () from /usr/qt/3/lib/libqt-
mt.so.3<br>#29 0xb648e3ff in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3<br>#30 0x0804b1d0 in main (argc=-1079484252, argv=0xb7f254a9) at main.cpp:321<br><br>Bye<br><br>  Thorsten<br>_______________________________________________
<br>Digikam-devel mailing list<br><a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</blockquote></div><br>