Commit 44f3149
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 8ee6aff commit 44f3149
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 | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | 1183 | | |
1198 | 1184 | | |
1199 | 1185 | | |
| |||
1322 | 1308 | | |
1323 | 1309 | | |
1324 | 1310 | | |
1325 | | - | |
1326 | 1311 | | |
1327 | 1312 | | |
1328 | 1313 | | |
| |||
0 commit comments