actions icon indicating copy to clipboard operation
actions copied to clipboard

Uploading crash reports or backtrace upon segfault in CMD check

Open jeroen opened this issue 2 years ago • 1 comments

It would be nice to get a backtrace in case an example or tests causes a segfault. Similar to this in travis: https://github.com/r-lib/processx/blob/1ca0eacae67004d51b753cfcd20554589287de19/.travis.yml#L27-L48

The MacOS case is the easiest, I think we can just upload ~/Library/Logs/DiagnosticReports/*.ips after CMD check by default.

On Windows it may be possible to get backtraces by installing a just-in-time debugger like drmingw before running CMD check, but this should probably be opt-in only.

jeroen avatar Jan 09 '23 13:01 jeroen