Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
See also #33574.
I think I have a guess:
I think we don't want to save G if we're already on the signal stack. This seems to make it work, running 1000 iterations without failure.