-
-
Notifications
You must be signed in to change notification settings - Fork 32k
test__xxsubinterpreters: test_already_running() crash randomly on Python built with TraceRefs: invalid object chain #107080
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
Comments
The object chain is invalid:
|
Similar error in test_interpreters.test_create_many_threaded():
|
|
…h-107567) The linked list of objects was a global variable, which broke isolation between interpreters, causing crashes. To solve this, we've moved the linked list to each interpreter.
…ters (pythongh-107567) The linked list of objects was a global variable, which broke isolation between interpreters, causing crashes. To solve this, we've moved the linked list to each interpreter. (cherry picked from commit 58ef741) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…eters (gh-107567) (#107599) gh-107080: Fix Py_TRACE_REFS Crashes Under Isolated Subinterpreters (gh-107567) The linked list of objects was a global variable, which broke isolation between interpreters, causing crashes. To solve this, we've moved the linked list to each interpreter. (cherry picked from commit 58ef741) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…ted Subinterpreters (pythongh-107567) (python#107599)" This reverts commit 58af229.
…lated Subinterpreters (pythongh-107567) (python#107599)". This reverts commit 6e4eec7 (pythongh-107648).
@serhiy-storchaka: Hum, is this issue fixed or not? |
I reopened it only because the backport to 3.12 was not merged yet. I linked the backport PR to this issue and thought that merging it will automatically close the issue, but it did not happen. |
AMD64 Arch Linux TraceRefs 3.x: https://buildbot.python.org/all/#/builders/484/builds/3721
Assertion error: Objects/object.c:2235: _Py_ForgetReference: Assertion failed: invalid object chain.
Python built with:
Linked PRs
The text was updated successfully, but these errors were encountered: