Author: ion
Date: Sun Feb 19 18:23:31 2012
New Revision: 55716
URL:
http://svn.reactos.org/svn/reactos?rev=55716&view=rev
Log:
[CSRSRV]: Don't bail out incorrectly if we get a LPC_EXCEPTION. Also DPRINT1 when we
get one.
Modified:
trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/csr…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] Sun Feb 19
18:23:31 2012
@@ -1127,15 +1127,6 @@
continue;
}
- if ((MessageType != LPC_ERROR_EVENT) &&
- (MessageType != LPC_REQUEST))
- {
- DPRINT1("CSR: received message %d\n",
Request->Header.u2.s2.Type);
- Reply = NULL;
- ReplyPort = CsrApiPort;
- continue;
- }
-
DPRINT("CSR: Got CSR API: %x [Message Origin: %x]\n",
Request->Type,
Request->Header.ClientId.UniqueThread);
@@ -1164,6 +1155,9 @@
if (MessageType == LPC_EXCEPTION)
{
/* Kill the process */
+ DPRINT1("Exception in %lx.%lx. Killing...\n",
+ Request->Header.ClientId.UniqueProcess,
+ Request->Header.ClientId.UniqueThread);
NtTerminateProcess(ProcessData->ProcessHandle, STATUS_ABANDONED);
/* Destroy it from CSR */