On Aug 19, 2005, at 6:45 PM, Todd Finney wrote:
perldoc perldiag
Attempt to free unreferenced scalar
(W internal) Perl went to decrement the reference count of a
scalar
to see if it would go to 0, and discovered that it had
already gone
to 0 earlier, and should have been freed, and in fact,
probably was
freed. This could indicate that SvREFCNT_dec() was called
too many
times, or that SvREFCNT_inc() was called too few times, or
that the
SV was mortalized when it shouldn't have been, or that
memory has
been corrupted.
For someone like me ( 4 months of perl experience ) this is rather hard
to make
heads or tails of. Until 4 months ago I was a php guy. I imagine this
is during the
"clean up" phase of mod_perl shutting down since this is when I get the
errors.
So here is what doesn't make sense to me:
How do I trace which references are having it happen?
What does a scalar being mortalized mean?
How can I tell if the memory is being currupted?
And, since this is on a server I can ssh into, but don't have root
access for
how can I go about debugging it the best without causing my host too
much
of a headache?
Thanks for all the help,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com