-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
test_repl's test_no_memory: AssertionError: -6 not found in (1, 120) #118331
Comments
I am able to reproduce it locally when checking out #118283 (but not in main for whatever reason). The bug I saw was due to We should call |
When detaching a dict, the copy_values call may fail due to out-of-memory errors. This can be triggered by test_no_memory in test_repl.
…ng weakrefs (#118338) It's not safe to raise an exception in `PyObject_ClearWeakRefs()` if one is not already set, since it may be called by `_Py_Dealloc()`, which requires that the active exception does not change. Additionally, make sure we clear the weakrefs even when tuple allocation fails.
When detaching a dict, the `copy_values` call may fail due to out-of-memory errors. This can be triggered by test_no_memory in test_repl.
@hugovk, both PRs are now merged. When you get a chance to merge |
Passing now, thank you! After the first run, 5 tests failed on "Windows (free-threading) / build and test (x86)" but passed when restarted. https://github.com/python/cpython/actions/runs/8884999534/attempts/1 https://github.com/python/cpython/actions/runs/8884999534/job/24396359883 |
Bug report
Bug description:
One of my PRs (#118283) started failing (https://github.com/python/cpython/actions/runs/8843882336?pr=118283) with this. Investigating, I can reproduce it locally on
main
, although I don't know why the CI passes onmain
.OS: macOS Sonoma 14.4.1, M2.
To reproduce
Actual result
Printing
output
from the test:Expected result
It passes with
v3.13.0a5
, whereoutput
is:The main difference is the failure includes this:
Bisecting
PR: #117168
Issue: #111926
The PR was merged three weeks ago and the CI is passing.
On my PR (https://github.com/python/cpython/actions/runs/8843882336?pr=118283), free-threaded builds pass, but regular ones fail. Ubuntu and macOS fail with:
Windows with:
3221225477 seems to be 0xc0000005
STATUS_ACCESS_VIOLATION
.CPython versions tested on:
3.13
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: