Re: Re: Patch to fix crashes with python debug
"M.-A. Lemburg" <[email protected]> Thu, 11 Sep 2014 14:27:02 +0200
| Newsgroups | gmane.comp.python.egenix.user |
|---|---|
| Organization | eGenix.com Software GmbH; http://www.egenix.com/ |
| Message-ID | <[email protected]> |
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. > Thanks, > Edson Tadeu M. Manoel > > > > On Wed, Sep 10, 2014 at 6:40 PM, Edson Tadeu M. Manoel <[email protected]> > wrote: > >> Hi, >> >> 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? >> >> >> Thanks. >> >> <http://www.esss.com.br/> >> > > > > > > > _______________________________________________________________________ > eGenix.com User Mailing List http://www.egenix.com/ > https://www.egenix.com/mailman/listinfo/egenix-users > -- Marc-Andre Lemburg 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 http://www.egenix.com/company/contact/ _______________________________________________________________________ eGenix.com User Mailing List http://www.egenix.com/ https://www.egenix.com/mailman/listinfo/egenix-users