Re: BUG #16665: Segmentation fault

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Raphael Megzari <raphael(at)megzari(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16665: Segmentation fault
Date: 2020-10-10 14:56:32
Message-ID: CAFj8pRBPS-7crfsrt5UZZS+BMsRyR8OyEDFh3i9R3s=n4QW5FA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

so 10. 10. 2020 v 16:51 odesílatel Raphael Megzari <raphael(at)megzari(dot)com>
napsal:

> I'm not really sure how to read that binary file.
>
> I have uploaded to an s3 bucket and made it public.
> Anyone should be able to access that file
> *https://s3.eu-central-1.wasabisys.com/union-backups/core_dump.gz
> <https://s3.eu-central-1.wasabisys.com/union-backups/core_dump.gz>*
>

this is not good idea

see https://stackoverflow.com/questions/5115613/core-dump-file-analysis

Pavel

>
> it's 2GB
>
> If you have a link to a documentation of how I can read that file and get
> the stacktrace, I would be glad to give it a read.
>
>
>
> On Saturday, Oct 10, 2020 at 8:56 PM, Pavel Stehule <
> pavel(dot)stehule(at)gmail(dot)com> wrote:
>
>
> so 10. 10. 2020 v 13:27 odesílatel Raphael Megzari <raphael(at)megzari(dot)com>
> napsal:
>
>> Awesome, thank you!
>> It's the right thing.
>>
>> How do I share it?
>>
>
> important is the backtrace
>
> paste it to mail
>
>
>
>>
>>
>> On Saturday, Oct 10, 2020 at 8:24 PM, Pavel Stehule <
>> pavel(dot)stehule(at)gmail(dot)com> wrote:
>>
>>
>> so 10. 10. 2020 v 13:19 odesílatel Raphael Megzari <raphael(at)megzari(dot)com>
>> napsal:
>>
>>> Thank you for taking the time to have a look.
>>>
>>> I'm not sure how to enable core dump with the docker image.
>>>
>>> I've seen some documentation where the db is started with pg_ctl anc a
>>> "c" flag. I couldn't find anything on enabling it on the docker image.
>>>
>>> in my data folder, I have a huge core file (8 GB). Would it be possible
>>> that it is the core dump file generated after the segfault?
>>>
>>
>> you can check a create time
>>
>> Pavel
>>
>>
>>> Raphael
>>>
>>>
>>>
>>>
>>> On Saturday, Oct 10, 2020 at 6:04 PM, Pavel Stehule <
>>> pavel(dot)stehule(at)gmail(dot)com> wrote:
>>> Hi
>>>
>>>
>>>> If I can help in any ways, please let me know.
>>>> I don't mind trying things, like I said, the bug happens about every 2
>>>> days.
>>>>
>>>
>>> This is a bug, but from your bug report isn't possible to detect any
>>> information.
>>>
>>> Can you enable core dump generating, and can you send a core dump?
>>>
>>> Regards
>>>
>>> Pavel
>>>
>>>>
>>>> Cheers!
>>>>
>>>>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-10-10 17:42:58 Re: BUG #15858: could not stat file - over 4GB
Previous Message Raphael Megzari 2020-10-10 14:50:50 Re: BUG #16665: Segmentation fault