Actions
Bug #18735
closedThe crash reporter need to be updated for Apple silicon
Bug #18735:
The crash reporter need to be updated for Apple silicon
Description
C backtrace dumping is only enabled for x86_64 arch on macOS: if defined(__APPLE__) && defined(__x86_64__) && defined(HAVE_LIBUNWIND_H)
I tested libunwind on M1 Mac, it seems to work fine. I think we should either remove this x86_64 condition, or add an arm64 condition as well.
Proposed patch: https://github.com/ruby/ruby/pull/5770
The register dumping code would need to be implemented as well, but it's a bit beyond my capacities.
I also think we should backport the fix on older rubies so that in case of crash we get better crash reports.
Actions