[egenix-users] Re: Patch to fix crashes with python debug
mal at egenix.com
Thu Sep 11 15:27:02 CEST 2014
On 11.09.2014 13:58, Edson Tadeu M. Manoel wrote:
> Please find the patch attached.
> It applies to mx version 3.2.5. It fixes the problem where `_ob_next` and
> `_ob_prev` were being rewritten by the `mxDateTime_FreeList` mechanism, and
> also where `mxDateTime` objects were being deallocated without previously
> "rewiring" the `_ob_next` and `_ob_prev` links (by calling `mxDateTime_Free`
> directly, who called `PyObject_Del` directly instead of using `Py_DECREF`
> or `Py_XDECREF` or `Py_Clear`).
> I'm also attaching a very simple test case that is fixed by the patch (the
> test crashed in python debug).
Thanks for the patch. We'll have a look into the problem and
add a fix to the next release.
> Edson Tadeu M. Manoel
> On Wed, Sep 10, 2014 at 6:40 PM, Edson Tadeu M. Manoel <tadeu at esss.com.br>
>> I have a patch proposal to fix problems in mx.DateTime that causes
>> crashes in the debug version of Python (I'm testing on Python 2.7).
>> Specifically, the problem happens when there is an error raised from one of
>> the "constructors". Where can I send it? I didn't find any official
>> repository or issue tracking system. Is this list a good place?
> eGenix.com User Mailing List http://www.egenix.com/
Professional Python Services directly from the Source (#1, Sep 11 2014)
>>> Python Projects, Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
2014-09-19: PyCon UK 2014, Coventry, UK ... 8 days to go
2014-09-27: PyDDF Sprint 2014 ... 16 days to go
2014-09-30: Python Meeting Duesseldorf ... 19 days to go
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the egenix-users