Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>, Максим Панченко <Panchenko(at)gw(dot)tander(dot)ru>, Соболев Виталий Анатольевич <sobolev_va(at)gw(dot)tander(dot)ru>, Сизов Сергей Павлович <sizov_sp(at)gw(dot)tander(dot)ru>, Мельковский Владимир Ярославович <Melkovskiy(at)gw(dot)tander(dot)ru>
Subject: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Date: 2013-12-16 23:18:14
Message-ID: CAL_0b1vyL_MNdQ1LZKE6+yt8h8e-mS0tMUugxturB3CYLN4mrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Just want to remind about this issue.

On Tue, Dec 10, 2013 at 2:36 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> writes:
>> On Tue, Dec 10, 2013 at 1:17 PM, Alvaro Herrera
>> <alvherre(at)2ndquadrant(dot)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

^^^

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-12-17 00:17:08 Re: BUG #8681: column 'n_tup_del' of pg_stat_user_tables doesn't change in case of truncate
Previous Message Rod Taylor 2013-12-16 23:06:51 Re: BUG #8681: column 'n_tup_del' of pg_stat_user_tables doesn't change in case of truncate