Stop error 0x000000C4 during resume from sleep on Windows 7

Symptoms

Consider the following scenario:

  • Windows 7 computer is playing audio through a USB audio device
  • Driver Verifier deadlock detection is enabled on the Kernel Streaming (KS.sys) driver
  • The computer is put to sleep and then resumed

When the computer wakes from sleep, Driver Verifier will detect a potential deadlock and the following stop error will be displayed:

STOP 0x000000C4 (0x00001001, 0xbbbbbbbb, 0xcccccccc, 0xdddddddd) DRIVER_VERIFIER_DETECTED_VIOLATION

Cause

Potential deadlock occurs as a result of lock acquisition ordering between the KS.sys device create thread and the KS.sys device wake thread.

Resolution

Do not enable Driver Verifier deadlock detection on the KS.sys driver while playing audio through a USB audio device and performing sleep/resume operations.
Properties

Article ID: 2724933 - Last Review: Jun 20, 2012 - Revision: 1

Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Professional, Windows 7 Service Pack 1, Windows 7 Ultimate

Feedback