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

[EASY][Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references #74731

Closed
vstinner opened this issue Jun 2, 2017 · 4 comments
Labels
3.7 (EOL) end of life easy OS-windows performance Performance or resource usage

Comments

@vstinner
Copy link
Member

vstinner commented Jun 2, 2017

BPO 30546
Nosy @pfmoore, @vstinner, @tjguk, @zware, @eryksun, @zooba
Superseder
  • bpo-30567: Leak in sys.getwindowsversion
  • 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-07.15:44:44.969>
    created_at = <Date 2017-06-02.08:53:09.772>
    labels = ['easy', '3.7', 'OS-windows', 'performance']
    title = '[EASY][Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references'
    updated_at = <Date 2017-06-07.15:44:44.967>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-06-07.15:44:44.967>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-07.15:44:44.969>
    closer = 'vstinner'
    components = ['Windows']
    creation = <Date 2017-06-02.08:53:09.772>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30546
    keywords = ['easy (C)']
    message_count = 4.0
    messages = ['294989', '294994', '295325', '295350']
    nosy_count = 6.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '30567'
    type = 'resource usage'
    url = 'https://bugs.python.org/issue30546'
    versions = ['Python 3.7']

    @vstinner
    Copy link
    Member Author

    vstinner commented Jun 2, 2017

    http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Refleaks%203.6/builds/15/steps/test/logs/stdio

    0:00:17 [ 4/405/1] test_platform failed
    ......
    beginning 6 repetitions
    123456

    test_platform leaked [12, 12, 12] references, sum=36
    test_platform leaked [4, 4, 4] memory blocks, sum=12

    To reproduce the bug, use the command:

    python -m test -R 3:3 -m test_uname_win32_ARCHITEW6432 test_platform

    Note: Leak isolated my bisect_test.py of bpo-29512.

    @vstinner vstinner added 3.7 (EOL) end of life OS-windows performance Performance or resource usage labels Jun 2, 2017
    @vstinner vstinner changed the title test_uname_win32_ARCHITEW6432() of test_platform leaks references [Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references Jun 2, 2017
    @vstinner
    Copy link
    Member Author

    vstinner commented Jun 2, 2017

    I tagged this issue as easy. I consider that it's a good exercice for new contributors. Core developers: please let new contributors try to fix it since this issue is not critical, try to explain how to fix it rather than writing the fix ;-)

    @vstinner vstinner added the easy label Jun 2, 2017
    @vstinner vstinner changed the title [Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references [EASY][Windows] test_uname_win32_ARCHITEW6432() of test_platform leaks references Jun 2, 2017
    @vstinner
    Copy link
    Member Author

    vstinner commented Jun 7, 2017

    It seems like the bug was already fixed last days!

    @vstinner
    Copy link
    Member Author

    vstinner commented Jun 7, 2017

    Ok, this issue was a duplicate of bpo-30567 which was already fixed.

    @vstinner vstinner closed this as completed Jun 7, 2017
    @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 easy OS-windows performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant