[Mapserver-users] seg fault

Krung Saengpole krung at cad.go.th
Thu Sep 11 16:50:01 EDT 2003


I think that's not the case. I used to use 76 layers with perl mapscript, it worked.

Krung

>
>> Aha!  I've narrowed down the problem further.  It seems that I'm only 
>> able to open 2 shapefiles in a single instance of a perl program 
>> running.  As soon as I try and open a 3rd, boom! Seg fault.
>> 
>> Nick
>> 
>
>Um... I can open 3 shapefiles using PHP MapScript (4.0 and 3.6) without 
>any problem.  Perhaps it's a Perl-specific issue, or it's realted to the 
>order in which your script does things?
>
>If you have a way to reproduce this, then you should probably file this 
>in bugzilla, with sample data and script to reproduce, MapServer 
>version, OS, etc.
>
>
>Daniel
>
>
>> At 02:31 PM 9/11/2003 -0400, you wrote:
>> 
>>> 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/
>>> ------------------------------------------------------------
>> 
>> 
>> Nick Petersen-Bergeron
>> System Administrator
>> 
>> ZedX Inc.
>> 369 Rolling Ridge Drive
>> Bellefonte, PA. 16823
>> 
>> 
>
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>




More information about the mapserver-users mailing list