Skip to content

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

@indygreg

Description

@indygreg
mannequin
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']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions