Re: Postgresql 8.3 beta crash

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org, Sheikh Amjad <sheikhamjad(at)gmail(dot)com>
Subject: Re: Postgresql 8.3 beta crash
Date: 2007-11-01 16:05:17
Message-ID: 200711011705.18409.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2007-11-01 16:05:54 Re: Postgresql 8.3 beta crash
Previous Message Camilo Porto 2007-11-01 15:49:32 Re: URGENT HELP about 'duration' stats