今天发现CsqAcquireLock内调用KdPrint,发生Bug Check 0xEA: THREAD_STUCK_IN_DEVICE_DRIVER

IO_CSQ_ACQUIRE_LOCK CsqAcquireLock;
VOID
CsqAcquireLock(
    __in PIO_CSQ  Csq,
     __out PKIRQL  Irql
)
  {...}

The THREAD_STUCK_IN_DEVICE_DRIVER bug check has a value of 0x000000EA. This indicates that a thread in a device driver is endlessly spinning.

 

THREAD_STUCK_IN_DEVICE_DRIVER  bug check表示某个线程在设备驱动内一直自旋。

没搞懂,CsqAcquireLock只是Csq的回调函数。一般,函数内只是请求SpinLock,而在请求SpinLock前调用KdPrint居然会Bug Check.不明白

posted on 2010-05-20 20:18  devcfei  阅读(1802)  评论(0编辑  收藏  举报