none
ExReleaseFastMutex blocking!!! RRS feed

  • Question

  • Hi All,

    My driver's call to ExReleaseFastMutex is not returning. What could possibly be the reason?

    Thursday, September 5, 2013 4:51 PM

Answers

  • I found that I was not initializing the mutex in one of the code paths, once I fixed that, it started working. Thanks everybody
    Wednesday, September 11, 2013 12:47 PM

All replies

  • A few things to check, did you own the mutex at the time of release?  Also, did you by chance aquire this with ExAcquireFastMutexUnsafe?  Finally are you running at APC_LEVEL?


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Thursday, September 5, 2013 5:01 PM
  • Perhaps irql mismanagement or perhaps some type of deadlock. Post the stack of the blocking thread. The code would be useful too. Does it hang every time the code is executed?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, September 5, 2013 5:02 PM
  • I found that I was not initializing the mutex in one of the code paths, once I fixed that, it started working. Thanks everybody
    Wednesday, September 11, 2013 12:47 PM