Commit fa9773e
authored
`faulthandler_traverse` visits Python objects owned by `_PyRuntime`, not
by the module instance. With multi-phase init allowing multiple module
instances, each instance's GC traversal decrements `gc_refs` on the same
runtime-owned objects, driving it negative when two instances are
collected simultaneously.
(cherry picked from commit 5673748)
1 parent 1243cd6 commit fa9773e
2 files changed
Lines changed: 1 addition & 15 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Modules
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | | - | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | 1251 | | |
1266 | 1252 | | |
1267 | 1253 | | |
| |||
1394 | 1380 | | |
1395 | 1381 | | |
1396 | 1382 | | |
1397 | | - | |
1398 | 1383 | | |
1399 | 1384 | | |
1400 | 1385 | | |
| |||
0 commit comments