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

os.chdir() may leak memory on Windows #77084

Closed
izbyshev mannequin opened this issue Feb 22, 2018 · 4 comments
Closed

os.chdir() may leak memory on Windows #77084

izbyshev mannequin opened this issue Feb 22, 2018 · 4 comments
Labels
3.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir OS-windows performance Performance or resource usage

Comments

@izbyshev
Copy link
Mannequin

izbyshev mannequin commented Feb 22, 2018

BPO 32903
Nosy @pfmoore, @vstinner, @tjguk, @zware, @zooba, @zhangyangyu, @izbyshev
PRs
  • bpo-32903: Fix a memory leak in os.chdir() on Windows #5801
  • [3.7] bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801) #5945
  • [3.6] bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801) #5946
  • [2.7] bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801). #5947
  • 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 2018-03-01.10:29:40.064>
    created_at = <Date 2018-02-22.00:37:42.528>
    labels = ['extension-modules', '3.7', '3.8', 'OS-windows', 'performance']
    title = 'os.chdir() may leak memory on Windows'
    updated_at = <Date 2018-03-01.10:29:40.063>
    user = 'https://github.com/izbyshev'

    bugs.python.org fields:

    activity = <Date 2018-03-01.10:29:40.063>
    actor = 'xiang.zhang'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-01.10:29:40.064>
    closer = 'xiang.zhang'
    components = ['Extension Modules', 'Windows']
    creation = <Date 2018-02-22.00:37:42.528>
    creator = 'izbyshev'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32903
    keywords = ['patch']
    message_count = 4.0
    messages = ['312522', '313086', '313090', '313091']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'steve.dower', 'xiang.zhang', 'izbyshev']
    pr_nums = ['5801', '5945', '5946', '5947']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue32903'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    @izbyshev
    Copy link
    Mannequin Author

    izbyshev mannequin commented Feb 22, 2018

    'new_path' is not freed if the new directory is a UNC path longer than MAX_PATH.

    @izbyshev izbyshev mannequin added 3.7 (EOL) end of life extension-modules C modules in the Modules dir OS-windows performance Performance or resource usage labels Feb 22, 2018
    @zhangyangyu
    Copy link
    Member

    New changeset 3e197c7 by Xiang Zhang (Alexey Izbyshev) in branch 'master':
    bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801)
    3e197c7

    @zhangyangyu
    Copy link
    Member

    New changeset aa40f92 by Xiang Zhang (Alexey Izbyshev) in branch '2.7':
    [2.7] bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801). (bpo-5947)
    aa40f92

    @zhangyangyu
    Copy link
    Member

    New changeset 6ae75d9 by Xiang Zhang (Miss Islington (bot)) in branch '3.7':
    bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801) (bpo-5945)
    6ae75d9

    @zhangyangyu zhangyangyu added the 3.8 (EOL) end of life label Mar 1, 2018
    @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 3.8 (EOL) end of life extension-modules C modules in the Modules dir OS-windows performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant