Populate the `ProcessState.process_id` field on Linux using the `LinuxProcStatus` stream
gabrielesvelto opened this issue · comments
Linux minidumps don't contain the MINIDUMP_MISC_INFO[_*]
structures so the PID of the process is not available in the stackwalker output. However we store the contents of /proc/<pid>/status
in the LinuxProcStatus
and that contains the PID of the process the minidump belonged too, in the Pid:
line. We should use that to populate the ProcessState.process_id
field when the MINIDUMP_MISC_INFO
structure is missing.