in reply to Win32::API, sees C stack corruption, failure mode ideas

die. You shouldn't get to decide that I will never have any use whatsoever for even temporarily delaying the death due to a corrupted stack.

However, if the stack corruption has even a moderate chance of preventing even (the XS equivalent of) die from making it far enough to successfully output the error message, then it is probably wise to write an error to STDERR first, and then die.

- tye        

  • Comment on Re: Win32::API, sees C stack corruption, failure mode ideas (die)

Replies are listed 'Best First'.
Re^2: Win32::API, sees C stack corruption, failure mode ideas (die)
by locked_user sundialsvc4 (Abbot) on Mar 20, 2013 at 17:27 UTC

    ... if, indeed, you can manage even to do that.