Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Дата
Msg-id 11347.1386715007@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs  (Sergey Konoplev <gray.ru@gmail.com>)
Ответы Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs  (Sergey Konoplev <gray.ru@gmail.com>)
Список pgsql-bugs
Sergey Konoplev <gray.ru@gmail.com> writes:
> On Tue, Dec 10, 2013 at 1:17 PM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
>> What's the likelihood that table "cars" was being modified concurrently?

> It is rather high. Probably even very high.

This doesn't smell like that's an issue though ...

Just eyeballing the code, I don't see how set-returning plpython functions
work at all.  Ever.  It looks like they allocate a bunch of stuff in the
SPI procedure context and expect it to still be there on the next call.
Why isn't this code falling over in any assert-enabled build?

            regards, tom lane

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

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Следующее
От: r.m.guerrero@usit.uio.no
Дата:
Сообщение: BUG #8675: Missing 9.3 RPMs for tail_n_mail in official yum repo