Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by tye (Cardinal)
on Mar 20, 2013 at 05:28 UTC ( #1024442=note: print w/ replies, xml ) Need Help??


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)
Re^2: Win32::API, sees C stack corruption, failure mode ideas (die)
by sundialsvc4 (Abbot) on Mar 20, 2013 at 17:27 UTC

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-12-23 00:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls