Обсуждение: How to get debuginfo from building source code

Поиск
Список
Период
Сортировка

How to get debuginfo from building source code

От
"Hou, Zhijie"
Дата:
Hi

My PostgreSQL 10.3 in Centos7.4 exited abnormally and generated core.dump.

I want to analyze the core.dump but I does not find postgresql10-debuginfo-10.3 in
https://download.postgresql.org/pub/repos/yum/debug/10/redhat/rhel-7.4-x86_64/

Can I get the debuginfo from building the source code ?
If so, What compile options should I use ?

Best regards,
houzj





Re: How to get debuginfo from building source code

От
Ian Lawrence Barwick
Дата:
2020年10月22日(木) 11:51 Hou, Zhijie <houzj.fnst@cn.fujitsu.com>:
>
> Hi
>
> My PostgreSQL 10.3 in Centos7.4 exited abnormally and generated core.dump.
>
> I want to analyze the core.dump but I does not find postgresql10-debuginfo-10.3 in
> https://download.postgresql.org/pub/repos/yum/debug/10/redhat/rhel-7.4-x86_64/
>
> Can I get the debuginfo from building the source code ?
> If so, What compile options should I use ?

See instructions here:

  https://wiki.postgresql.org/wiki/Developer_FAQ#Compile-time


Regards

Ian Barwick

--
EnterpriseDB: https://www.enterprisedb.com



Re: How to get debuginfo from building source code

От
Devrim Gündüz
Дата:
Hi,

On Thu, 2020-10-22 at 02:49 +0000, Hou, Zhijie wrote:
>
> My PostgreSQL 10.3 in Centos7.4 exited abnormally and generated
> core.dump.
>
> I want to analyze the core.dump but I does not find postgresql10-
> debuginfo-10.3 in
>
> https://download.postgresql.org/pub/repos/yum/debug/10/redhat/rhel-7.4-x86_64/

10.3 is 2,5 years old. I would update to 10.14 first.

Regards,

--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Вложения