commit | ef2a4d842c908609567b914793b48c234a53936f | [log] [tgz] |
---|---|---|
author | Leonard Grey <lgrey@chromium.org> | Tue Apr 08 19:24:41 2025 |
committer | Leonard Grey <lgrey@chromium.org> | Tue Apr 08 21:27:01 2025 |
tree | f4381006cad85582c6206d43da5194615b9e4878 | |
parent | 8d6cc37f6ba982496bd6437ef39a96dd5a6657b0 [diff] |
Mac: ensure crashes are forwarded to system crash reporter Historically, we have forwarded exceptions from Crashpad to Apple's system reporting tool explicitly. However, starting in 10.15, the crash reporter stopped paying attention to EXC_CRASH type exceptions. Instead, it now listens to EXC_CORPSE_NOTIFY, which is raised postmortem if and only if an EXC_CRASH handler returns MACH_RCV_PORT_DIED. But we specifically were *not* doing that in order to avoid multiple reports (one from EXC_CRASH and one from EXC_CORPSE_NOTIFY) between 10.11 and 10.14. This change stops forwarding EXC_CRASH exceptions explicitly and *does* return MACH_RCV_PORT_DIED if they should be forwarded Bug: chromium:388545119 Change-Id: I36a781390386b9e164072fcc602809723a2dc2ee Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6242575 Reviewed-by: Mark Mentovai <mark@chromium.org>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.