mapserv segfaults

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed Feb 9 18:45:41 EST 2005


John Cartwright wrote:
> Hello All,
>
> I'm trying to get started with Mapserver 4.4.1 to be used as a WMS/WFS/WCS
> server. I've compiled from src since I needed some options that I didn't see
> in the pre-compiled binaries.
>
> mapserv responds successfully to a WMS GetCapabilities response and includes
> the following line confirming my compiled-in options:
>
> <!-- MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=TIFF
> INPUT=EPPL7 INPUT=SDE INPUT=POSTGIS INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE -->
>
> However, a GetMap request to the using the same map parameter produces a
> Segmentation fault as recorded in the apache error log
>
> Can anyone suggest what the problem might be or a way to diagnose it? Can
> the mapserv CGI be run at the command-line?
>
> Thanks!
>
> -- john
>
John,

You can run mapserver cgi at the command line, but you need to set up
the environment variables first, like

export REQUEST_METHOD=GET
export QUERY_STRING="...."
gdb mapserv
run

set your QUERY_STRING appropriately

-Steve W.



More information about the mapserver-users mailing list