mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
Mark Mentovai
131dd81d4c
mac: Fix crashpad_snapshot_test ProcessReaderMac.Child*Thread* for 10.14
pthread_threadid_np() reports an incorrect thread ID after fork() on macOS 10.14 (“Mojave”). See https://openradar.appspot.com/43843552. As a workaround, use thread_info(…, THREAD_IDENTIFIER_INFO, …). This uses MachThreadSelf(), which in turn uses pthread_mach_thread_np(), which does not suffer from the same bug. As an alternative, base::mac::ScopedMachSendRight(mach_thread_self()) could be used. Bug: crashpad:249 Change-Id: I757d6e94236cff533b9c1326f028110b6d214ee5 Reviewed-on: https://chromium-review.googlesource.com/c/1318271 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
Crashpad
Crashpad is a crash-reporting system.
Documentation
- Project status
- Developing Crashpad: instructions for getting the source code, building, testing, and contributing to the project.
- Crashpad interface documentation
- Crashpad tool man pages
- Crashpad overview design
Source Code
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.
Other Links
- Bugs can be reported at the Crashpad issue tracker.
- The Crashpad bots perform automated builds and tests.
- crashpad-dev is the Crashpad developers’ mailing list.
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%