This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test__xxsubinterpreters leaked references and memory blocks
Type: resource usage Stage: resolved
Components: Interpreter Core, Tests Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow, pablogsal, vstinner
Priority: normal Keywords: patch

Created on 2019-03-27 10:00 by pablogsal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12586 merged pablogsal, 2019-03-27 12:26
Messages (3)
msg338949 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2019-03-27 10:00
The buildbot x86 Gentoo Refleaks 3.x/546 had detected that test__xxxsubinterpreters is leaking references and blocks:

test__xxsubinterpreters leaked [138, 138, 138] references, sum=414
test__xxsubinterpreters leaked [69, 69, 69] memory blocks, sum=207
4 tests failed again:
    test__xxsubinterpreters test_atexit test_capi test_threading


https://buildbot.python.org/all/#/builders/1/builds/546
msg338951 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2019-03-27 10:27
Bisecting shows that:

8b9dbc017a190d13f717e714630d620adb7c7ac2 is the first bad commit
commit 8b9dbc017a190d13f717e714630d620adb7c7ac2
Author: Victor Stinner <vstinner@redhat.com>
Date:   Wed Mar 27 01:36:16 2019 +0100

    bpo-36444: Remove _PyMainInterpreterConfig (GH-12571)
msg338957 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-03-27 12:43
New changeset 34ef64fe5947bd7e1b075c785fc1125c4e600cd4 by Victor Stinner (Pablo Galindo) in branch 'master':
bpo-36447, bpo-36447: Fix refleak in _PySys_InitMain() (GH-12586)
https://github.com/python/cpython/commit/34ef64fe5947bd7e1b075c785fc1125c4e600cd4
History
Date User Action Args
2022-04-11 14:59:13adminsetgithub: 80628
2019-03-27 13:00:37ZackerySpytzsettitle: test__xxsubinterpreters leaked regards and memory blocks -> test__xxsubinterpreters leaked references and memory blocks
2019-03-27 12:44:16vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-03-27 12:43:52vstinnersetmessages: + msg338957
2019-03-27 12:26:56pablogsalsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12528
2019-03-27 10:27:54pablogsalsetmessages: + msg338951
2019-03-27 10:17:05pablogsalsetmessages: - msg338950
2019-03-27 10:15:18pablogsalsetmessages: + msg338950
2019-03-27 10:08:10xtreaksetnosy: + vstinner, eric.snow
2019-03-27 10:00:53pablogsalcreate