==7241== Memcheck, a memory error detector. ==7241== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==7241== Using LibVEX rev 1575, a library for dynamic binary translation. ==7241== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==7241== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==7241== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==7241== --7241-- Command line --7241-- /home/mapserver/apache-2.2.4/cgi-bin/mapserv-5.0.0-CustomBuild-1.1.cgi --7241-- Startup, with flags: --7241-- -v --7241-- Contents of /proc/version: --7241-- Linux version 2.6.9-42.0.10.ELsmp (mockbuild@builder7.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Tue Feb 27 10:11:19 EST 2007 --7241-- Arch and subarch: X86, x86-sse2 --7241-- Valgrind library directory: /usr/lib/valgrind --7241-- Reading syms from /lib/ld-2.3.4.so (0x8EB000) --7241-- Reading syms from /env/home/mapserver/var/www/cgi-bin/mapserv-5.0.0-CustomBuild-1.1.cgi (0x8048000) --7241-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0xB0000000) --7241-- object doesn't have a dynamic symbol table --7241-- Reading suppressions file: /usr/lib/valgrind/default.supp --7241-- REDIR: 0x8FD450 (index) redirected to 0xB001BC86 (vgPlain_x86_linux_REDIR_FOR_index) --7241-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4000000) --7241-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000) --7241-- REDIR: 0x8FD5F0 (strlen) redirected to 0x4005E90 (strlen) --7241-- Reading syms from /usr/lib/libgd.so.2.0.0 (0xAF1000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libfreetype.so.6.3.7 (0x3D6000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libpng12.so.0.1.2.7 (0x22A000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libz.so.1.2.1.2 (0xA5E000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /env/home/mapserver/lib/libpdf.so.6.0.2 (0x400F000) --7241-- Reading syms from /env/home/mapserver/lib/libproj.so.0.5.2 (0x414E000) --7241-- Reading syms from /env/home/mapserver/lib/arcsde/sdeexe92/lib/libsde.so (0x4183000) --7241-- Reading syms from /env/home/mapserver/lib/arcsde/sdeexe92/lib/libpe.so (0x44B8000) --7241-- Reading syms from /env/home/mapserver/lib/arcsde/sdeexe92/lib/libsg.so (0x4628000) --7241-- Reading syms from /lib/tls/libpthread-2.3.4.so (0xA80000) --7241-- Reading syms from /lib/libdl-2.3.4.so (0xA33000) --7241-- Reading syms from /env/home/mapserver/lib/libgdal.so.1.11.1 (0x4678000) --7241-- Reading syms from /env/home/mapserver/lib/oracle/instantclient_10_2/libclntsh.so.10.1 (0x4A67000) --7241-- Reading syms from /env/home/mapserver/lib/oracle/instantclient_10_2/libnnz10.so (0x5828000) --7241-- Reading syms from /lib/tls/librt-2.3.4.so (0xA94000) --7241-- Reading syms from /usr/lib/libcurl.so.3.0.0 (0x5A2D000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/libssl.so.0.9.7a (0xC2A000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/libcrypto.so.0.9.7a (0xC60000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libgssapi_krb5.so.2.2 (0xC14000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libkrb5.so.3.2 (0xB91000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/libcom_err.so.2.1 (0xA70000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libk5crypto.so.3.0 (0xB6E000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/libresolv-2.3.4.so (0xAC4000) --7241-- Reading syms from /usr/lib/libidn.so.11.4.6 (0x5A5E000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /env/home/mapserver/lib/libming.so.0.3.0 (0x5A8E000) --7241-- Reading syms from /env/home/mapserver/lib/libgeos_c.so.1.1.1 (0x5AD2000) --7241-- Reading syms from /env/home/mapserver/lib/libfcgi.so.0.0.0 (0x5ADF000) --7241-- Reading syms from /usr/lib/libxml2.so.2.6.16 (0x101000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/tls/libm-2.3.4.so (0xA39000) --7241-- Reading syms from /usr/lib/libstdc++.so.6.0.3 (0x5AE8000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/tls/libc-2.3.4.so (0x905000) --7241-- Reading syms from /lib/libgcc_s-3.4.6-20060404.so.1 (0xD4B000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/X11R6/lib/libXpm.so.4.11 (0x5BB3000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/X11R6/lib/libX11.so.6.2 (0x2A1000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libjpeg.so.62.0.0 (0xD8E000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /usr/lib/libstdc++.so.5.0.7 (0x5BC3000) --7241-- object doesn't have a symbol table --7241-- Reading syms from /lib/libnsl-2.3.4.so (0xAD9000) --7241-- Reading syms from /env/home/mapserver/lib/libgeos.so.2.2.3 (0x5C7C000) --7241-- Reading syms from /usr/X11R6/lib/libXext.so.6.4 (0xAAA000) --7241-- object doesn't have a symbol table --7241-- REDIR: 0x8EB7A0 (_dl_sysinfo_int80) redirected to 0xB001BC83 (???) --7241-- REDIR: 0x96F870 (memset) redirected to 0x4006588 (memset) --7241-- REDIR: 0x96FD90 (memcpy) redirected to 0x40061A8 (memcpy) --7241-- REDIR: 0x96EA10 (rindex) redirected to 0x4005B9C (rindex) --7241-- REDIR: 0x96E140 (strcpy) redirected to 0x4005EC8 (strcpy) --7241-- REDIR: 0x96E6E0 (strnlen) redirected to 0x4005E50 (strnlen) --7241-- REDIR: 0x96E630 (strlen) redirected to 0x4005E74 (strlen) --7241-- REDIR: 0x5B88400 (operator new(unsigned)) redirected to 0x4004711 (operator new(unsigned)) --7241-- REDIR: 0x969660 (malloc) redirected to 0x4004386 (malloc) --7241-- REDIR: 0x96E830 (strncmp) redirected to 0x40060C4 (strncmp) --7241-- REDIR: 0x969380 (calloc) redirected to 0x4005639 (calloc) --7241-- REDIR: 0x969CA0 (realloc) redirected to 0x40056E4 (realloc) --7241-- REDIR: 0x9675B0 (free) redirected to 0x4004E7D (free) --7241-- REDIR: 0x96E0D0 (strcmp) redirected to 0x4006114 (strcmp) --7241-- REDIR: 0x96DF60 (index) redirected to 0x4005C4C (index) --7241-- REDIR: 0x96E950 (strncpy) redirected to 0x4005F84 (strncpy) --7241-- REDIR: 0x96E780 (strncat) redirected to 0x4005D74 (strncat) --7241-- REDIR: 0x96DDB0 (strcat) redirected to 0x4005CAC (strcat) --7241-- REDIR: 0x96F370 (memchr) redirected to 0x4006184 (memchr) --7241-- REDIR: 0x9705F0 (rawmemchr) redirected to 0x4006618 (rawmemchr) --7241-- REDIR: 0x96FA60 (stpcpy) redirected to 0x4006348 (stpcpy) --7241-- REDIR: 0x5B87020 (operator delete(void*)) redirected to 0x4005111 (operator delete(void*)) --7241-- REDIR: 0x96F800 (memmove) redirected to 0x40065A8 (memmove) ==7241== Invalid free() / delete / delete[] ==7241== at 0x4004EFA: free (vg_replace_malloc.c:235) ==7241== by 0xA0D01B: free_mem (in /lib/tls/libc-2.3.4.so) ==7241== by 0xA0CA41: __libc_freeres (in /lib/tls/libc-2.3.4.so) ==7241== by 0x4000336: _vgw_freeres (vg_preloaded.c:62) ==7241== by 0x990253: _Exit (in /lib/tls/libc-2.3.4.so) ==7241== by 0x805645E: main (mapserv.c:1616) ==7241== Address 0x5BC24F8 is not stack'd, malloc'd or (recently) free'd ==7241== ==7241== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 67 from 1) ==7241== ==7241== 1 errors in context 1 of 1: ==7241== Invalid free() / delete / delete[] ==7241== at 0x4004EFA: free (vg_replace_malloc.c:235) ==7241== by 0xA0D01B: free_mem (in /lib/tls/libc-2.3.4.so) ==7241== by 0xA0CA41: __libc_freeres (in /lib/tls/libc-2.3.4.so) ==7241== by 0x4000336: _vgw_freeres (vg_preloaded.c:62) ==7241== by 0x990253: _Exit (in /lib/tls/libc-2.3.4.so) ==7241== by 0x805645E: main (mapserv.c:1616) ==7241== Address 0x5BC24F8 is not stack'd, malloc'd or (recently) free'd --7241-- --7241-- supp: 67 Ubuntu-stripped-ld.so ==7241== ==7241== IN SUMMARY: 1 errors from 1 contexts (suppressed: 67 from 1) ==7241== ==7241== malloc/free: in use at exit: 17,574 bytes in 17 blocks. ==7241== malloc/free: 5,470 allocs, 5,454 frees, 2,666,262 bytes allocated. ==7241== ==7241== searching for pointers to 17 not-freed blocks. ==7241== checked 2,194,716 bytes. ==7241== ==7241== LEAK SUMMARY: ==7241== definitely lost: 16,520 bytes in 7 blocks. ==7241== possibly lost: 0 bytes in 0 blocks. ==7241== still reachable: 1,054 bytes in 10 blocks. ==7241== suppressed: 0 bytes in 0 blocks. ==7241== Use --leak-check=full to see details of leaked memory. --7241-- memcheck: sanity checks: 353 cheap, 15 expensive --7241-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --7241-- memcheck: auxmaps: 0 searches, 0 comparisons --7241-- memcheck: secondaries: 133 issued (8512k, 8M) --7241-- memcheck: secondaries: 514 accessible and distinguished (32896k, 32M) --7241-- tt/tc: 45,995 tt lookups requiring 56,728 probes --7241-- tt/tc: 45,995 fast-cache updates, 3 flushes --7241-- translate: new 20,570 (461,051 -> 7,869,192; ratio 170:10) [0 scs] --7241-- translate: dumped 0 (0 -> ??) --7241-- translate: discarded 9 (214 -> ??) --7241-- scheduler: 17,660,476 jumps (bb entries). --7241-- scheduler: 353/165,481 major/minor sched events. --7241-- sanity: 354 cheap, 15 expensive checks. --7241-- exectx: 30,011 lists, 2,646 contexts (avg 0 per list) --7241-- exectx: 10,950 searches, 8,418 full compares (768 per 1000) --7241-- exectx: 0 cmp2, 130 cmp4, 0 cmpAll