Re: Bad free() error
by $Bill Luebkert other posts by this author
Dec 4 2004 6:46PM messages near this date
view in the new Beta List Site
Re: Bad free() error
|
Re: Bad free() error
Marc Lambrichs wrote:
> I've got a bad_free error on my hands. If I'm not mistaken, my module
> wants to free some memory space that's already been freed, right?
> What can I do to find the exact variable that we're talking about here?
> What does the "2912" in the following line mean?
>
> [Sat Dec 4 18:59:20 2004] (eval 2912): freeing transformation dictionnary
> [Sat Dec 4 18:59:20 2004] (eval 2912): Bad free() ignored (PERL_CORE)
> at /var/www/general/lib/perl/Melange/Control.pm line
> 165.
I believe that's the 'eval sequence number' (which I hope I'm interpreting
correctly) would make it the 2912 th eval encountered in the file.
Explanation for second error:
Bad free() ignored
(S malloc) An internal routine called free() on something that had never
been malloc()ed in the first place. Mandatory, but can be disabled by
setting environment variable "PERL_BADFREE" to 0.
This message can be seen quite often with DB_File on systems with "hard"
dynamic linking, like "AIX" and "OS/2". It is a bug of "Berkeley DB"
which is left unnoticed if "DB" uses *forgiving* system malloc().
--
,-/- __ _ _ $Bill Luebkert Mailto:dbecoll@[...].net
(_/ / ) // // DBE Collectibles Mailto:dbe@[...].com
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Marc Lambrichs
Marc Lambrichs
$Bill Luebkert
Marc Lambrichs
Petr Pajas
Marc Lambrichs
|