Sorry i send in the archive two files which are not useful. I send in this mail just the necessary files.<div>Thank you !<br><br><div class="gmail_quote">2011/5/17 Mohamed Saâd HESSANE <span dir="ltr">&lt;<a href="mailto:saad.hessane@gmail.com">saad.hessane@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hy list,<div>I have a pretty annoying bug. It&#39;s about polyon&#39;s that contain many points. I generated polygons that have random coordinates data, and i draw and save (in python mapscript) the shapefile at different extent.</div>

<div>If the extent is smaller than the shape extent, I have this error : &quot;*** glibc detected *** python: malloc(): memory corruption: 0x083ed0f0 ***&quot; or &quot;*** glibc detected *** python: free(): invalid next size (normal): 0x08424ea0 ***&quot;</div>

<div>I send you all the necessary file to reproduce the bug. Just execute the python script (python bug.py).</div><div>I use Mapserver 5.4.2 with AGG support, and python 2.5.</div><div>Best regards</div>
</blockquote></div><br></div>