Opened 17 years ago

Closed 17 years ago

#2338 closed defect (fixed)

MS 5.0 crashes on pdf output, 4.10.2 is OK

Reported by: unicoletti Owned by: mapserverbugs
Priority: normal Milestone:
Component: Output-PDF Version: 5.0
Severity: normal Keywords:
Cc: tutey@…

Description

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

Attachments (1)

2338.patch (612 bytes ) - added by unicoletti 17 years ago.
Fix for this bug

Download all attachments as: .zip

Change History (2)

by unicoletti, 17 years ago

Attachment: 2338.patch added

Fix for this bug

comment:1 by unicoletti, 17 years ago

Resolution: fixed
Status: newclosed

Fixed, there was a pointer arithmetic error.

Note: See TracTickets for help on using tickets.