Project

General

Profile

Actions

Bug #18735

closed

The crash reporter need to be updated for Apple silicon

Added by byroot (Jean Boussier) about 3 years ago. Updated about 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:108251]

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0