Re: readline usage in psql...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: readline usage in psql...
Дата
Msg-id 13073.1043187736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на readline usage in psql...  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: readline usage in psql...  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-bugs
Sean Chittenden <sean@chittenden.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

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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: readline usage in psql...
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: readline usage in psql...