Open gvanrossum opened 2 months ago
Looks like the problem is that the GC is trying to traverse the statically allocated executor objects in COLD_EXITS
-- but those don't have space for the GC stuff that lives before the header. I'm not sure what to do about this yet.
OT: The address sanitizer output is incredibly helpful here, it led me straight to this problem.
Is this a duplicate of GH-118074?
Oh, it is. Thanks for finding that! (I looked but didn't find it.) Will close this and continue the conversation there.
Bug report
This was reported on security@python.org, but it's on the main branch, so I consider it's just a crasher bug.
The repro (for me) comes down to:
I've bisected it to 7b21403ccd16c480812a1e857c0ee2deca592be0: GH-112354: Initial implementation of warm up on exits and trace-stitching (GH-114142).
Note that the test passes, the crash happens somewhere during cleanup.