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

From Andrey Borodin
Subject Re: BUG #15420: Server crash. Segmentation fault when parsing xmlfile
Date
Msg-id B0545593-712F-45D5-B24C-EF43AF37A793@yandex-team.ru
Whole thread Raw
In response to Re: BUG #15420: Server crash. Segmentation fault when parsing xml file  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
List pgsql-bugs


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.5
After 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.
Yes, root cause is inside libxml2 code.

Can we protect postmaster from crashing from libxml2 error? There is a bunch of PG_TRY there, but it does not help.

Best regards, Andrey Borodin.

pgsql-bugs by date:

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