Actions
Bug #22415
openThread.handle_interrupt needs to preserve errinfo
Bug #22415:
Thread.handle_interrupt needs to preserve errinfo
Description
Thread.handle_interrupt checks for interrupts after its block has returned but before re-raising the break/return that left the block. A signal trap that runs in that window clears ec->errinfo, which is where the throw data for the pending break/return lives, so the VM throws nil.
This small script reproduces the SEGV very quickly:
Actions