Re: double free corruption?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: double free corruption?
Дата
Msg-id 3918.1198860080@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: double free corruption?  (Erik Jones <erik@myemma.com>)
Список pgsql-general
Erik Jones <erik@myemma.com> writes:
> Well, if Postgres had killed the proc itself it would have written
> out a nicely formatted Postgres-style memory context report along
> with an ERROR message along the lines of OUT OF MEMORY and the
> request size and Postgres would not have bounced.  Since the
> postmaster dropped into recovery mode when the proc received the
> SIGABRT and died, that means that the signal came from somewhere
> else, OOM killer?

No, an abort() is expected when glibc's malloc code detects a problem,
and all that other junk is stuff that malloc helpfully prints on stderr
before committing hara-kiri.

This seems clearly a memory-stomp bug of some kind (although there's
a very small probability that it was a transient RAM glitch).  Not much
we can do about it without a test case, though.

            regards, tom lane

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

Предыдущее
От: marcelo Cortez
Дата:
Сообщение: Re: double free corruption?
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: default superuser