pg 8.3.7 libxml trying to free NULL pointer

From: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: pg 8.3.7 libxml trying to free NULL pointer
Date: 2009-06-10 01:49:02
Message-ID: 877hzkyi29.fsf@seb.progtech.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


This is CVS HEAD 8.3, Debian package 8.3.7 also affected.

libxml2: 2.7.3.dfsg-1 current version in debian testing.

postgres=# select version();
version
-----------------------------------------------------------------------------------
PostgreSQL 8.3.7 on i686-pc-linux-gnu, compiled by GCC gcc (Debian 4.3.3-3) 4.3.3

./configure --prefix=$HOME/inst/pg-dev --enable-nls --enable-debug --enable-depend --enable-cassert --enable-thread-safety --with-pgport=5433 --with-libxml --with-libxslt

postgres=# select xpath('count(//)', '<a></a>'::xml);
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

TRAP: FailedAssertion("!(pointer != ((void *)0))", File: "mcxt.c", Line: 580)
LOG: server process (PID 30335) was terminated by signal 6: Aborted

Program received signal SIGABRT, Aborted.
0xb7f90424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f90424 in __kernel_vsyscall ()
#1 0xb7c59640 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb7c5b008 in *__GI_abort () at abort.c:88
#3 0x082efcae in ExceptionalCondition (conditionName=0x83d6832 "!(pointer != ((void *)0))",
errorType=0x83237a2 "FailedAssertion", fileName=0x83d682b "mcxt.c", lineNumber=580) at assert.c:57
#4 0x0830f1cc in pfree (pointer=0x0) at mcxt.c:580
#5 0xb7e6e5d2 in ?? () from /usr/lib/libxml2.so.2
#6 0x00000000 in ?? ()

--
Sergey Burladyan

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergey Burladyan 2009-06-10 02:10:54 Re: pg 8.3.7 libxml trying to free NULL pointer
Previous Message Tom Lane 2009-06-10 01:44:03 Re: BUG #4838: Database corruption after btree_gin index creation