Closed
Description
Crash report
What happened?
The make testios
testing target crashes when compiled --with-pydebug
enabled (as is done in CI).
The error is a SIGABRT, raised during test_types
; however, running test_types
by itself isn't enough to reproduce the problem.
The error is raised on L8476 of typeobject.c
:
assert(self->tp_version_tag != 0);
The same failure can be manufactured on macOS with M1 hardware, as long as the test suite is executed as a single process (i.e. python -m test
, not the multi-process option enabled by make test
).
Full error trace on iOS:
stacktrace.txt
The same problem doesn't appear to occur when debug is not enabled.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS, iOS
Output from running 'python -VV' on the command line:
3.14.0a0; verified on 2bac2b86, but possibly present back to dc03ce7
Linked PRs
- gh-121832: Skip subinterpreter static type check on iOS to restore test suite. #122150
- [3.13] gh-121832: Skip subinterpreter static type check on iOS to restore test suite. (GH-122150) #122159
- GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. #122182
- [3.13] GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. (GH-122182) #122290
- gh-121832: Revert test skip introduced by #122150. #122340
- [3.13] gh-121832: Revert test skip introduced by GH-122150. (GH-122340) #122342