diff options
| author | Sam Gross <colesbury@gmail.com> | 2025-02-12 23:09:15 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-12 23:09:15 (GMT) |
| commit | e09442089eb86d88d4b5a96e56f713cb31173ae9 (patch) | |
| tree | c226bba4ee51fda97810b3dc16a64b76be31d1d2 /Python/pythonrun.c | |
| parent | 791cdfe1416a591e240b8ffc6f10eb6f659c8277 (diff) | |
| download | cpython-e09442089eb86d88d4b5a96e56f713cb31173ae9.zip cpython-e09442089eb86d88d4b5a96e56f713cb31173ae9.tar.gz cpython-e09442089eb86d88d4b5a96e56f713cb31173ae9.tar.bz2 | |
gh-130030: Fix crash on 32-bit Linux with free threading (gh-130043)
The `gc_get_refs` assertion needs to be after we check the alive and
unreachable bits. Otherwise, `ob_tid` may store the actual thread id
instead of the computed `gc_refs`, which may trigger the assertion if
the `ob_tid` looks like a negative value.
Also fix a few type warnings on 32-bit systems.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
