Unable to create a snaphot, Windows 10, VirtualQueryEx - Access denied

22 views
Skip to first unread message

Marcus Kestler

unread,
Dec 11, 2021, 9:04:01 AM12/11/21
to Crashpad-dev
Hi,
I'm creating a crash handler, and every time I try to create a snapshot I get an access denied error from VirtualQueryEx.  The handler has elevated privileges and SeDebug permissions set on its token.  I've verified that the crashing process is opened with ALL_ACCESS.
Log:
[21384:16064:20211210,105312.132:ERROR process_info.cc:329] VirtualQueryEx: Access is denied. (5)
[21384:16064:20211210,105312.132:ERROR process_info.cc:556] ReadMemoryInfo failed
[21384:16064:20211210,105312.132:ERROR process_memory_win.cc:39] Failed to initialize ProcessInfo.

Thanks!
PS.  I am not sure this is the right forum for this, so if it is not, please excuse me.
Reply all
Reply to author
Forward
0 new messages