Re: Psql crashes with Segmentation fault on copy from

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Psql crashes with Segmentation fault on copy from
Дата
Msg-id 28736.1211987350@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Psql crashes with Segmentation fault on copy from  ("Francisco Reyes" <lists@stringsutils.com>)
Ответы Re: Psql crashes with Segmentation fault on copy from
Re: Psql crashes with Segmentation fault on copy from
Список pgsql-general
"Francisco Reyes" <lists@stringsutils.com> writes:
> (gdb) bt
> #0  0x0000003cc31723e6 in memcpy () from /lib64/tls/libc.so.6
> #1  0x000000364bf0e0ae in PQunescapeBytea () from /usr/lib64/libpq.so.5
> #2  0x000000364bf0e230 in PQunescapeBytea () from /usr/lib64/libpq.so.5
> #3  0x000000364bf0c09e in PQsendQuery () from /usr/lib64/libpq.so.5
> #4  0x000000364bf0c788 in PQexec () from /usr/lib64/libpq.so.5
> #5  0x0000000000406e95 in ?? ()
> #6  0x0000000000409dfa in ?? ()
> #7  0x000000000040408d in ?? ()

> Is that what you need?

Well, it would be if it were right; but PQsendQuery doesn't call
PQunescapeBytea, so there's something wrong with the debug info.
(The fact that we're not seeing any parameter values is another
tip that it's not right.  Apparently gdb doesn't think the debuginfo
matches at all.)

> I installed
> compat-postgresql-libs-debuginfo-3-2PGDG.rhel4.x86_64.rpm
> postgresql-debuginfo-8.2.7-1PGDG.rhel4.x86_64.rpm

Do those *exactly* match the versions of the Postgres RPMs you're
using?

            regards, tom lane

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

Предыдущее
От: "Francisco Reyes"
Дата:
Сообщение: Re: Psql crashes with Segmentation fault on copy from
Следующее
От: "Francisco Reyes"
Дата:
Сообщение: Re: Psql crashes with Segmentation fault on copy from