mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- Fix infinite loop.
- Add debug msg. svn path=/trunk/; revision=26608
This commit is contained in:
parent
583ae73f0f
commit
0a0395bfc8
|
@ -980,7 +980,9 @@ DispatchToUser:
|
||||||
|
|
||||||
/* Set EIP to the User-mode Dispatcher */
|
/* Set EIP to the User-mode Dispatcher */
|
||||||
TrapFrame->Eip = (ULONG)KeUserExceptionDispatcher;
|
TrapFrame->Eip = (ULONG)KeUserExceptionDispatcher;
|
||||||
_SEH_LEAVE;
|
|
||||||
|
/* Dispatch exception to user-mode */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
_SEH_EXCEPT(KiCopyInformation)
|
_SEH_EXCEPT(KiCopyInformation)
|
||||||
{
|
{
|
||||||
|
@ -1000,9 +1002,6 @@ DispatchToUser:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_SEH_END;
|
_SEH_END;
|
||||||
|
|
||||||
/* Dispatch exception to user-mode */
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Try second chance */
|
/* Try second chance */
|
||||||
|
@ -1018,6 +1017,7 @@ DispatchToUser:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 3rd strike, kill the process */
|
/* 3rd strike, kill the process */
|
||||||
|
DPRINT1("Kill the process\n");
|
||||||
ZwTerminateProcess(NtCurrentProcess(), ExceptionRecord->ExceptionCode);
|
ZwTerminateProcess(NtCurrentProcess(), ExceptionRecord->ExceptionCode);
|
||||||
KeBugCheckEx(KMODE_EXCEPTION_NOT_HANDLED,
|
KeBugCheckEx(KMODE_EXCEPTION_NOT_HANDLED,
|
||||||
ExceptionRecord->ExceptionCode,
|
ExceptionRecord->ExceptionCode,
|
||||||
|
|
Loading…
Reference in a new issue