You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Beau E. Cox" <be...@beaucox.com> on 2004/02/02 20:57:02 UTC

Re: [mp2] Attempt to free unreferenced scalar: ...

On Friday 30 January 2004 07:03 pm, Stas Bekman wrote:
> Beau E. Cox wrote:
> > -------------8<---------- Start Bug Report ------------8<----------
> > 1. Problem Description:
> >
> > I am trying to port Mason to mod_perl2 w/libapreq2. It seems I have
> > munged it up. When 'stressing' the site (downloading a Mason-enabled uri
> > with wget in a looping shell script), I get lots of
> >
> > Attempt to free unreferenced scalar: SV 0x405e6e78 at
> > /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 626.
> > Attempt to free unreferenced scalar: SV 0x405e6e78 at
> > /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 626.
> > Attempt to free unreferenced scalar: SV 0x405e6e78 at
> > /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi/DBI.pm line 626.
> > ...
[snipped]
> I bet you won't see any of these under prefork. It's most likely the issue
> of perl_clone(), when a cloned variable is attempted to be destroyed more
> than once or may be it's the the interpreter scoping bug that yours truly
> has introduced in perl 5.8.2 (later removed in 5.8.3) trying to fix some
> other hairy problem. So first try upgrading to DBI (which is now should
> work just fine with 5.8.2). Or even better upgrade to 5.8.3.
[snipped]

OK!

Moved to perl 5.8.3, recompiled ALL my site-perl CPAN modules,
and rebuild mod_perl. The problem went away!

Many thanks.

Aloha => Beau;


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html