Closed markshannon closed 2 weeks ago
There are no new tests as I can't see a way to test this, especially the out-of-memory checks.
The 32 bit Windows Jit build failure is probably unrelated as it has been flaky lately.
Hi! The buildbot ARM64 MacOS M1 Refleaks NoGIL 3.x has failed when building commit f6fab21721c8aedc5dca97dbeb6292a067c19bf1.
What do you need to do:
You can take a look at the buildbot page here:
https://buildbot.python.org/all/#builders/1368/builds/882
Failed tests:
Failed subtests:
Summary of the results of the build (if available):
==
This fixes a crash when an executor forms a reference cycle with itself. This bug has been present for a while, but was only exposed by https://github.com/python/cpython/pull/118420.
Also fixes another latent bug in
_Py_Executors_InvalidateDependency
, where clearing one executor could clear another leaving the iteration variable pointing to freed memory.The ~three main changes~ amongst the main changes are:
_Py_Executors_InvalidateDependency
RESUME
toRESUME_CHECK
: ConvertingENTER_EXECUTOR
toRESUME_CHECK
would loose the executor.