Repository navigation
Commit 4bb96fc
In a free-threaded build, if allocating the thread-local bytecode cache fails after the code-object cache has been created, the initializer destroys the first cache and returns an error without clearing its pointer. Failed construction then invokes the unwinder's deallocator, which destroys the same cache again and can crash the profiling process instead of propagating `MemoryError`.
(cherry picked from commit b577a54)
Co-authored-by: Jelle Zijlstra <jelle@openai.com>
1 parent 2d4adac commit 4bb96fc
2 files changed
Lines changed: 1 addition & 1 deletion
File tree
- Misc/NEWS.d/next/Library
- Modules/_remote_debugging
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
| |||
0 commit comments