Re: [BUGS] pg 8.3.7 libxml trying to free NULL pointer

2009-06-09 Thread Tom Lane
Sergey Burladyan writes: > postgres=# select xpath('count(//)', ''::xml); > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. Hmm. Looking at the libxml2 source code makes it clear that at le

Re: [BUGS] pg 8.3.7 libxml trying to free NULL pointer

2009-06-09 Thread Sergey Burladyan
I am install libxml2-dbg 2.7.3.dfsg-1 package, this is backtrace with it: Program received signal SIGABRT, Aborted. 0xb7f17424 in __kernel_vsyscall () (gdb) bt #0 0xb7f17424 in __kernel_vsyscall () #1 0xb7be0640 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb7be200

[BUGS] pg 8.3.7 libxml trying to free NULL pointer

2009-06-09 Thread Sergey Burladyan
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 i