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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Fwd: BUG #4953: Crash with xml functions


  • From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
  • To: Giorgio Valoti <giorgio_v(at)me(dot)com>
  • Cc: pgsql-bugs(at)postgresql(dot)org
  • Subject: Re: Fwd: BUG #4953: Crash with xml functions
  • Date: Thu, 30 Jul 2009 23:15:55 -0400
  • Message-id: <20090731031555.GK6459@alvh.no-ip.org> <text/plain>

Giorgio Valoti wrote:
> Hi,
> I’m forwarding this mail exchange with Peter Eisentraut to the bugs
> list.
> pgSQL version: 8.4
> OS: Mac OS X 10.5.8

I can reproduce this, and the reason seems to be the same problem we
fixed in core XML and that Tom was saying a couple of days ago that was
present in contrib/xml2 as well:

#0  0x00007f1ac590f065 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f1ac5912153 in *__GI_abort () at abort.c:88
#2  0x000000000078cbcf in ExceptionalCondition (
    conditionName=0x920548 "!(((header->context) != ((void *)0) && (((((Node*)((header->context)))->type) == T_AllocSetContext))))", 
    errorType=0x920421 "BadArgument", 
    fileName=0x9203a0 "/pgsql/source/84_rel/src/backend/utils/mmgr/mcxt.c", 
    lineNumber=589) at /pgsql/source/84_rel/src/backend/utils/error/assert.c:57
#3  0x00000000007b2862 in pfree (pointer=0x120bfc0)
    at /pgsql/source/84_rel/src/backend/utils/mmgr/mcxt.c:589
#4  0x00007f1ac345e186 in pgxml_pfree (ptr=0x120bfc0)
    at /pgsql/source/84_rel/contrib/xml2/xpath.c:86
#5  0x00007f1ac66da12b in xmlCleanupCharEncodingHandlers__internal_alias ()
    at encoding.c:1398
#6  0x00007f1ac66e3103 in xmlCleanupParser__internal_alias () at parser.c:13836
#7  0x00007f1ac345e5c5 in xml_is_well_formed (fcinfo=0x7fffcec1b0e0)
    at /pgsql/source/84_rel/contrib/xml2/xpath.c:187


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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group