Opened 16 years ago
Closed 16 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)
Change History (2)
by , 16 years ago
Attachment: | 2338.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed, there was a pointer arithmetic error.
Fix for this bug