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. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs