Re: BUG #15420: Server crash. Segmentation fault when parsing xml file

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Sergey Mirvoda <sergey(at)mirvoda(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Date: 2018-10-04 11:41:07
Message-ID: CAFj8pRDKBycGhARRmcV53AF795RYAQnJ4aRpkVj4shwBDHs_6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

čt 4. 10. 2018 v 12:18 odesílatel Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
napsal:

> Hi
>
> čt 4. 10. 2018 v 12:12 odesílatel Sergey Mirvoda <sergey(at)mirvoda(dot)com>
> napsal:
>
>>
>>
>> On Thu, Oct 4, 2018 at 2:11 PM Michael Paquier <michael(at)paquier(dot)xyz>
>> wrote:
>>
>>> If you can, could you please attach this file to this thread? This is
>>> important for the archives.
>>> --
>>> Michael
>>>
>>
>> Looks like it is too big to send uncompressed, here it is in zip archive
>>
>
> I am try to import this xml to Postgres with pgimportdoc
>
> https://github.com/okbob/pgimportdoc
>
> and looks like some libxml2 issue.
>
> pgimportdoc: Unexpected result status: PGRES_FATAL_ERROR
> pgimportdoc: Error: ERROR: invalid XML content
> DETAIL: line 178950: internal error: Huge input lookup
> � органе Пенсионного фонда Российской Федер
>
> ^
> line 178950: attributes construct error
>
>
probably it is same issue like

https://www.postgresql.org/message-id/flat/CA%2BcVU8M2FuK3XrHRSypW1y3gk%2BxgGjAgrT0k%2BsLVWsRJsW%3D3%2BA%40mail.gmail.com#5f7e4115254cd93c77274f9df677d31f

Regards

Pavel

>
>
>
>> --
>> --Regards, Sergey Mirvoda
>>
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrey Borodin 2018-10-04 11:43:29 Re: BUG #15420: Server crash. Segmentation fault when parsing xml file
Previous Message Pavel Stehule 2018-10-04 11:38:38 Re: BUG #15420: Server crash. Segmentation fault when parsing xml file