[Mapserver-users] seg fault

Daniel Morissette morissette at dmsolutions.ca
Thu Sep 11 14:31:44 EDT 2003


Nick Petersen-Bergeron wrote:

> To clarify, the file DOES already exist, and seems to be a valid shapefile.
> 

Assuming that you are able to read the shapefile using something like 
shapelib's shpdump utility, My next suggestion would be to try to 
isolate the exact lines that cause the problem.  Does the following also 
seg fault?


   #!/usr/bin/perl

   use mapscript;
   use XBase;

   my $SFile = "/home/httpd/cgi-bin/dm/shapes/S941604";
   my $SShapeFile = new shapefileObj($SFile,-1);

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list