Thorsten Glaser <[email protected]> wrote:
 |Steffen Nurpmeso dixit:
 |>a different, even older message: use a recursion counter, how
 |>wacky that may be.
 |
 |Nah. It’s either too high (with the obvious effect) or, like
 |PHP’s, way too low (1000 just doesn’t cut it in may legitimate
 |cases). And even a too-low one can still segfault if the user
 |plays with ulimit -s.

 |Still, once I caught the SIGSEGV, what is there I can do… I guess
 |in this case I could (after maybe setting a flag) siglongjmp to
 |the next “up” error handler… but for that, I’d have to know that

That clearly can only be a StackRecursionLimitExceededException.

--steffen

Reply via email to