STOP Msg: 0xC000021a as Application TerminatesLast reviewed: March 24, 1997Article ID: Q150140 |
The information in this article applies to:
SYMPTOMSWhen starting a console application (a Windows NT Service can qualify as a console application) that starts another console application, an access violation occurs in CSRSS.EXE when the second application terminates. This results in the following error message:
STOP: c000021a {Fatal System Error} The Windows SubSystem system process terminated unexpectedly with a status of 0xc0000037 (0x5fe625cf 0x02c1faa0). The system has been shutdown. CAUSEThis problem is exposed by a console application (typically a service) which has the following behavior:
As a result of this change, the application started has NO window station or desktop defined because it is trying to use the Console of its parent which is not permitted. A problem in WINSRV.DLL (used by CSRSS.EXE) assumed that a desktop would always be defined. This caused an Access Violation when the WINSRV.DLL attempted to access the desktop while cleaning up resources owned by the process, as the process terminated.
RESOLUTIONThe problem in WINSRV.DLL has been corrected for the case where no desktop has been created.
STATUSMicrosoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in the latest Windows NT 3.51 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
S E R V P A C K |
Additional query words: prodnt WinStation
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |