tracemalloc
aborts when run from threads in no-gil
#126315
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-free-threading
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
It's possible to get two different aborts from failed assertions, only with
PYTHON_GIL=0
, using the code below:The errors are:
And:
Found with fusil by @vstinner.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a1+ experimental free-threading build (heads/main:d467d9246c, Nov 1 2024, 09:05:56) [GCC 11.4.0]
The text was updated successfully, but these errors were encountered: