|
From: Kevin M. G. <ke...@go...> - 2006-04-12 16:10:35
|
Gil Vidals wrote:
> We have four servers running an application which has incorporated log4perl
> verion 1.02. We are running into a peculiar error, which crashes our
> application;
>
> Attempt to free unreferenced scalar: SV 0x9edad98 at
> /usr/local/lib/perl5/site_perl/5.8.7/Log/Log4perl/Logger.pm line 217.
>
> Line 217 from Logger.pm
> print(" Setting [$self] $self->{category}.$levelname to ",
> ($self->{$levelname} == $noop ? "NOOP" :
> ("Coderef [$coderef]: " . scalar @appenders . " appenders")),
> "\n") if _INTERNAL_DEBUG;
Gil, this could shouldn't even get compiled, much less run, unless
you've turned _INTERNAL_DEBUG on. Did you turn it on? Does the error
still happen if you turn it off? Does the error still happen if you
remove that line of code?
When you say servers, are you talking about standalone perl applications
or web servers or what? If they're web servers, are they running with
mod_perl, Catalyst, Mason, or what? Can you give us more details on the
what this is running in?
What sort of conditions lead to the error? Can you reproduce it at will?
Or is it intermittent and seemingly random?
Lastly, but best of all, can you take everything out of the application
except for the absolute minimum amount of code required to produce the
error? And then could we see the little bit of code that's left?
|