Bus error -- Re: [mapserver-users] Re: Perl/mapscript error
Lowell Filak
lfilak at medinaco.org
Fri May 3 15:18:40 PDT 2002
Are you using mod_perl?
After looking through the Perl groups this seems to have eliminated the errors on my scripts:
Change all lines:
my $self = tied(%{$_[0]});
in all DESTROY methods in /usr/lib/perl/.../mapscript.pm with:
return unless $_[0]->isa('HASH');
my $self = tied(%{$_[0]});
return unless $self;
Lowell F.
The following message was sent by Puneet Kishor <pkishor at GeoAnalytics.com> on Tue, 30 Apr 2002 17:36:23 -0500.
> > Lowell Filak wrote:
> > >
> >
> > > Giorgio - which DESTROY subroutine did you insert your
> > print statement into, mapObj, layerObj, classObj, ...? It
> > looks like layerObj as opposed to mapObj where Puneet is
> > having trouble.
> > > Lowell F.
> >
> > I have the same problem with many different objects!
> > It happened with rectObj, layerObj, classObj for eample ... never with
> > mapObj.
>
>
> very interesting. So far, the only place I have experienced this is with
> mapObj, not anywhere else at all.
>
>
> I am going to try Giorgio's shenanigans tonight :-)
>
> Hopefully, I can make my scripts behave the same way. That should get us
> further along to solving this.
>
> One question for Giorgio... Could you please let us know what OS you are
> using? I see you are using Perl 5.6.1, but on what kind of computer.
>
> Thanks,
>
> pk/
>
More information about the MapServer-users
mailing list