* exceptions.cc (exception::myfault_handle): Disable handling

STATUS_STACK_OVERFLOW.  Explain why.
This commit is contained in:
Corinna Vinschen 2014-07-07 19:58:16 +00:00
parent 7bd00a0bef
commit e1d158a04f
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-07-07 Corinna Vinschen <corinna@vinschen.de>
* exceptions.cc (exception::myfault_handle): Disable handling
STATUS_STACK_OVERFLOW. Explain why.
2014-07-07 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::send_internal): Improve loop to

View File

@ -563,7 +563,10 @@ exception::myfault_handle (LPEXCEPTION_POINTERS ep)
{
case STATUS_ACCESS_VIOLATION:
case STATUS_DATATYPE_MISALIGNMENT:
#if 0
/* Short-circuting STATUS_STACK_OVERFLOW disables stack commits. */
case STATUS_STACK_OVERFLOW:
#endif
case STATUS_ARRAY_BOUNDS_EXCEEDED:
me.andreas->leave (); /* Return from a "san" caught fault */
default:

View File

@ -13,3 +13,5 @@ What changed:
Bug Fixes
---------
- Don't catch STATUS_STACK_OVERFLOW preliminary on 64 bit.
Fixes: https://cygwin.com/ml/cygwin/2014-07/msg00046.html