Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
От | Pavel Stehule |
---|---|
Тема | Re: BUG #15420: Server crash. Segmentation fault when parsing xml file |
Дата | |
Msg-id | CAFj8pRAaNk6hnyra6bGwdHYq9dqqbV0hKr0X9tLG7FYzAoEBkQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: BUG #15420: Server crash. Segmentation fault when parsing xmlfile (Andrey Borodin <x4mmm@yandex-team.ru>) |
Ответы |
Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
|
Список | pgsql-bugs |
čt 4. 10. 2018 v 13:43 odesílatel Andrey Borodin <x4mmm@yandex-team.ru> napsal:
Yes, root cause is inside libxml2 code.4 окт. 2018 г., в 16:38, Pavel Stehule <pavel.stehule@gmail.com> написал(а):Actually we found this error in very fresh intatallation of Ubuntu 16.04 and postgres 10.5After that we checked every configuration we have.And only postgres 9.4 works as expected.This issue is related to libxml2 limits - and it cannot to work with modern libxml2 libraries.Can we protect postmaster from crashing from libxml2 error? There is a bunch of PG_TRY there, but it does not help.
Unfortunately, no. You cannot to handle crash. PostgreSQL doesn't start separate process for libxml2 calls, and fault there is fatal.
Regards
Pavel
Best regards, Andrey Borodin.
В списке pgsql-bugs по дате отправления: