pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Sergey Mirvoda <sergey@mirvoda.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>
Cc: Andrew Borodin <borodin@octonica.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Date: Fri, 5 Oct 2018 08:27:06 +0900
Message-ID: <20181004232706.GA1629@paquier.xyz> (raw)
In-Reply-To: <CAFj8pRD6d=wHgGRkVE2ZzCFof_ga+mNQ+V2Yw59r0StTjfqc_w@mail.gmail.com>
References: <CALkWArjA5ApwXTnWWGMSmw6CFUaaTWHiL5gmJuMZXsMsb0tqeQ@mail.gmail.com>
	<20181004143100.45xjxw2r5j2dyd7e@alvherre.pgsql>
	<CALkWArgVrWZQi=rya+VysBTUt6uxBgnHmCTZZnX4zMwUt+mg0A@mail.gmail.com>
	<CAFj8pRD6d=wHgGRkVE2ZzCFof_ga+mNQ+V2Yw59r0StTjfqc_w@mail.gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (39+ messages)  latest in thread

Message-ID: <20181004232706.GA1629@paquier.xyz>
Permalink:  ../20181004232706.GA1629@paquier.xyz/
Also on:    postgresql.org/message-id/20181004232706.GA1629@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, pavel.stehule@gmail.com, sergey@mirvoda.com, alvherre@2ndquadrant.com, x4mmm@yandex-team.ru, borodin@octonica.com
  Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
  In-Reply-To: <20181004232706.GA1629@paquier.xyz>
  References: <CALkWArjA5ApwXTnWWGMSmw6CFUaaTWHiL5gmJuMZXsMsb0tqeQ@mail.gmail.com> <20181004143100.45xjxw2r5j2dyd7e@alvherre.pgsql> <CALkWArgVrWZQi=rya+VysBTUt6uxBgnHmCTZZnX4zMwUt+mg0A@mail.gmail.com> <CAFj8pRD6d=wHgGRkVE2ZzCFof_ga+mNQ+V2Yw59r0StTjfqc_w@mail.gmail.com> <20181004232706.GA1629@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox