mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
Justin Cohen
243dffb045
ios: Stop prune and upload thread when app is inactive and may suspend.
Stop the prune thread and the upload thread when moving to the inactive/background state. This will reduce the number of 0xdead10cc system kills from having a file lock during iOS suspend. Wait to start the prune thread when the application is active. Otherwise, for iOS prewarmed applications, the prune thread will regularly start when the application is foregrounded for the first time when the user intentionally runs the app. It's still possible for either the prune thread or the upload thread to have a file lock during iOS suspend, such as when a task started in the foreground and does not complete in time for suspension. Future work should include considering BackgroundTasks and/or NSURLSessions, which can more safely run in the background. Bug: crashpad: 400 Change-Id: Ic7d4687eb795fe585327f128aa84a5928141f4a9 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3517967 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Justin Cohen <justincohen@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%