#8436 closed bug (duplicate)

Stack overflow when masked should still throw at interruptible operations or inner unmask

Reported by: ezyang Owned by: simonmar
Priority: low Milestone:
Component: Runtime System Version: 7.7
Keywords: Cc: simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Test Case:
Blocked By: Blocking:
Related Tickets: 8303 Differential Revisions:

Description

Currently, to deal with #767, stack overflow exceptions are never emitted when exceptions are masked; e.g. if the thread unmasks and it is back under the stack limit, it will be as if the thread never stack-overflowed. However, it seems that we can be a bit more proactive about throwing the exception, in a way similar to asynchronous exceptions, wherein we add the stack overflow to the blocked exceptions list and let it be thrown at an interruptible point or if the exceptions get unmasked.

Patch would be pretty simple, I'd like to check if people think this is a better idea.

Change History (1)

comment:1 Changed 22 months ago by ezyang

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #8303

Note: See TracTickets for help on using tickets.