Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group