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

Closed

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']

    Activity

    1. indygreg commented on Apr 28, 2020

      indygregmannequin
      MannequinAuthor

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

    2. miss-islington commented on May 1, 2020

      @miss-islington
      Contributor

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

    3. miss-islington commented on May 1, 2020

      @miss-islington
      Contributor

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

    4. 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[/+] on May 15, 2020
    5. 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[/+] on May 15, 2020
    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions