Debugging Tools for Windows

Bug Check 0x1: APC_INDEX_MISMATCH

The APC_INDEX_MISMATCH bug check has a value of 0x00000001. This indicates that there has been a mismatch in the APC state index.

Parameters

The following parameters are displayed on the blue screen.

Parameter Description
1 The address of the system function (system call)
2 The value of the following bit computation:

Thread->ApcStateIndex << 8 | Previous ApcStateIndex

3 The value of Thread->KernelApcDisable
4 The value of the previous KernelApcDisable

Cause

The most common cause of this bug check is when a file system has a mismatched sequence of KeEnterCriticalRegion calls and KeLeaveCriticalRegion calls.

Comments

This is a kernel internal error which can occur only on a checked build. This error occurs on exit from a system call.

Build machine: CAPEBUILD