[Mapserver-users] Linux segmentatio n problem

Vincent Schut schut@sarvision.com
Tue, 13 May 2003 14:37:18 +0200


Matt,

If you want to be sure about the shared libraries, run 'ldd mapserv' (and 'ldd 
php_mapscript.so' if you want to use mapscript).

Regards,
Vincent Schut.

On Tuesday 13 May 2003 14:00, Hatcher Matthew wrote:
> Hi Bjoern,
>
> Thanks for your suggestion, but unfortunately, shp2img runs fine without
> any errors!
>
> I don't think mapserv is actually getting as far as reading the map file,
> because I get a segmentation fault whether I specify a valid map file or
> not. I'm pretty sure it's not that it can't find some shared libraries, as
> they normally complain that they are missing when you do "mapserv -v".
>
> Any more ideas?!
>
> Matt.
>
>
> -----Original Message-----
> From: Björn Platzen [mailto:bplatzen@sosnetz.de]
> Sent: 13 May 2003 12:47
> To: Hatcher Matthew; 'mapserver-users@lists.gis.umn.edu'
> Subject: Re: [Mapserver-users] Linux segmentation problem
>
>
> Hi Matthew,
>
> > However, if I pass any parameters at all, be they in mapserver, WMS
> > or WFS format, I get an internal server error. The error log says
> > only "premature end of script", and if I run mapserv at the command
> > line by passing a QUERY_STRING here, I get "segmentation fault".
>
> I had a similar problem and could find out what went wrong the shp2img
> program, that was compiled with mapserver. Run it on a shell with your
> mapfile (e.g. shp2img -m mapfile.map -o output.png) and see, if there
> are any errors. If yes, I think, that the same errors will happen using
> the mapserv CGI.
>
> hth,
>
> Bjoern.

-- 
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users