Crashes you can’t handle easily #2: Stack overflows on Windows

TL;DR: You have to be really careful when handling stack overflows on Windows.

In the previous (and first) entry in this series I wrote about how implementation specifics of x64 SEH can cause you pain if you want to have custom crash reporting. This time I’m going to tell you about the pitfalls of handling stack overflows. “Do you mean some kind of special case of stack overflows?”, you might ask. No, I’m talking about stack overflows in general.

Continue reading “Crashes you can’t handle easily #2: Stack overflows on Windows”