APC_INDEX_MISMATCH
Code: 0x1 (1)
As HRESULT:- S: 0 (Success)
- C: 0 (Microsoft-defined)
- N: 0 (Not an NTSTATUS value)
- Facility: 0x000 (FACILITY_NULL: Default)
- Code: 0x0001 (1)
- Sev: 0 (STATUS_SEVERITY_SUCCESS)
- C: 0 (Microsoft-defined)
- Facility: 0x000 (Default)
- Code: 0x0001 (1)
Parameters
| Parameter | Description |
|---|---|
| 1 | The address of the system function (system call) or worker routine. |
| 2 | The value of the current thread's ApcStateIndex field. |
| 3 | The value of current thread's CombinedApcDisable field. This field consists of two separate 16-bit fields: (Thread >SpecialApcDisable < < 16) | Thread >KernelApcDisable. |
| 4 | Call type: 0 - System call 1 - Worker routine |
Description
The APC_INDEX_MISMATCH bug check has a value of 0x00000001. The bug check indicates a mismatch in the asynchronous procedure calls (APC) state index.
Important
This article is for programmers. If you're a Microsoft customer and your computer displays a blue screen error code, see Troubleshoot blue screen errors.
Cause
The most common cause of this bug check is when a file system or driver has a mismatched sequence of calls to disable and re-enable APCs. The key data item is the Thread >CombinedApcDisable field. The CombinedApcDisable field consists of two separate 16-bit fields: SpecialApcDisable and KernelApcDisable. A negative value of either field indicates that a driver has disabled special or normal APCs (respectively) without re-enabling them. A positive value indicates that a driver has enabled special or normal APCs too many times.
Resolution
You can resolve this problem by using WinDbg or by using basic troubleshooting techniques.
Debug by using WinDbg
The !analyze debugger extension displays information about the bug check and can help you determine the root cause.
You can use the !apc extension to display the contents of one or more APCs.
You also can set a breakpoint in the code that precedes this stop code and attempt to single-step forward into the faulting code.
For more information about using WinDbg, see Crash dump analysis using the Windows debuggers (WinDbg).
Debug without using WinDbg
If you aren't equipped to use the Windows debugger to work on this problem:
- In Event Viewer, check System Log for more error messages that might help you identify the device or driver that's causing this bug check.
- If a driver is identified in the bug check message, disable the driver or check with the manufacturer for driver updates.
- Confirm that any new hardware that's installed is compatible with the installed version of Windows. For example, you can get information about required hardware at Windows 10 specifications.
For more general troubleshooting information, see Analyze Bug Check Blue Screen Data.
Remarks
This bug check is the result of an internal error in the kernel. This error occurs on exit from a system call. A possible cause for this bug check is a file system or driver that has a mismatched sequence of system calls to enter or leave guarded or critical regions. For example, each call to KeEnterCriticalRegion must have a matching call to KeLeaveCriticalRegion.
If you're developing a driver, you can use Static Driver Verifier, a static analysis tool available in Windows Driver Kit, to detect problems in your code before you ship your driver. Run Static Driver Verifier with the CriticalRegions rule to verify that your source code uses these system calls in correct sequence.
See also
Article text from the Windows driver documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.
Associated Modules
| Module | Code | Found in | Description |
|---|---|---|---|
| ApplicationLogMessages.dll | 0x1 | 11 | %1 |
| AppxProvider.dll | 0x1 | 8.11011 | AppxProvider |
| AssocProvider.dll | 0x1 | 8.11011 | AssocProvider |
| CompatProvider.dll | 0x1 | 78.1 | CompatProvider |
| DFDTS.dll | 0x1 | 1011 | Windows Disk Diagnostic detected a S.M.A.R.T. fault on disk %1 (volumes %2). This disk might fail; back up your computer now. All data on the hard disk, including files, documents, pictures, programs, and settings might be lost if your hard disk fails. To determine if the hard disk needs to be repaired or replaced, contact the manufacturer of your computer. If you can't back up (for example, you have no CDs or other backup media), you should shut down your computer and restart when you have backup media available. In the meantime, do not save any critical files to this disk. |
| DFDWiz.exe | 0x1 | 1011 | Windows Disk Diagnostic detected a S.M.A.R.T. fault on disk %1 (volumes %2). This disk might fail; back up your computer now. All data on the hard disk, including files, documents, pictures, programs, and settings might be lost if your hard disk fails. To determine if the hard disk needs to be repaired or replaced, contact the manufacturer of your computer. If you can't back up (for example, you have no CDs or other backup media), you should shut down your computer and restart when you have backup media available. In the meantime, do not save any critical files to this disk. |
| DevDispItemProvider.dll | 0x1 | 8.11011 | %1 - Top |
| ESENT.dll | 0x1 | 8.11011 | General |
| EdgeProvider.dll | 0x1 | 11 | AppxProvider |
| EhStorTcgDrv.sys | 0x1 | 1011 | An operation has failed (%3, %4, %5, %6). %1 HResult: %2 |
| EventCreate.exe | 0x1 | 78.11011 | %1 |
| FXSEVENT.dll | 0x1 | 1011 | Initialization/Termination |
| FfuProvider.dll | 0x1 | 1011 | FfuProvider |
| GenericProvider.dll | 0x1 | 1011 | GenericProvider |
| ImagingProvider.dll | 0x1 | 8.11011 | ImagingProvider |
| KernelBase.dll | 0x1 | 78.1 | Incorrect function. |
| LocationNotifications.exe | 0x1 | 78.1 | A program accessed information from a location sensor or default location FriendlyName=%1; ImagePath=%2; PID=%3; Username=%4; SID=%5 |
| McpManagementService.dll | 0x1 | 11 | %1 |
| Microsoft.Bluetooth.AvrcpTransport.sys | 0x1 | 1011 | %1 Avrcp Transport |
| MsSpellCheckingHost.exe | 0x1 | 8.1 | Failed instantiating third-party spellchecker: Language tag %1, HRESULT %2. |
| NetTCPIP.dll | 0x1 | 1011 | Can not find the required property %1 |
| ProvProvider.dll | 0x1 | 1011 | Element: %1 |
| Query.dll | 0x1 | 7 | CI Service |
| RpcNs4.dll | 0x1 | 78.11011 | RPC Error |
| SCardSvr.dll | 0x1 | 78.11011 | %1 |
| SMCCx.dll | 0x1 | 1011 | An operation has failed (%3, %4, %5, %6). %1 HResult: %2 |
| ServiceModelEvents.dll | 0x1 | 78.11011 | ServiceAuthorization |
| SetupPlatformProvider.dll | 0x1 | 1011 | SetupPlatformProvider |
| UnattendProvider.dll | 0x1 | 78.11011 | UnattendProvider |
| Usb4DeviceRouter.SYS | 0x1 | 11 | A monitor attached to your hub or dock was successfully enumerated by the USB4 Connection Manager. |
| UsbccidDriver.dll | 0x1 | 1011 | An operation has failed (%3, %4, %5, %6). %1 HResult: %2 |
| VSSVC.exe | 0x1 | 1011 | Volume Shadow Copy Service initialization error: the control dispatcher cannot be started [%1]. %2 |
| VerifierExt.sys | 0x1 | 1011 | XDV driver loaded! |
| VhdProvider.dll | 0x1 | 8.11011 | VhdProvider |
| WUDFUsbccidDriver.dll | 0x1 | 1011 | An operation has failed (%3, %4, %5, %6). %1 HResult: %2 |
| WimProvider.dll | 0x1 | 78.11011 | WimProvider |
| WinSAT.exe | 0x1 | 1011 | Windows System Assessment Tool
COMMAND LINE USAGE :
WINSAT |
| WinSCard.dll | 0x1 | 7 | %1 |
| WudfSMCClassExt.dll | 0x1 | 1011 | An operation has failed (%3, %4, %5, %6). %1 HResult: %2 |
| apphelp.dll | 0x1 | 78.11011 | The application (%3, from vendor %5) has the following problem: %7 |
| bootstr.dll | 0x1 | 1011 | Windows Setup |
| bthenum.sys | 0x1 | 1011 | Bluetooth Peripheral Device |
| cdosys.dll | 0x1 | 78.11011 | Header |
| cipher.exe | 0x1 | 78.11011 | [OK] |
| clfs.sys | 0x1 | 11 | CLFS failed to open a log file due to authentication error. Reason: %1 |
| cmimcext.sys | 0x1 | 1011 | An error with reference Id=%1 was encountered while processing the hive '%3'. The status was: %4. The additional information was %5. |
| compact.exe | 0x1 | 78.11011 | [OK] |
| connect.dll | 0x1 | 78.11011 | Connecting to %1!s!... |
| cscui.dll | 0x1 | 1011 | Server '%1' is now offline. |
| deviceaccess.dll | 0x1 | 8.1 | %2 requested task %1 to service device %4. |
| deviceregistration.dll | 0x1 | 1011 | Workplace Join operation failed. Activity Id: %2 Exit code: %1 Error Message: %4 Registration Service URI: %5 |
| dimsjob.dll | 0x1 | 78.11011 | Certificate Services Client has been started successfully. |
| dskquota.dll | 0x1 | 78.11011 | Insufficient memory to apply quota policy. |
| dskquoui.dll | 0x1 | 78.11011 | Insufficient memory to apply quota policy. |
| dsreg.dll | 0x1 | 1011 | %1 |
| dssec.dll | 0x1 | 78.11011 | Domain administer server |
| ehepgres.dll | 0x1 | 7 | %1 |
| ehrecvr.exe | 0x1 | 7 | Service registration successful. |
| ehres.dll | 0x1 | 7 | EHTRAY_S_IGNORE_EVENT |
| ehsched.exe | 0x1 | 7 | Bad service request. |
| findstr.exe | 0x1 | 78.11011 | %1: Bad command line |
| finger.exe | 0x1 | 78.1 | %1:TLOOK returned %2!d! |
| fltmgr.sys | 0x1 | 1011 | File System Filter '%5' (Version %2.%3, %6) unloaded successfully. |
| fontview.exe | 0x1 | 78.11011 | The requested file %1 is not a valid font file. |
| fphc.dll | 0x1 | 78.11011 | Settings that might be blocking the connection: Provider name: %1 Provider description: %2 Filter name: %3 Provider context name: %4 |
| ftp.exe | 0x1 | 78.1 | %1:TLOOK returned %2!d! |
| hostname.exe | 0x1 | 78.1 | %1:TLOOK returned %2!d! |
| hvloader.dll | 0x1 | 11 | Hypervisor successfully started. |
| hvservice.sys | 0x1 | 10 | Hypervisor successfully started. |
| icardres.dll | 0x1 | 7 | General |
| ieframe.dll | 0x1 | 8.11011 | An add-on has been enabled. Application: %1. Add-on: %2. Publisher: %3. Version:%4 |
| kernel32.dll | 0x1 | 78.11011 | Incorrect function. |
| locationframework.dll | 0x1 | 1011 | Geolocation positioning is enabled. |
| mciavi32.dll | 0x1 | 78.11011 | The file %2 could not be processed by the application %1 because it requires Indeo® Decoders of type %3 |
| microsoft-windows-hal-events.dll | 0x1 | 1011 | Initialization of the High Precision Event Timer failed due to a BIOS configuration problem. The operating system will use another available platform timer in lieu of the High Precision Event Timer. Contact your system vendor for technical assistance. Initialization status: %1. |
| microsoft-windows-kernel-processor-power-events.dll | 0x1 | 1011 | Idle power management features on processor %1 are disabled due to a firmware problem. Check with the computer manufacturer for updated firmware. |
| microsoft-windows-system-events.dll | 0x1 | 1011 | Possible detection of CVE: %1 Additional Information: %2 This Event is generated when an attempt to exploit a known vulnerability (%1) is detected. This Event is raised by a User mode process. |
| mispace.dll | 0x1 | 8.11011 | Data is striped across physical disks, maximizing capacity and increasing throughput, but decreasing reliability. This storage layout requires at least one disk and does not protect you from a disk failure. |
| mountvol.exe | 0x1 | 78.11011 | Creates, deletes, or lists a volume mount point. MOUNTVOL [drive:]path VolumeName MOUNTVOL [drive:]path /D MOUNTVOL [drive:]path /L MOUNTVOL [drive:]path /P MOUNTVOL /R MOUNTVOL /N MOUNTVOL /E |
| msaudite.dll | 0x1 | 78.11011 | System Event |
| napipsec.dll | 0x1 | 78.1 | NAP IPSec Relying Party initialized successfully |
| netcfg.exe | 0x1 | 1011 | Trying to install %1 ... |
| netdacim.dll | 0x1 | 8.11011 | Performing operation %1 on Target %2 |
| netnccim.dll | 0x1 | 8.11011 | Performing operation %1 on Target %2 |
| netttcim.dll | 0x1 | 8.11011 | Performing operation %1 on Target %2 |
| nslookup.exe | 0x1 | 78.11011 | Unrecognized command: %1 |
| ntdll.dll | 0x1 | 78.11011 | STATUS_WAIT_1 |
| ntmarta.dll | 0x1 | 78.11011 | AclPropagation |
| pci.sys | 0x1 | 1011 | VGA Device |
| pdh.dll | 0x1 | 78.11011 | The returned data value is valid and different from the last sample. |
| pots.dll | 0x1 | 8.11011 | The system has returned from a low power state. Sleep Time: %1 Wake Time: %2 Wake Source: %13%15 |
| pots.dll | 0x1 | 7 | The system has resumed from sleep. Sleep Time: %1 Wake Time: %2 Wake Source: %13%15 |
| powershell.exe | 0x1 | 78.11011 | Missing argument for parameter %1!ls!. |
| pshed.dll | 0x1 | 78.11011 | A non-fatal hardware error occurred. |
| pwrshmsg.dll | 0x1 | 78.11011 | Engine Health |
| quartz.dll | 0x1 | 78.11011 | The file %2 could not be processed by the application %1 because it requires Indeo® Decoders of type %3 |
| reagentc.exe | 0x1 | 78.11011 | %1: Bad command line |
| sc.exe | 0x1 | 1011 | DESCRIPTION:
SC is a command line program used for communicating with the
Service Control Manager and services.
USAGE:
sc |
| sc.exe | 0x1 | 7 | DESCRIPTION:
SC is a command line program used for communicating with the
Service Control Manager and services.
USAGE:
sc |
| sc.exe | 0x1 | 8.1 | DESCRIPTION:
SC is a command line program used for communicating with the
Service Control Manager and services.
USAGE:
sc |
| scripto.dll | 0x1 | 1011 | Scritpo |
| sstpsvc.dll | 0x1 | 1011 | CoId=%1:The initial Secure Socket Tunneling Protocol request could not be successfully sent to the server. This can be due to network connectivity issues or certificate (trust) issues. The detailed error message is provided below. Correct the problem and try again. %2 |
| storagewmi.dll | 0x1 | 8.11011 | There was an error while using the storage provider "%1" with ID "%2". ErrorCode=%3!08lX! |
| tquery.dll | 0x1 | 78.11011 | Search service |
| w32time.dll | 0x1 | 1011 | The time provider '%1' logged the following error: %2 |
| webservices.dll | 0x1 | 78.11011 | The function or feature is not yet implemented. |
| wecutil.exe | 0x1 | 78.11011 | Out of memory. |
| wevtapi.dll | 0x1 | 78.11011 | Devices |
| wevtutil.exe | 0x1 | 78.11011 | Failed to open config file: %1!s!. |
| wfascim.dll | 0x1 | 1011 | The IPsec DoSP settings are corrupt for the NetIPsecDoSPSetting WMI Object with name: %1 Please use %2 to restore them. |
| whealogr.dll | 0x1 | 71011 | A fatal hardware error has occurred. A record describing the condition is contained in the data section of this event. |
| winbio.dll | 0x1 | 8.11011 | Position your finger lower on the fingerprint reader. |
| winhttp.dll | 0x1 | 78.11011 | %1 |
| winsrv.dll | 0x1 | 78.11011 | Click on OK to terminate the program |
| winsrvext.dll | 0x1 | 11 | Click on OK to terminate the program |
| wscsvc.dll | 0x1 | 78.11011 | The Windows Security Center Service has started. |
| xwizard.exe | 0x1 | 78.11011 | Extensible wizard host process |
| xwizards.dll | 0x1 | 78.11011 | XML File Processing |
| 118 entries | |||