Ticket #2338 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

2338.patch Download (0.6 KB) - added by unicoletti 6 years ago.
Fix for this bug

Change History

Changed 6 years ago by unicoletti

Fix for this bug

Changed 6 years ago by unicoletti

  • status changed from new to closed
  • resolution set to fixed

Fixed, there was a pointer arithmetic error.

Note: See TracTickets for help on using tickets.