Opened 16 years ago

Closed 16 years ago

#2677 closed defect (fixed)

saveImage() seg faults with PHP MapScript in 5.2.0-beta4

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 5.2 release
Component: MapScript-PHP Version: unspecified
Severity: normal Keywords:
Cc: assefa, sdlime, mgleahy

Description

Mike Leahy wrote to mapserver-dev:

I just gave beta 4 a try - it seems something has broken the saveImage function in PHP_MapScript in beta4 - but only when the image is saved to a filename. When the image is sent directly to the web browser via stdout, the output looks fine. But if a filename is supplied, no file is created, and no errors are generated. This is with a fresh checkout of the beta4 tag in svn. I've gone back to beta3 and everything is fine again - is this a known issue of any sort, or should a new bug be filed?

Change History (2)

comment:1 by dmorissette, 16 years ago

Cc: mgleahy added
Status: newassigned

comment:2 by dmorissette, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7782. This problem was introduced with the addition of new debug/tuning messages in ticket #2673... we were not checking for the map being NULL before accessing the map->debug member.

Note: See TracTickets for help on using tickets.