mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 1298676 - part 3 - disable I/O interposition when manually taking crashdumps; r=ted.mielczarek
This commit is contained in:
parent
0ac6ef352e
commit
7a57664f39
@ -4015,6 +4015,8 @@ bool TakeMinidump(nsIFile** aResult, bool aMoveToPending)
|
||||
if (!GetEnabled())
|
||||
return false;
|
||||
|
||||
AutoIOInterposerDisable disableIOInterposition;
|
||||
|
||||
xpstring dump_path;
|
||||
#ifndef XP_LINUX
|
||||
dump_path = gExceptionHandler->dump_path();
|
||||
@ -4054,6 +4056,8 @@ CreateMinidumpsAndPair(ProcessHandle aTargetPid,
|
||||
return false;
|
||||
}
|
||||
|
||||
AutoIOInterposerDisable disableIOInterposition;
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
mach_port_t targetThread = GetChildThread(aTargetPid, aTargetBlamedThread);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user