Author: fireball Date: Mon Jul 28 09:32:50 2008 New Revision: 34901
URL: http://svn.reactos.org/svn/reactos?rev=34901&view=rev Log: Dmitry Gorbachev - PDT of CSRSS has no entry for TCB of the thread, fix this problem. See issue #3591 for more details.
Modified: trunk/reactos/ntoskrnl/ke/procobj.c
Modified: trunk/reactos/ntoskrnl/ke/procobj.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/procobj.c?rev=3... ============================================================================== --- trunk/reactos/ntoskrnl/ke/procobj.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ke/procobj.c [iso-8859-1] Mon Jul 28 09:32:50 2008 @@ -451,6 +451,7 @@ (PVOID)Thread->StackLimit, Thread->LargeStack ? KERNEL_STACK_SIZE : KERNEL_LARGE_STACK_SIZE); + MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
/* Check if we're already in that process */ if (Thread->ApcState.Process == Process) return; @@ -580,6 +581,7 @@ (PVOID)Thread->StackLimit, Thread->LargeStack ? KERNEL_STACK_SIZE : KERNEL_LARGE_STACK_SIZE); + MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
/* Crash system if DPC is being executed! */ if (KeIsExecutingDpc())