Re: Bad free() error
by Marc Lambrichs other posts by this author
Dec 4 2004 7:04PM messages near this date
view in the new Beta List Site
Re: Bad free() error
|
Re: Bad free() error
So it's a warning of LibXSLT I shouldn't be worrying about?
$Bill Luebkert wrote:
> 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().
>
_______________________________________________
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
|