On 16/08/11 19:12, Jan Urbański wrote:
> On 16/08/11 19:07, Jean-Baptiste Quenot wrote:
>> Dear Jan,
>>
>> Sorry I typed the wrong git commands.  With latest plpython from
>> branch master I got the same gdb backtrace as reported before.  I
>> managed to wrap up a testcase that fails 100% of times on my setup:
>> https://gist.github.com/1149512
>>
>> Hope it crashes on your side too :-)
> 
> Awesome, it segfaults for me with HEAD ;)
> 
> Now it's just a simple matter of programming... I'll take a look at it
> this evening.

Found it, we're invalidating the compiled functions cache when input
composite arguments change, but not when output composite arguments
change and the function gets called with pointers to invalid I/O routines.

I'll have a patch ready soon.

Jan

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to