[Digikam-devel] Crash when using CIMG image resizing in Digikam SVN

Gilles Caulier caulier.gilles at gmail.com
Fri Mar 30 08:40:02 BST 2007


Yes, i can reproduce the crash in inpainting, sometimes, but never in
Restoration and Resize tools.

Dirty memory backtrace can be reproduce in my computer too. It relevant of
CImg dysfunctions. Investiguation in progress with David

Gilles

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


More information about the Digikam-devel mailing list