Re: Segmentation fault with PG-12

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Segmentation fault with PG-12
Дата
Msg-id 21700.1570548261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Segmentation fault with PG-12  (Andreas Joseph Krogh <andreas@visena.com>)
Ответы Re: Segmentation fault with PG-12  (Andreas Joseph Krogh <andreas@visena.com>)
Re: Segmentation fault with PG-12  (Andreas Joseph Krogh <andreas@visena.com>)
Список pgsql-general
Andreas Joseph Krogh <andreas@visena.com> writes:
> Will running a debug-enabled build slow things noticably down?

gcc promises that the generated code is the same with or without debug.
I think clang does too.  With other compilers you may pay some penalty.

> Is there a way
> to make it dump a stack-trace (or back-trace in C-land?) on sig11?

You should be able to get a core file from which you can extract a
stack trace (and other info) after the fact.

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: Segmentation fault with PG-12
Следующее
От: dangal
Дата:
Сообщение: Re: temporary files