From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
---|---|
To: | Sergey Mirvoda <sergey(at)mirvoda(dot)com> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #15420: Server crash. Segmentation fault when parsing xml file |
Date: | 2018-10-05 14:57:19 |
Message-ID: | 87d0sobg6n.fsf@news-spur.riddles.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
>>>>> "Sergey" == Sergey Mirvoda <sergey(at)mirvoda(dot)com> writes:
Sergey> Ubuntu Version is 2.9.8 (server crashes hard)
Sergey> administrator(at)capybara:~$ xmllint --version
Sergey> xmllint: using libxml version 20908-GITv2.9.8
Unfortunately the version of libxml2 that pg is using on that system is
in fact 2.9.4, not 2.9.8:
root(at)capybara:~# ldd /usr/lib/postgresql/10/bin/postgres | fgrep xml
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f332517f000)
ii libxml2:amd64 2.9.4+dfsg1-6.1ubu amd64 GNOME XML library
and poking at it with gdb shows exactly the same bug that I found on my
system, though on yours it fails at a somewhat different place (when
trying to print the file context as part of the error message, but the
basic problem is still that input->cur is off in the weeds).
--
Andrew (irc:RhodiumToad)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gierth | 2018-10-05 15:19:08 | Re: BUG #15420: Server crash. Segmentation fault when parsing xml file |
Previous Message | Pavel Stehule | 2018-10-05 14:48:55 | Re: BUG #15420: Server crash. Segmentation fault when parsing xml file |