Re: BUG #3860: xpath crashes backend when is querying xmlagg result - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #3860: xpath crashes backend when is querying xmlagg result
Date
Msg-id 20080109230142.GB22548@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #3860: xpath crashes backend when is querying xmlagg result  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-bugs
Alvaro Herrera escribió:
> Tom Lane escribió:
>
> > We might be able to compromise by only resetting the context after
> > an error, but this is still only possible if we have a way to make
> > libxml let go of *all* pointers to alloc'd objects.  I don't understand
> > your comment that xmlCleanupParser solves it --- we call that already,
> > and it doesn't seem to be preventing the problem.
>
> We call it *after* the context has been reset -- or at least that's what
> gdb is showing me.
>
> Hardware watchpoint 3: handlers[0]

I forgot to mention that I had a breakpoint on xmlCleanupParser that
didn't fire.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-bugs by date:

Previous
From: "Andrew Gilligan"
Date:
Subject: BUG #3866: Segfault during table update when using convert_from()
Next
From: "Pavel Stehule"
Date:
Subject: Re: BUG #3866: Segfault during table update when using convert_from()