Re: readline usage in psql...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: readline usage in psql...
Date: 2003-01-21 22:22:16
Message-ID: 13073.1043187736@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Sean Chittenden <sean(at)chittenden(dot)org> writes:
> #0 0x281cbaeb in sigprocmask () from /usr/lib/libc.so.5
> #1 0x280c5a2a in _rl_savestring () from /usr/lib/libreadline.so.4
> #2 <signal handler called>
> #3 0x28168803 in read () from /usr/lib/libc.so.5
> #4 0x280c1c79 in rl_read_key () from /usr/lib/libreadline.so.4
> #5 0x280d407f in readline_internal_char () from /usr/lib/libreadline.so.4
> #6 0x280d4235 in readline_internal_char () from /usr/lib/libreadline.so.4
> #7 0x280d426e in readline_internal_char () from /usr/lib/libreadline.so.4
> #8 0x280d3dad in readline () from /usr/lib/libreadline.so.4
> #9 0x0804ede4 in PQclientEncoding () at fe-connect.c:2725
> #10 0x0804f697 in PQclientEncoding () at fe-connect.c:2725
> #11 0x08051653 in PQclientEncoding () at fe-connect.c:2725
> #12 0x0804a485 in PQclientEncoding () at fe-connect.c:2725

I don't believe a word of this backtrace; PQclientEncoding isn't
recursive and it doesn't call readline.

Possibly the stack is already corrupt by the time the coredump occurs?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sean Chittenden 2003-01-21 22:35:50 Re: readline usage in psql...
Previous Message Sean Chittenden 2003-01-21 21:10:34 readline usage in psql...