windbg.info
Home Search
 You are here: arrow Home Forum

Search Our Site

www.windbg.info
Welcome, Guest
Please Login or Register.    Lost Password?
Is it possible to view Mutant states from a Crash
(1 viewing) 1 Guest
Go to bottom
TOPIC: Is it possible to view Mutant states from a Crash
#154
Paul (User)
Posts: 2
User Offline

Is it possible to view Mutant states from a Crash 22 Mar 2012 - 06:40
Hi. I have a simple application that holds a Mutex (Mutant) object. If I attach to the process with WinDbg and enter:

0:001> !handle 0 f Mutant
Handle 7f4
  Type             Mutant
  Attributes       0
  GrantedAccess    0x1f0001:
         Delete,ReadControl,WriteDac,WriteOwner,Synch
         QueryState
  HandleCount      2
  PointerCount     4
  Name             \BaseNamedObjects\PAUL_HANG_MUTEX
  Object Specific Information
    Mutex is Owned


..then I can see that my application does indeed own the Mutex. Great.

Now then.. I would like to be able to do the same thing but my generating a crash dump file so that I can exame the mutex states at the time that I invoke the crash dump. I've tried creating a crashdump using PROCDUMP -ma test.exe.

Can somebody please tell me if and how it is possible to view the "owned" states from a crash dump file?

Thanks
 
  Logged IP
  The administrator has disabled public write access.
#155
Paul (User)
Posts: 2
User Offline

Re: Is it possible to view Mutant states from a Cr 26 Mar 2012 - 23:00
Yes, it is indeed possible. The problem I had was that I was using an old version of DBGHELP.DLL. As long as 6.6.x.x or above is used, the Mutant info will be available.

(SOLVED)
 
  Logged IP
  The administrator has disabled public write access.
Go to top
  up top of page up  
 

Copyright © 2024 WinDbg.info. All Rights Reserved.
Page generated in 0.0004 seconds.