Skip site navigation (1) Skip section navigation (2)

contrib/xml2 pfree bug

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: contrib/xml2 pfree bug
Date: 2009-07-24 21:28:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Didn't we just clean up a mess in our XML handling to do with memory 
handlers? It looks like contrib/xml2 might have similar problems. Here's 
the relevant part of a back trace from a core dump:

Program terminated with signal 11, Segmentation fault.
#0  0x000000000069300a in pfree ()
(gdb) bt
#0  0x000000000069300a in pfree ()
#1  0x000000356c42e0ee in xmlCleanupCharEncodingHandlers () from 
#2  0x000000356c436675 in xmlCleanupParser () from /usr/lib64/
#3  0x00002aaab072c5b6 in xslt_process () from 

this was generated from the following call (XML afficionados will 
realise I was trying to pretty print the XML):

select xslt_process( cb_ob_invoice_xml(1,1)::text,
$$<xsl:stylesheet version="1.0"

<xsl:output method="xml" indent="yes" />

<xsl:template match="*">
      <xsl:copy-of select="@*" />
      <xsl:apply-templates />
<xsl:template match="comment()|processing-instruction()">
   <xsl:copy />





pgsql-hackers by date

Next:From: Stephen FrostDate: 2009-07-24 21:35:18
Subject: Re: Proposal: More portable way to support 64bitplatforms
Previous:From: Merlin MoncureDate: 2009-07-24 21:18:28
Subject: Re: When is a record NULL?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group