Crash dump upload out of process
The fact that crash dumps aren't uploaded upon crashing, but on restart was surprising and I didn't spot any documentation explaining this. I wrote:
This is super surprising behaviour and caught me off-guard. My use case is a bunch of command-line tools; and it's not obvious that the user will re-run after a crash to do the upload. Is there any way to schedule sweeping of crash dumps somehow?
Originally posted by @mattgodbolt in https://github.com/getsentry/sentry-native/issues/530#issuecomment-836779309
(in other systems before I've been able to configure something as the global crash handler in /proc/sys/kernel/core_pattern or similar to handle crashes globally and upload them. Was hoping sentry could help me do the same here)
The crashpad backend does its uploading at the time of crash. In the past there used to be some problems with it, but I think we will make it the default on linux soon.