The function epilog is responsible for removing the final exception frame
Modified: trunk/reactos/lib/rtl/i386/exception.c
--- trunk/reactos/lib/rtl/i386/exception.c 2005-12-20 20:36:38 UTC (rev 20279) +++ trunk/reactos/lib/rtl/i386/exception.c 2005-12-20 20:42:30 UTC (rev 20280) @@ -333,7 +333,10 @@
RegistrationFrame2 = RegistrationFrame2->Next; /* Remove this handler */
- RtlpSetExceptionList(OldFrame);
+ if (RegistrationFrame2 != RegistrationFrame)
+ {
+ RtlpSetExceptionList(OldFrame);
+ }
} }