[Mapserver-users] seg fault

Daniel Morissette morissette@dmsolutions.ca
Thu, 11 Sep 2003 14:31:44 -0400


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@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

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