[issue37879] Segfaults in C heap type subclasses

2019-10-08 Thread Petr Viktorin
Petr Viktorin added the comment: Thanks to Stéphane and Eddie for fixing the refleak! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue37879] Segfaults in C heap type subclasses

2019-09-13 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue: the change caused a regression on the Refleak buildbot workers: bpo-38150. -- nosy: +vstinner resolution: fixed -> status: closed -> open ___ Python tracker

[issue37879] Segfaults in C heap type subclasses

2019-09-12 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37879] Segfaults in C heap type subclasses

2019-09-12 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 3562ae25402aad36583bc27d4d82c67554323d5e by Petr Viktorin in branch '3.8': [3.8] bpo-37879: Suppress subtype_dealloc decref when base type is a C heap type (GH-15323, GH-16004) (GH-15966)

[issue37879] Segfaults in C heap type subclasses

2019-09-12 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 5e9caeec76119a0d61c25f1466c27b7dbd5115bd by Petr Viktorin in branch 'master': bpo-37879: Fix warnings in _testcapimodule (GH-16004) https://github.com/python/cpython/commit/5e9caeec76119a0d61c25f1466c27b7dbd5115bd --

[issue37879] Segfaults in C heap type subclasses

2019-09-11 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +15629 pull_request: https://github.com/python/cpython/pull/16004 ___ Python tracker ___

[issue37879] Segfaults in C heap type subclasses

2019-09-11 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +15599 pull_request: https://github.com/python/cpython/pull/15966 ___ Python tracker ___

[issue37879] Segfaults in C heap type subclasses

2019-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset ff023ed36ea260ab64be5895f1f1f087c798987a by Petr Viktorin (Eddie Elizondo) in branch 'master': bpo-37879: Suppress subtype_dealloc decref when base type is a C heap type (GH-15323)

[issue37879] Segfaults in C heap type subclasses

2019-08-17 Thread Eddie Elizondo
Change by Eddie Elizondo : -- keywords: +patch pull_requests: +15040 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15323 ___ Python tracker ___

[issue37879] Segfaults in C heap type subclasses

2019-08-17 Thread Eddie Elizondo
New submission from Eddie Elizondo : `subtype_dealloc` is not correctly handling the reference count of c heap type subclasses. It has some builtin assumptions which can result in the type getting its reference count decreased more that it needs to be, leading to its destruction when it