Re: BUG #2246: Bad malloc interactions: ecpg, openssl

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2246: Bad malloc interactions: ecpg, openssl
Дата
Msg-id 23040.1139954156@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2246: Bad malloc interactions: ecpg, openssl  ("Andy Klosterman" <andrew5@ece.cmu.edu>)
Список pgsql-bugs
Andrew Klosterman <andrew5@ece.cmu.edu> writes:
> (gdb) print *conn
> ...
>   allow_ssl_try = 1 '\001', wait_ssl_try = 0 '\0', ssl = 0x806d1d0,
>   peer = 0x807e430,
> ...
> *** glibc detected *** corrupted double-linked list: 0x0807e428 ***

Hm, it looks like the problem is associated with whatever was allocated
just before conn->peer (which is returned by SSL_get_peer_certificate
called from open_client_SSL).  Can you get efence or some other tool to
produce a trace of malloc calls so we can determine what that is?

            regards, tom lane

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: BUG #2246: Bad malloc interactions: ecpg, openssl
Следующее
От: "Michal Dvoracek"
Дата:
Сообщение: BUG #2259: never ending select from selects