[Python-Dev] Daily reference leaks (30f33e6a04c1): sum=975756

Brett Cannon brett at python.org
Fri Oct 18 20:04:09 CEST 2013


On Fri, Oct 18, 2013 at 1:53 PM, Brett Cannon <brett at python.org> wrote:

>
>
>
> On Fri, Oct 18, 2013 at 1:51 PM, Brett Cannon <brett at python.org> wrote:
>
>>
>>
>> On Fri, Oct 18, 2013 at 1:34 PM, Zachary Ware <
>> zachary.ware+pydev at gmail.com> wrote:
>>
>>> On Fri, Oct 18, 2013 at 12:30 PM, Antoine Pitrou <solipsis at pitrou.net>
>>> wrote:
>>> >
>>> > Is anyone looking into those leaks?
>>> > I suspect they might have to do with Serhiy's latest re changes in
>>> > add40e9f7cbe.
>>> > (just a barely educated guess, though)
>>>
>>> I have confirmed that and was working towards getting my findings
>>> posted when this message came in :).  Specifically, the leak is
>>> somewhere in sub (I believe pattern_subx() in _sre.c), but I currently
>>> lack the skill to figure out where.
>>>
>>
>> I think there is a Py_DECREF(list) call missing at line 2434. Running the
>> test suite now to verify.
>>
>
> Make that line 2430.
>

That was it, so Antoine and Zach were right about the location. Should be
fixed now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131018/e9b344e2/attachment-0001.html>


More information about the Python-Dev mailing list