Re: BUG #5731: postmaster sometimes dumps core when handling local connections

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #5731: postmaster sometimes dumps core when handling local connections
Дата
Msg-id 4CC85D76.4090808@enterprisedb.com
обсуждение исходный текст
Ответ на BUG #5731: postmaster sometimes dumps core when handling local connections  ("Alexander V. Chernikov" <melifaro@ipfw.ru>)
Список pgsql-bugs
On 27.10.2010 18:19, Alexander V. Chernikov wrote:
> Program terminated with signal 11, Segmentation fault.
> .....
> #0  0x0000000000638f1a in ConnCreate (serverFd=4) at postmaster.c:1939
>
> 1939            port->gss = (pg_gssinfo *) calloc(1, sizeof(pg_gssinfo));

Hmm, so you get a crash whenever accept() or one of the other calls in
StreamConnection fails, and the server is compiled with GSSAPI. Funny
that it has gone unnoticed for such a long time, clearly accept() and
friends don't fail very often.

> This simple patch seem to fix the problem

Thanks, patch applied.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: "Alexander V. Chernikov"
Дата:
Сообщение: BUG #5731: postmaster sometimes dumps core when handling local connections
Следующее
От: Alexia Lau
Дата:
Сообщение: Re: BUG