Re: Bad free() error
by Marc Lambrichs other posts by this author
Dec 4 2004 9:20PM messages near this date
view in the new Beta List Site
Re: Bad free() error
|
re get attributes with XML::DOM
Any problems known to you with
p5-XML-LibXML-1.58 Interface to Gnome libxml2 library
p5-XML-LibXSLT-1.57 Perl interface to the GNOME XSLT library?
This all on FreeBSD 4.10
Marc
Petr Pajas wrote:
> On Saturday 04 December 2004 20:04, Marc Lambrichs wrote:
>
> >So it's a warning of LibXSLT I shouldn't be worrying
> >about?
>
>
> If I remember correctly, this may also happen if you're
> using slightly incompatible LibXML and LibXSLT versions
> (one using perl's New()/Safefree macro and the other using
> plain C malloc/free on a system/Perl-build where this
> distinction makes a difference). If this is the only
> problem, then you should be quite safe.
>
> -- Petr
>
>
>
> >$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
>
>
_______________________________________________
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
|