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

Thorsten Schnebeck thorsten.schnebeck at gmx.net
Fri Mar 30 20:42:39 BST 2007


Am Freitag 30 März 2007 schrieb Thorsten Schnebeck:
> Am Freitag 30 März 2007 schrieb Gilles Caulier:
> > Ok,
> >
> > Try again. Checkout all, and important, cleanup all before to recompile
> > digiKam.
> >
> > Gilles
>
> Hmm, I'm on SVN Revision  648163
> Before compliling I made a make distclean. Crash stays:

I updated valgrind to get rid of the a valgrind crash. Now I have a complete 
valgrind report:

digikam: Final inpainting started...
digikam: GreycstorationIface::Initialization...
digikam: GreycstorationIface::Process Computation...
==22176==
==22176== Thread 6:
==22176== Invalid read of size 1
==22176==    at 0x432431C: cimg_library::CImg<float>& 
cimg_library::CImg<float>::blur_anisotropic<unsigned 
char>(cimg_library::CImg<unsigned char> const&, float, float, float, float, 
float, float, float, float, unsigned, bool, float) (CImg.h:14606)
==22176==    by 0x4324E5C: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:155)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x975f220 is 0 bytes inside a block of size 1 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BED: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:174)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 1
==22176==    at 0x4322557: cimg_library::CImg<float>& 
cimg_library::CImg<float>::blur_anisotropic<float>(cimg_library::CImg<float> 
const&, float, float, float, float, unsigned, bool) (CImg.h:14518)
==22176==    by 0x432447E: cimg_library::CImg<float>& 
cimg_library::CImg<float>::blur_anisotropic<unsigned 
char>(cimg_library::CImg<unsigned char> const&, float, float, float, float, 
float, float, float, float, unsigned, bool, float) (CImg.h:14610)
==22176==    by 0x4324E5C: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:155)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x975f220 is 0 bytes inside a block of size 1 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BED: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:174)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Thread 5:
==22176== Invalid read of size 4
==22176==    at 0x430B044: cimg_library::CImg<float>::is_empty() const 
(CImg.h:6840)
==22176==  Address 0x9e8d8fc is 20 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B04B: cimg_library::CImg<float>::is_empty() const 
(CImg.h:6840)
==22176==  Address 0x9e8d8e8 is 0 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B051: cimg_library::CImg<float>::is_empty() const 
(CImg.h:6840)
==22176==  Address 0x9e8d8ec is 4 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B058: cimg_library::CImg<float>::is_empty() const 
(CImg.h:6840)
==22176==  Address 0x9e8d8f0 is 8 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B066: cimg_library::CImg<float>::is_empty() const 
(CImg.h:6840)
==22176==  Address 0x9e8d8f4 is 12 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430A9C4: cimg_library::CImg<float>::dimx() const 
(CImg.h:6755)
==22176==  Address 0x9e8d8e8 is 0 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430A9D4: cimg_library::CImg<float>::dimy() const 
(CImg.h:6763)
==22176==  Address 0x9e8d8ec is 4 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B3B4: cimg_library::CImg<float>::dimz() const 
(CImg.h:6771)
==22176==  Address 0x9e8d8f0 is 8 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B3C4: cimg_library::CImg<float>::dimv() const 
(CImg.h:6779)
==22176==  Address 0x9e8d8f4 is 12 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x4317111: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11287)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x9e8d8e8 is 0 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x4317144: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11288)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x9e8d8ec is 4 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x4317181: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11289)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x9e8d8f0 is 8 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430AC12: cimg_library::CImg<float>::offset(int, int, int, 
int) const (CImg.h:6861)
==22176==  Address 0x9e8d8e8 is 0 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430AC14: cimg_library::CImg<float>::offset(int, int, int, 
int) const (CImg.h:6861)
==22176==  Address 0x9e8d8ec is 4 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430AC2E: cimg_library::CImg<float>::offset(int, int, int, 
int) const (CImg.h:6861)
==22176==  Address 0x9e8d8f0 is 8 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 4
==22176==    at 0x430B1E2: cimg_library::CImg<float>::ptr(unsigned, unsigned, 
unsigned, unsigned) (CImg.h:6884)
==22176==  Address 0x9e8d8fc is 20 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid write of size 1
==22176==    at 0x40233BA: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a1858 is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid write of size 1
==22176==    at 0x40233C2: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a1859 is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid write of size 1
==22176==    at 0x40233CB: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a185a is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid write of size 1
==22176==    at 0x40233D4: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a185b is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid read of size 4
==22176==    at 0x43173AD: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x9e8d8e8 is 0 bytes inside a block of size 1,368 free'd
==22176==    at 0x4020F01: operator delete(void*) (vg_replace_malloc.c:336)
==22176==    by 0x4324BD7: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:173)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== Invalid read of size 1
==22176==    at 0x4324D00: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:145)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = <unknown> pid = 22176
==22176==
==22176== Thread 6:
==22176== Invalid write of size 1
==22176==    at 0x4023336: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a21e7 is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid write of size 1
==22176==    at 0x402333C: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a21e6 is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid write of size 1
==22176==    at 0x4023343: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a21e5 is not stack'd, malloc'd or (recently) free'd
==22176==
==22176== Invalid write of size 1
==22176==    at 0x402334D: memcpy (mc_replace_strmem.c:402)
==22176==    by 0x4317397: 
cimg_library::CImg<float>::draw_image(cimg_library::CImg<float> const&, int, 
int, int, int, float) (CImg.h:11296)
==22176==    by 0x4324ECC: 
cimg_library::CImg<float>::greycstoration_thread(void*) 
(greycstoration.h:157)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==  Address 0x152a21e4 is not stack'd, malloc'd or (recently) free'd
QSocketNotifier: invalid socket 18 and type 'Read', disabling...
QSocketNotifier: invalid socket 14 and type 'Read', disabling...
QSocketNotifier: invalid socket 8 and type 'Read', disabling...
QSocketNotifier: invalid socket 17 and type 'Read', disabling...
QSocketNotifier: invalid socket 12 and type 'Read', disabling...
digikam: Fatal IO error: client killed
==22176==
==22176== ERROR SUMMARY: 4578261 errors from 38 contexts (suppressed: 17 from 
1)
==22176== malloc/free: in use at exit: 127,324,728 bytes in 423,587 blocks.
==22176== malloc/free: 3,053,726 allocs, 2,630,139 frees, 409,343,278 bytes 
allocated.
==22176== For counts of detected errors, rerun with: -v
==22176== searching for pointers to 423,587 not-freed blocks.
==22176== checked 169,749,932 bytes.
==22176==
==22176== Thread 1:
==22176==
==22176== 1 bytes in 1 blocks are definitely lost in loss record 4 of 2,286
==22176==    at 0x4021D75: operator new(unsigned) (vg_replace_malloc.c:221)
==22176==    by 0x4319992: 
cimg_library::CImg<float>::greycstoration_run(cimg_library::CImg<unsigned 
char> const&, float, float, float, float, float, float, float, float, float, 
unsigned, bool, unsigned, unsigned, unsigned) (greycstoration.h:258)
==22176==    by 0x4309685: Digikam::GreycstorationIface::inpainting() 
(greycstorationiface.cpp:366)
==22176==    by 0x4309D36: Digikam::GreycstorationIface::filterImage() 
(greycstorationiface.cpp:219)
==22176==    by 0x42DD695: Digikam::DImgThreadedFilter::startComputation() 
(dimgthreadedfilter.cpp:143)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176==
==22176== 20 bytes in 1 blocks are possibly lost in loss record 244 of 2,286
==22176==    at 0x40215D0: malloc (vg_replace_malloc.c:207)
==22176==    by 0x5D76AAF: (within /usr/lib/libfontconfig.so.1.2.0)
==22176==
==22176==
==22176== 152 bytes in 1 blocks are definitely lost in loss record 1,038 of 
2,286
==22176==    at 0x402090F: calloc (vg_replace_malloc.c:391)
==22176==    by 0x4010898: allocate_dtv (in /lib/ld-2.5.so)
==22176==    by 0x401095B: _dl_allocate_tls (in /lib/ld-2.5.so)
==22176==    by 0x6071CD6: pthread_create@@GLIBC_2.1 
(in /lib/libpthread-2.5.so)
==22176==    by 0x57DBA54: QThread::start(QThread::Priority) 
(in /usr/qt/3/lib/libqt-mt.so.3.3.6)
==22176==    by 0x57DBC05: QThread::start() 
(in /usr/qt/3/lib/libqt-mt.so.3.3.6)
==22176==    by 0x42C2A55: Digikam::ImageHistogram::setup(unsigned char*, 
unsigned, unsigned, bool, QObject*) (imagehistogram.cpp:117)
==22176==
==22176==
==22176== 208 (128 direct, 80 indirect) bytes in 1 blocks are definitely lost 
in loss record 1,079 of 2,286
==22176==    at 0x40215D0: malloc (vg_replace_malloc.c:207)
==22176==    by 0x5D762BB: (within /usr/lib/libfontconfig.so.1.2.0)
==22176==
==22176==
==22176== 216 bytes in 1 blocks are definitely lost in loss record 1,092 of 
2,286
==22176==    at 0x40215D0: malloc (vg_replace_malloc.c:207)
==22176==    by 0x5FDF209: _XimOpenIM (in /usr/lib/libX11.so.6.2.0)
==22176==
==22176==
==22176== 312 (72 direct, 240 indirect) bytes in 2 blocks are definitely lost 
in loss record 1,149 of 2,286
==22176==    at 0x40215D0: malloc (vg_replace_malloc.c:207)
==22176==    by 0x6322799: (within /lib/libc-2.5.so)
==22176==    by 0x6322E85: __nss_database_lookup (in /lib/libc-2.5.so)
==22176==    by 0x6AA9079: ???
==22176==    by 0x6AA9DAA: ???
==22176==    by 0x62E0294: getpwuid_r (in /lib/libc-2.5.so)
==22176==    by 0x62DFC98: getpwuid (in /lib/libc-2.5.so)
==22176==    by 0x578023C: (within /usr/qt/3/lib/libqt-mt.so.3.3.6)
==22176==    by 0x5780B21: (within /usr/qt/3/lib/libqt-mt.so.3.3.6)
==22176==    by 0x5F4BE27: _SmcProcessMessage (in /usr/lib/libSM.so.6.0.0)
==22176==
==22176==
==22176== 104 bytes in 2 blocks are definitely lost in loss record 1,216 of 
2,286
==22176==    at 0x40215D0: malloc (vg_replace_malloc.c:207)
==22176==    by 0x5D53FC3: XftDrawCreate (in /usr/lib/libXft.so.2.1.2)
==22176==
==22176==
==22176== 228 bytes in 1 blocks are possibly lost in loss record 1,353 of 
2,286
==22176==    at 0x4021A05: operator new[](unsigned) (vg_replace_malloc.c:265)
==22176==    by 0x468ED44: QValueVectorPrivate<QRegExp>::growAndCopy(unsigned, 
QRegExp*, QRegExp*) (qvaluevector.h:223)
==22176==
==22176==
==22176== 268 (8 direct, 260 indirect) bytes in 2 blocks are definitely lost 
in loss record 1,396 of 2,286
==22176==    at 0x4021D75: operator new(unsigned) (vg_replace_malloc.c:221)
==22176==    by 0x438BE49: Digikam::ImageIface::getPreviewImage() 
(imageiface.cpp:173)
==22176==
==22176==
==22176== 744 bytes in 5 blocks are possibly lost in loss record 1,852 of 
2,286
==22176==    at 0x402090F: calloc (vg_replace_malloc.c:391)
==22176==    by 0x4010898: allocate_dtv (in /lib/ld-2.5.so)
==22176==    by 0x401095B: _dl_allocate_tls (in /lib/ld-2.5.so)
==22176==    by 0x6071CD6: pthread_create@@GLIBC_2.1 
(in /lib/libpthread-2.5.so)
==22176==    by 0x4475BAD: (within /usr/lib/libsqlite3.so.0.8.6)
==22176==
==22176==
==22176== 1,368 bytes in 1 blocks are definitely lost in loss record 1,955 of 
2,286
==22176==    at 0x4021D75: operator new(unsigned) (vg_replace_malloc.c:221)
==22176==    by 0x4319AE1: 
cimg_library::CImg<float>::greycstoration_run(cimg_library::CImg<unsigned 
char> const&, float, float, float, float, float, float, float, float, float, 
unsigned, bool, unsigned, unsigned, unsigned) (greycstoration.h:255)
==22176==    by 0x4309685: Digikam::GreycstorationIface::inpainting() 
(greycstorationiface.cpp:366)
==22176==    by 0x4309D36: Digikam::GreycstorationIface::filterImage() 
(greycstorationiface.cpp:219)
==22176==    by 0x42DD695: Digikam::DImgThreadedFilter::startComputation() 
(dimgthreadedfilter.cpp:143)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176==
==22176== 29,364 (10,368 direct, 18,996 indirect) bytes in 27 blocks are 
definitely lost in loss record 2,226 of 2,286
==22176==    at 0x40216CB: realloc (vg_replace_malloc.c:420)
==22176==    by 0x5D761D3: (within /usr/lib/libfontconfig.so.1.2.0)
==22176==
==22176==
==22176== 18,238 bytes in 5 blocks are definitely lost in loss record 2,233 of 
2,286
==22176==    at 0x40215D0: malloc (vg_replace_malloc.c:207)
==22176==    by 0x5D90BBA: (within /usr/lib/libfreetype.so.6.3.8)
==22176==
==22176==
==22176== 25,224 bytes in 6 blocks are definitely lost in loss record 2,237 of 
2,286
==22176==    at 0x40216CB: realloc (vg_replace_malloc.c:420)
==22176==    by 0x5D90C42: (within /usr/lib/libfreetype.so.6.3.8)
==22176==
==22176==
==22176== 687,232 bytes in 2 blocks are possibly lost in loss record 2,277 of 
2,286
==22176==    at 0x4021A05: operator new[](unsigned) (vg_replace_malloc.c:265)
==22176==    by 0x42B17D3: Digikam::DImg::allocateData() (dimg.cpp:258)
==22176==
==22176==
==22176== 3,985,344 bytes in 1 blocks are possibly lost in loss record 2,284 
of 2,286
==22176==    at 0x4021A05: operator new[](unsigned) (vg_replace_malloc.c:265)
==22176==    by 0x430F729: 
cimg_library::CImg<float>::CImg(cimg_library::CImg<float> const&) 
(CImg.h:6420)
==22176==    by 0x4319AF1: 
cimg_library::CImg<float>::greycstoration_run(cimg_library::CImg<unsigned 
char> const&, float, float, float, float, float, float, float, float, float, 
unsigned, bool, unsigned, unsigned, unsigned) (greycstoration.h:255)
==22176==    by 0x4309685: Digikam::GreycstorationIface::inpainting() 
(greycstorationiface.cpp:366)
==22176==    by 0x4309D36: Digikam::GreycstorationIface::filterImage() 
(greycstorationiface.cpp:219)
==22176==    by 0x42DD695: Digikam::DImgThreadedFilter::startComputation() 
(dimgthreadedfilter.cpp:143)
==22176==    by 0x60714BA: start_thread (in /lib/libpthread-2.5.so)
==22176==    by 0x631376D: clone (in /lib/libc-2.5.so)
==22176==
==22176== LEAK SUMMARY:
==22176==    definitely lost: 55,879 bytes in 49 blocks.
==22176==    indirectly lost: 19,576 bytes in 976 blocks.
==22176==      possibly lost: 4,673,568 bytes in 10 blocks.
==22176==    still reachable: 122,575,705 bytes in 422,552 blocks.
==22176==         suppressed: 0 bytes in 0 blocks.
==22176== Reachable blocks (those to which a pointer was found) are not shown.

Bye

  Thorsten



More information about the Digikam-devel mailing list