Re: libpq incompatibility

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq incompatibility
Дата
Msg-id 17763.1059054363@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq incompatibility  ("Admin Gaston" <admin@intergamesclub.com>)
Список pgsql-bugs
"Admin Gaston" <admin@intergamesclub.com> writes:
> When the program is running for a while, it finish with segmentation fault =
> (core dumped).

> #0  0x420742e2 in _int_malloc () from /lib/tls/libc.so.6
> #1  0x4207360b in malloc () from /lib/tls/libc.so.6
> #2  0x400278b3 in PQmakeEmptyPGresult () from /usr/lib/libpq.so.3

This looks like something has tromped on malloc's private data
structures --- that is, it wrote outside the boundaries of a malloc'd
data object.  Check your code for buffer overruns.  Also check for
something that didn't get recompiled after a change in a struct
declaration it depended on.

I doubt that it's libpq's problem per se.

            regards, tom lane

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

Предыдущее
От: "Thomas Behr"
Дата:
Сообщение: Re: Small problem in contrib/dbase/dbf2pg.c
Следующее
От: Adrian Calvin
Дата:
Сообщение: When "psql -l" is invoked from prompt and not completed, no other user can create a database..