A few kernel mode routines do, however, perform explicit argument validity checks, consistency tests within data structures, and so on. Most driver writers have encountered an example in IoCompleteRequest: If the same instance of the same IRP is passed to IoCompleteRequest more than once (without an IoCompletion routine having returned STATUS_MORE_PROCESSING_REQUIRED in between), the system will crash, and the blue screen will display the moderately informative message MULTIPLE_IRP_COMPLETE_REQUESTS. This happens because, under these circumstances, IoCompleteRequest calls KeBugCheckEx.
Bug Check 0x7E: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
The SYSTEM_THREAD_EXCEPTION_NOT_HANDLED bug check has a value of 0x0000007E. This indicates that a system thread generated an exception which the error handler did not catch.
0 0xC0000047 0x0000012a 0x012a0001 NT_STATUS_SEMAPHORE_LIMIT_EXCEEDED "Too many posts were made to a semaphore."
http://msdn.microsoft.com/library/de...dc4826.xml.asp