Hi,
I’m having absolutely no success searching for a system hang. Nor can I
explain the behaviour. I’m wondering if it’s an assumption I’ve made wrt
the WDF framework?
It’s a KMDF driver and the hang is in an IOCTL callback event handler.
The callback first acquires and releases a mutex (though I can’t see
that this is important), then clears and then waits on a notification
event. The wait is Executive, KernelMode, Alertable=FALSE, Timeout=NULL
which, AFAIK is safe for IRQL<=DISPATCH_LEVEL.
The wait on the notification event appears to hang the entire system -
mouse and all - although I can in WinDbg.
The notification event is set in a system thread
(PsCreateSystemThread), ultimately signalled from an InterruptDPC
callback. FWIW this thread also happens to briefly acquire the same
mutex as the IOCTL callback - but since there’s never two resources held
at once, there should be no deadlock.
No other threads wait on this notification event.
I’d use WinDbg but, regardless of which symbol pack I download and
install, it insists that the ^%!$# kernel &^@#$ symbols are &^%@#$
wrong. Therefore I can’t use any of the windbg extensions that might
shed some light on this problem.
Anyone got any ideas of where to go from here?
Regards,
–
Mark McDougall, Engineer
Virtual Logic Pty Ltd, http:
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266</http:>