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

[subinterpreters] inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process #84592

Closed
indygreg mannequin opened this issue Apr 28, 2020 · 3 comments
Labels
3.8 only security fixes 3.9 only security fixes topic-C-API topic-subinterpreters type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@indygreg
Copy link
Mannequin

indygreg mannequin commented Apr 28, 2020

BPO 40412
Nosy @indygreg, @miss-islington
PRs
  • bpo-40412: Nullify inittab_copy during finalization #19746
  • [3.8] bpo-40412: Nullify inittab_copy during finalization (GH-19746) #19841
  • [3.7] bpo-40412: Nullify inittab_copy during finalization (GH-19746) #19842
  • 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 2021-06-18.19:05:46.542>
    created_at = <Date 2020-04-28.00:51:49.945>
    labels = ['expert-subinterpreters', 'expert-C-API', '3.8', '3.9', 'type-crash']
    title = '[subinterpreters] inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process'
    updated_at = <Date 2021-06-18.19:05:46.541>
    user = 'https://github.com/indygreg'

    bugs.python.org fields:

    activity = <Date 2021-06-18.19:05:46.541>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-18.19:05:46.542>
    closer = 'iritkatriel'
    components = ['C API', 'Subinterpreters']
    creation = <Date 2020-04-28.00:51:49.945>
    creator = 'indygreg'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40412
    keywords = ['patch']
    message_count = 3.0
    messages = ['367477', '367869', '367895']
    nosy_count = 2.0
    nosy_names = ['indygreg', 'miss-islington']
    pr_nums = ['19746', '19841', '19842']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue40412'
    versions = ['Python 3.8', 'Python 3.9']

    @indygreg
    Copy link
    Mannequin Author

    indygreg mannequin commented Apr 28, 2020

    Filing a bug to placate the requirement that pull requests have issues.

    @indygreg indygreg mannequin added 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes topic-C-API type-crash A hard crash of the interpreter, possibly with a core dump labels Apr 28, 2020
    @miss-islington
    Copy link
    Contributor

    New changeset 64224a4 by Gregory Szorc in branch 'master':
    bpo-40412: Nullify inittab_copy during finalization (GH-19746)
    64224a4

    @miss-islington
    Copy link
    Contributor

    New changeset 1205afb by Miss Islington (bot) in branch '3.8':
    bpo-40412: Nullify inittab_copy during finalization (GH-19746)
    1205afb

    @vstinner vstinner changed the title inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process [subinterpreters] inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process May 15, 2020
    @vstinner vstinner changed the title inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process [subinterpreters] inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process May 15, 2020
    @iritkatriel iritkatriel removed the 3.7 (EOL) end of life label Jun 18, 2021
    @iritkatriel iritkatriel removed the 3.7 (EOL) end of life label Jun 18, 2021
    @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.8 only security fixes 3.9 only security fixes topic-C-API topic-subinterpreters type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants