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

Bugfix: va_build_stack leaks the stack if do_mkstack fails #85705

Closed
tontinton mannequin opened this issue Aug 12, 2020 · 5 comments
Closed

Bugfix: va_build_stack leaks the stack if do_mkstack fails #85705

tontinton mannequin opened this issue Aug 12, 2020 · 5 comments

Comments

@tontinton
Copy link
Mannequin

tontinton mannequin commented Aug 12, 2020

BPO 41533
Nosy @benjaminp, @miss-islington, @tontinton
PRs
  • bpo-41533: Fix a potential memory leak when allocating a stack #21847
  • [3.9] closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) #22014
  • [3.8] closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) #22015
  • [3.9] closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) #22103
  • 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 2020-08-30.04:53:16.819>
    created_at = <Date 2020-08-12.17:27:41.496>
    labels = []
    title = 'Bugfix: va_build_stack leaks the stack if do_mkstack fails'
    updated_at = <Date 2020-09-04.22:56:08.214>
    user = 'https://github.com/tontinton'

    bugs.python.org fields:

    activity = <Date 2020-09-04.22:56:08.214>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-08-30.04:53:16.819>
    closer = 'benjamin.peterson'
    components = []
    creation = <Date 2020-08-12.17:27:41.496>
    creator = 'tontinton'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41533
    keywords = ['patch']
    message_count = 5.0
    messages = ['375267', '376080', '376097', '376409', '376413']
    nosy_count = 3.0
    nosy_names = ['benjamin.peterson', 'miss-islington', 'tontinton']
    pr_nums = ['21847', '22014', '22015', '22103']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue41533'
    versions = []

    @tontinton
    Copy link
    Mannequin Author

    tontinton mannequin commented Aug 12, 2020

    When calling a function a stack is allocated via va_build_stack.

    There is a leak that happens if do_mkstack fails in it.

    @tontinton
    Copy link
    Mannequin Author

    tontinton mannequin commented Aug 29, 2020

    bump

    @benjaminp
    Copy link
    Contributor

    New changeset 75c80b0 by Tony Solomonik in branch 'master':
    closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847)
    75c80b0

    @miss-islington
    Copy link
    Contributor

    New changeset 66e9c2a by Miss Islington (bot) in branch '3.8':
    [3.8] closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) (GH-22015)
    66e9c2a

    @miss-islington
    Copy link
    Contributor

    New changeset 106c1df by Miss Islington (bot) in branch '3.9':
    closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847)
    106c1df

    @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
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants