Re: Postgresql 8.3 beta crash - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Postgresql 8.3 beta crash
Date
Msg-id 200711011705.18409.peter_e@gmx.net
Whole thread Raw
In response to Re: Postgresql 8.3 beta crash  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> No, your first theory is closer to the mark.  What is happening is
> that xmlelement neglects to call xml_init, therefore the various
> stuff allocated by libxml is allocated using malloc().  Then
> xml_parse is called, and it *does* do xml_init(), which calls
> xmlMemSetup.  Then when we return to xmlelement and start freeing
> stuff, libxml tries to use xml_pfree to free something it got from
> malloc().

That sounds plausible.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Jeff Amiel
Date:
Subject: Re: [GENERAL] AutoVacuum Behaviour Question
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgresql 8.3 beta crash