jirentabu / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

uiAccess=true elevated process cannot create minidump #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If the process to be guarded has uiAccess=true or an elevated Windows Integrity 
Mechanism Level the crashsender app cannot create a minidump. The solution is 
to launch the crashsender not with CreateProcess but with CreateProcessAsUser 
with the current process' Access Token.

What steps will reproduce the problem?
1. Protect an app with uiAccess=true
2. Trip a crash
3. Note the lack of minidump

What version of CrashRpt are you using?
1402

What is your version of Visual Studio?
2013

What is your version of Windows operating system?
8.1 x64

Please provide any additional information below.
Fix is attached!

CrashHandler.cpp, location of fix: int CCrashHandler::LaunchCrashSender
ErrorReportSender, location of fix: BOOL CErrorReportSender::RestartApp

Original issue reported on code.google.com by R.Bess...@gmail.com on 1 Apr 2014 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 13 Apr 2014 at 8:26