Re: BUG #15420: Server crash. Segmentation fault when parsing xmlfile - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15420: Server crash. Segmentation fault when parsing xmlfile
Date
Msg-id 20181004232706.GA1629@paquier.xyz
Whole thread Raw
In response to Re: BUG #15420: Server crash. Segmentation fault when parsing xml file  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-bugs
On Thu, Oct 04, 2018 at 05:02:05PM +0200, Pavel Stehule wrote:
> čt 4. 10. 2018 v 16:42 odesílatel Sergey Mirvoda <sergey@mirvoda.com>
> napsal:
>> Sure, but bug is mostly about unhandled server crash. Is it normal?
>
> Nobody can handle process crash. This should be fixed on libxml2 side.

If some code crashes in glibc or within a system call, impacting
Postgres backends, there is usually little to do, and the correct call
is to fix the place where the problem happens.  If libxml2 has
integrated with a new API which is considered safer to use, then we
could consider working on improving Postgres regarding that aspect.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Next
From: Andrew Gierth
Date:
Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file