MapServer / MapServer-import

3 stars 2 forks source link

Perl Mapscript Error on 64bit Suse 9.2 #1374

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: woodbri@swoodbridge.com Date: 2005/06/03 - 16:47

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.
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2005/09/20 - 17:34

this was resolved, right?
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2006/06/02 - 04:05

reassigning