[Mapserver-dev] Error catching missing for pixmap symbol

Claude Philipona claude-mapserver at skirando.ch
Wed Sep 24 08:29:24 EDT 2003


Hello,
I think there is an error which is not properly treated when a pictogram
image used in a PIXMAP symbol definition. Mapserver crashes without any
error notification (segmentation fault)

For example, if icon_metro.png is not present, mapserver segfault if there
is such a symbol definition in symbol.sym

Symbol
Name 'metro'
Type PIXMAP
Image icon_metro.png
END

This is totally reproductible, at least on Mapserver/PHPMapscript version
3.6 and 4.0 (Linux). I think it would good to handle this kind of error
properly, as it can take some time to figure out what is wrong.


Claude



More information about the mapserver-dev mailing list