We should capture the following information in minidump files, based on
available OS primitives:
- File descriptors (POSIX)
- HANDLEs (Windows)
- Mach ports (Mac OS X)
File descriptors may not make sense to report on Windows, where file
descriptors are not OS primitives and there would be a “which CRT?” problem.
Windows’ dbghelp.h (but not currently ours) has MINIDUMP_HANDLE_DATA_STREAM
and MINIDUMP_HANDLE_DESCRIPTOR[_2]:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680372(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680394(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680373(v=vs.85).aspx
These can be used for HANDLE reporting.
New types will be needed for file descriptor and Mach port reporting. These can
hang off of MinidumpCrashpadInfo.
Original issue reported on code.google.com by mark@chromium.org on 25 Mar 2015 at 6:34
Original issue reported on code.google.com by
mark@chromium.org
on 25 Mar 2015 at 6:34