From: "byroot (Jean Boussier)" Date: 2022-04-15T08:19:07+00:00 Subject: [ruby-core:108251] [Ruby master Bug#18735] The crash reporter need to be updated for Apple silicon Issue #18735 has been reported by byroot (Jean Boussier). ---------------------------------------- Bug #18735: The crash reporter need to be updated for Apple silicon https://bugs.ruby-lang.org/issues/18735 * Author: byroot (Jean Boussier) * Status: Open * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: