You need to log in before you can comment on or make changes to this bug.
MapScript crashes, if a raster layer has the following directives: LAYER NAME "name" TYPE raster ... PROCESSING "something" ... END In the corresponding session mapfile you only find the directive without parameters: LAYER NAME "name" TYPE raster ... PROCESSING ... END Occured with 24 bit images from local source and remote WMS. Reproduced with chameleon-1.1alpha-20030902.tar.gz and chameleon-1.1alpha- 20031031.tar.gz
This seems to be a bug in MapServer's $map->save() method. I'll take it.
The problem was indeed in msSaveMap() code in MapServer's mapfile.c This is fixed in Mapserver's CVS for version 4.1 and in the 4.0.x branch (to be released as 4.0.2).
this issue was in MapServer 4.0, now that it is version 4.2 I can only assume this has been verified and closed on the mapserver bug list.