SWIG mapscript error not getting detected and handled appropriately. This happen
on Suse 9.2
The orginial error message from Perl Mapscript was:
*** glibc detected *** double free or corruption: 0x00000000012817c0 ***
mapscript::mapObj::new(/usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/mapscript.pm:1408):
When we executed the first:
my $oMap = new mapscript::mapObj($szMapFile);
and the problem ended up being that the symbol directory was missing and it was
having heartburn trying to access png symbol
We diagnosed the problem by moving to shp2img which reported:
loadSymbol(): Unable to access file. Parsing error near
(../markers/sm_square.png):(line 73) <br>
which lead me to check if the markers directory was loaded. It wasn't and
loading that directory solved the problem.
Reporter: woodbri@swoodbridge.com Date: 2005/06/03 - 16:47