| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
|---|---|
| To: | Andrew Klosterman <andrew5(at)ece(dot)cmu(dot)edu> | 
| Cc: | Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-bugs(at)postgresql(dot)org | 
| Subject: | Re: BUG #2246: Bad malloc interactions: ecpg, openssl | 
| Date: | 2006-02-14 21:55:56 | 
| Message-ID: | 23040.1139954156@sss.pgh.pa.us | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-bugs pgsql-patches | 
Andrew Klosterman <andrew5(at)ece(dot)cmu(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | bug1 | 2006-02-15 07:14:50 | BUG #2263: corrupted pgstat.stat file | 
| Previous Message | Andrew Klosterman | 2006-02-14 21:35:28 | Re: BUG #2246: Bad malloc interactions: ecpg, openssl | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-02-14 21:58:57 | Re: Free WAL caches on switching segments | 
| Previous Message | Simon Riggs | 2006-02-14 21:54:12 | Re: Patch Submission Guidelines |