Re: quickdie doing memory allocations (was atomic pin/unpin causing errors)

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: quickdie doing memory allocations (was atomic pin/unpin causing errors)
Дата
Msg-id 20160505203410.fkvd2u6mbpfdd575@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: quickdie doing memory allocations (was atomic pin/unpin causing errors)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2016-05-05 16:32:38 -0400, Robert Haas wrote:
> On Thu, May 5, 2016 at 11:51 AM, Andres Freund <andres@anarazel.de> wrote:
> >> #7  0x000000080149e3d6 in nsdispatch () from /lib/libc.so.7
> >> #8  0x00000008014a41c6 in __cxa_finalize () from /lib/libc.so.7
> >> #9  0x000000080144525c in exit () from /lib/libc.so.7
> >> #10 0x00000000008e1bc2 in quickdie (postgres_signal_arg=3) at postgres.c:2623
> 
> Eh, this doesn't this __cxa_finalize() stuff suggest that some C++
> code was linked into the backend?

IIRC __cxa_finalize also handles atexit() (and gcc
__attribute__((destructor))).

Greetings,

Andres Freund



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: Poorly-thought-out handling of double variables in pgbench
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [sqlsmith] Failed assertion in BecomeLockGroupLeader