Re: segfault on rollback

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: segfault on rollback
Дата
Msg-id 14967.1155440880@sss.pgh.pa.us
обсуждение исходный текст
Ответ на segfault on rollback  ("Sergey E. Koposov" <math@sai.msu.ru>)
Ответы Re: segfault on rollback
Список pgsql-hackers
"Sergey E. Koposov" <math@sai.msu.ru> writes:
> I recently have seen the segfault with Postgres 8.1.4.

I'm betting that portal->sourceText has already been deallocated when
exec_execute_message tries to print the log message.  Getting an actual
segfault from that would very probably be hard to reproduce, but if you
build with --enable-cassert it should not be too hard to reproduce
corruption of the log message, ie, display of garbage instead of
"ROLLBACK" as the command text.  Please try that and see if you can
generate a self-contained test case.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Adding fulldisjunctions to the contrib
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: [PATCHES] Adding fulldisjunctions to the contrib