I've posted a patch that solves this issue here: http://trac.osgeo.org/mapserver/ticket/2338
Please let me know if it works. Umberto On 10/1/07, Maciej Sieczka <[EMAIL PROTECTED]> wrote: > MS 5.0 crashes on a map file with output type set as: > > IMAGETYPE pdf > OUTPUTFORMAT > NAME pdf > DRIVER pdf > END > > > > Examples: > > ./shp2pdf -m pdf.map -o pdf_ms5.pdf > *** glibc detected *** free(): invalid next size (fast): > 0x08254f00 *** > > ./shp2img -m pdf.map -o pdf_ms5.pdf > *** glibc detected *** free(): invalid next size (fast): > 0x08179608 *** > > The same map file works OK with shp2img and shp2pdf from MS > 4.10.2. > > Both MS 4.10.2 and 5.0 built and running against the same > libraries, on the same machine. Both source codes were > configured with exactly the same switches. > > Ubuntu Dapper 32bit, using PDFLib-Lite 7.0.2. If more > details are needed please let me know. > > Maciek >