Skip to content

Crash of interpreter due to unclosed sub-interpreters #113433

Description

@Eclips4

Crash report

Reproducer:

import _xxsubinterpreters as interp

interp_id = interp.create()

Trace:

Fatal Python error: PyInterpreterState_Delete: remaining subinterpreters
Python runtime state: finalizing (tstate=0x00005576a7f343e0)

Aborted

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

  1. Eclips4 commented on Dec 23, 2023

    @Eclips4
    MemberAuthor
  2. ericsnowcurrently commented on Jan 25, 2024

    @ericsnowcurrently
    Member

    Sorry for the delay. I'll try to take a look in the next day or two.

  3. added a commit that references this issue on Jun 26, 2024
  4. added 2 commits that reference this issue on Jun 26, 2024
  5. ericsnowcurrently commented on Jun 26, 2024

    @ericsnowcurrently
    Member

    This should be all sorted for main and 3.13. Backporting to 3.12 isn't really an option.

  6. added a commit that references this issue on Jun 30, 2024
  7. added a commit that references this issue on Jul 11, 2024
  8. added a commit that references this issue on Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions