commit | 8df174c64ca2b9dc0f83b089d30760867966b173 | [log] [tgz] |
---|---|---|
author | Ben Hamilton <benhamilton@google.com> | Mon Apr 01 18:44:31 2024 |
committer | Crashpad LUCI CQ <crashpad-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 11 17:00:05 2024 |
tree | 21723a856e513979775a664c33c125f3d37d076d | |
parent | f9cee5c147db30dc8fa1a048aabd165965b5cb60 [diff] |
[ios] Fix TSAN issue and Mach port leak in CrashpadClient There were two issues with the iOS implementation of CrashpadClient which I reported in https://crbug.com/crashpad/481: 1) TSAN found a data race in ResetForTesting() when it modified the ScopedMachReceiveRight while the Mach exception port thread was reading it 2) The Mach port connected to the exception server was never deallocated This CL fixes both issues. Change-Id: I5bd4f79ae6d0eccca954d663be7a36f8ceb0a0e8 Bug: https://crbug.com/crashpad/481 Bug: b:332305593 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5410301 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@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.