How to recover from a EXCEPTION_STACK_OVERFLOW?
- From: Aurelien Regat-Barrel <nospam.aregatba@xxxxxxxxxxxxxxxx>
- Date: Mon, 20 Nov 2006 11:13:18 +0100
Hi,
I am writting an exception filter for my app that displays a message box and kills the app. The problem is that it does nothing if the exception is a stack overflow, because some stack space is needed to execute my error handling code...
I tried to use _resetstkoflw() but it doesn't help. Is there a way to recover some stack space in order to execute my handler before killing the app?
I am thinking about:
- modifying ESP by hand (risky)
- unblocking a thread in my handler, and execute my error handling code in that thread
Do you have better idea ?
Thanks.
--
Aurélien Regat-Barrel
.
- Follow-Ups:
- Re: How to recover from a EXCEPTION_STACK_OVERFLOW?
- From: RichK
- Re: How to recover from a EXCEPTION_STACK_OVERFLOW?
- From: Jochen Kalmbach [MVP]
- Re: How to recover from a EXCEPTION_STACK_OVERFLOW?
- Prev by Date: Re: CreateProcess - Different User
- Next by Date: Re: How to recover from a EXCEPTION_STACK_OVERFLOW?
- Previous by thread: VISTA +CreateProcessWithLogon +WaitForInputIdle
- Next by thread: Re: How to recover from a EXCEPTION_STACK_OVERFLOW?
- Index(es):
Relevant Pages
|
Loading