Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_free_different_thread() of test_code leaks references on Python 3.6 #74889

Closed
vstinner opened this issue Jun 19, 2017 · 5 comments
Closed
Labels
3.7 (EOL) end of life performance Performance or resource usage

Comments

@vstinner
Copy link
Member

BPO 30704
Nosy @vstinner, @ned-deily, @DinoV, @1st1
PRs
  • bpo-30704, bpo-30604: Fix memleak in code_dealloc() #2455
  • [3.6] bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) #2456
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-06-28.00:32:06.547>
    created_at = <Date 2017-06-19.15:28:11.008>
    labels = ['3.7', 'performance']
    title = 'test_free_different_thread() of test_code leaks references on Python 3.6'
    updated_at = <Date 2017-07-08.04:51:40.210>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-07-08.04:51:40.210>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-28.00:32:06.547>
    closer = 'vstinner'
    components = []
    creation = <Date 2017-06-19.15:28:11.008>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30704
    keywords = []
    message_count = 5.0
    messages = ['296350', '296919', '297080', '297083', '297934']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'ned.deily', 'dino.viehland', 'yselivanov']
    pr_nums = ['2455', '2456']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue30704'
    versions = ['Python 3.6', 'Python 3.7']

    @vstinner
    Copy link
    Member Author

    haypo@selma$ ./python -m test -m test.test_code.CoExtra.test_free_different_thread -R 3:3 test_code
    Run tests sequentially
    test_code leaked [2, 1, 1] memory blocks, sum=4

    The regression was introduced by the bpo-30604: commit 2997fec.

    @vstinner vstinner added the performance Performance or resource usage label Jun 19, 2017
    @vstinner
    Copy link
    Member Author

    Ping Dino & Yury! test_code still leaks in 3.6 and master branches.

    @vstinner
    Copy link
    Member Author

    New changeset 23e7944 by Victor Stinner in branch 'master':
    bpo-30704, bpo-30604: Fix memleak in code_dealloc() (bpo-2455)
    23e7944

    @vstinner
    Copy link
    Member Author

    New changeset 26daad4 by Victor Stinner in branch '3.6':
    bpo-30704, bpo-30604: Fix memleak in code_dealloc() (bpo-2455) (bpo-2456)
    26daad4

    @vstinner vstinner added the 3.7 (EOL) end of life label Jun 28, 2017
    @ned-deily
    Copy link
    Member

    New changeset c794b64 by Ned Deily (Victor Stinner) in branch '3.6':
    bpo-30704, bpo-30604: Fix memleak in code_dealloc() (bpo-2455) (bpo-2456)
    c794b64

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants