id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
603	segfault with shp2img, valgrind output included	slaven@…	sdlime	"{{{
The summary says it all. Please tell so, if you need the source map and shp
files.

Regards,
    Slaven

==9646== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==9646== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==9646== Using valgrind-2.0.0, a program supervision framework for x86-linux.
==9646== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==9646== Estimated CPU clock rate is 2403 MHz
==9646== For more details, rerun with: -v
==9646== 
==9646== Conditional jump or move depends on uninitialised value(s)
==9646==    at 0x420BD30B: re_search_internal (in /lib/i686/libc-2.2.93.so)
==9646==    by 0x420C2DF4: __regexec (in /lib/i686/libc-2.2.93.so)
==9646==    by 0x804BBF7: msEvalRegex (mapfile.c:53)
==9646==    by 0x8053D97: loadMapInternal (mapfile.c:4031)
==9646== 
==9646== Conditional jump or move depends on uninitialised value(s)
==9646==    at 0x420BD30B: re_search_internal (in /lib/i686/libc-2.2.93.so)
==9646==    by 0x420C2DF4: __regexec (in /lib/i686/libc-2.2.93.so)
==9646==    by 0x8055383: msEvalExpression (maputil.c:134)
==9646==    by 0x8055463: msShapeGetClass (maputil.c:168)
==9646== 
==9646== Invalid read of size 1
==9646==    at 0x80733AC: msGetBit (mapbits.c:23)
==9646==    by 0x807B77B: msFilterTreeSearch (maptree.c:745)
==9646==    by 0x80763FB: msSHPWhichShapes (mapshape.c:1319)
==9646==    by 0x805BFF1: msLayerWhichShapes (maplayer.c:193)
==9646==    Address 0x42E9BF4B is 0 bytes after a block of size 727 alloc'd
==9646==    at 0x40025B89: calloc (vg_replace_malloc.c:284)
==9646==    by 0x807338A: msAllocBitArray (mapbits.c:15)
==9646==    by 0x807B069: msSearchDiskTree (maptree.c:497)
==9646==    by 0x80763C6: msSHPWhichShapes (mapshape.c:1315)
==9646== 
==9646== Invalid read of size 1
==9646==    at 0x80733AC: msGetBit (mapbits.c:23)
==9646==    by 0x805C1FD: msLayerNextShape (maplayer.c:270)
==9646==    by 0x805E56B: msDrawVectorLayer (mapdraw.c:690)
==9646==    by 0x805E28C: msDrawLayer (mapdraw.c:573)
==9646==    Address 0x42E9BF4B is 0 bytes after a block of size 727 alloc'd
==9646==    at 0x40025B89: calloc (vg_replace_malloc.c:284)
==9646==    by 0x807338A: msAllocBitArray (mapbits.c:15)
==9646==    by 0x807B069: msSearchDiskTree (maptree.c:497)
==9646==    by 0x80763C6: msSHPWhichShapes (mapshape.c:1315)
==9646== 
==9646== Conditional jump or move depends on uninitialised value(s)
==9646==    at 0x808DA92: tweenColorTest (gdft.c:516)
==9646==    by 0x809012A: gdCacheGet (gdcache.c:108)
==9646==    by 0x808DE9D: gdft_draw_bitmap (gdft.c:743)
==9646==    by 0x808E47E: gdImageStringFTEx (gdft.c:1109)
==9646== 
==9646== More than 30000 total errors detected.  I'm not reporting any more.
==9646== Final error counts will be inaccurate.  Go fix your program!
==9646== Rerun with --error-limit=no to disable this cutoff.  Note
==9646== that errors may occur in your program without prior warning from
==9646== Valgrind, because errors are no longer being displayed.
==9646== 
==9646== 
==9646== ERROR SUMMARY: 30000 errors from 5 contexts (suppressed: 248 from 2)
==9646== malloc/free: in use at exit: 70795 bytes in 129 blocks.
==9646== malloc/free: 73861 allocs, 73732 frees, 7394807 bytes allocated.
==9646== For a detailed leak analysis,  rerun with: --leak-check=yes
==9646== For counts of detected errors, rerun with: -v
}}}"	defect	closed	low	4.6 release	Command Line Utilties	unspecified	critical	fixed		
