Opened 19 years ago

Last modified 18 years ago

#1374 new defect

Perl Mapscript Error on 64bit Suse 9.2

Reported by: woodbri@… Owned by: sdlime
Priority: high Milestone:
Component: MapScript-SWIG Version: 4.6
Severity: normal Keywords:
Cc:

Description

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.

Change History (2)

comment:1 by sgillies@…, 19 years ago

Status: newassigned
this was resolved, right?

comment:2 by sgillies@…, 18 years ago

Owner: changed from sgillies@… to sdlime
Status: assignednew
reassigning
Note: See TracTickets for help on using tickets.