[mapserver-users] Upgrade MapServer from 5.4 to 6.0

Daniel Morissette dmorissette at mapgears.com
Mon Jul 11 06:54:47 PDT 2011


Hi Jose,

The only way to find out the source of a segmentation fault is with a 
debugger (e.g. gdb). I presume your GetMap requests run fine and it is 
just this GetFeatureInfo request that fails? Would you be able to 
provide a testcase for us to reproduce the error?

Perhaps you could also try to run this request at the command line to 
confirm that you also get the segmentation fault:

/path/to/mapserv 
"QUERY_STRING=map=.......&VERSION=1.1.1&TITLE=title&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=yyy&SERVICE=WMS&REQUEST=getFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG%3A2950&INFO_FORMAT=text%2Fxml&QUERY_LAYERS=yyy&BBOX=209601.108032%2C4995145.873053%2C455398.891968%2C5142254.126947&WIDTH=929&HEIGHT=556&X=428&Y=277"

(make sure you set the map=.... value in the command above to the value 
of MS_MAPFILE set by your xxx_wms_en wrapper script)

If you also get a seg fault at the command line then you could try to 
run the same request from inside 'gdb' and get a backtrace (command 
'bt') to give us an idea of where the crash happens.

Daniel

On 11-07-08 02:34 PM, Lopes, Jose (AAFC-AAC) wrote:
> Hi,
> After upgrading MapServer from 5.4 to 6.0 we get a 500 error in this query:
> http://localhost/ogc/xxx_wms_en?VERSION=1.1.1&TITLE=title&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=yyy&SERVICE=WMS&REQUEST=getFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG%3A2950&INFO_FORMAT=text%2Fxml&QUERY_LAYERS=yyy&BBOX=209601.108032%2C4995145.873053%2C455398.891968%2C5142254.126947&WIDTH=929&HEIGHT=556&X=428&Y=277
> <http://localhost/ogc/xxx_wms_en?VERSION=1.1.1&TITLE=title&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=yyy&SERVICE=WMS&REQUEST=getFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG%3A2950&INFO_FORMAT=text%2Fxml&QUERY_LAYERS=yyy&BBOX=209601.108032%2C4995145.873053%2C455398.891968%2C5142254.126947&WIDTH=929&HEIGHT=556&X=428&Y=277>
>
> Apache error log:
>
> [Fri Jul 08 11:48:15 2011] [error] [client 10.117.21.141]
> /server/.../httpd/cgi-bin/xxx_wms_en: line 4: 27570 Segmentation fault
> ${MS_CGIBIN}mapserv
> [Fri Jul 08 11:48:15 2011] [error] [client 10.117.21.141] Premature end of
> script headers: xxx_wms_en
> The map files were updated following the migration guide...
> Any idea about where this is comming from?
> Thanks,
> JoseLopes
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000




More information about the MapServer-users mailing list