Re: Minimum supported version of Python? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Minimum supported version of Python?
Date
Msg-id 30887.1395780841@sss.pgh.pa.us
Whole thread Raw
In response to Re: Minimum supported version of Python?  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Minimum supported version of Python?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-03-25 15:08:16 -0400, Tom Lane wrote:
>> It's 100% reproducible on prairiedog, which is a Mac Cube running Tiger,
>> and using the version of python that came with Tiger (2.3.5 :-().  It
>> seems not impossible that we're looking at a long-since-fixed python
>> bug, but the fact that that specific commit made it appear or disappear
>> is troubling.

> Yea, agreed.

> If there's a refcounting bug inside python somewhere (which is easy to
> trigger in python's C interface), it could be excerbated by that change,
> since it frees/compiles functions more frequently. But I'd very much
> like more evidence of this...

I think it's not a refcount issue, or at least not solely that.  As best
I can tell, there's a stack clobber involved, because gdb can't make sense
of the stack after the exception hits.  I've been trying to localize it
more closely, but it's slow going because Apple's copy of python doesn't
include debug symbols.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Minimum supported version of Python?
Next
From: Andrew Dunstan
Date:
Subject: small regression adjustment