tenderlove/asmrepl

Crashed on macos arm64

zephyrpathsofglory opened this issue · 2 comments

Program crashed when I run sudo asmrepl on macos arm64:

/Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/helpers.rb:10: [BUG] Segmentation fault at 0xffffffffffffffff
ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [arm64-darwin20]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0008 p:---- s:0036 e:000035 CFUNC  :call
c:0007 p:0009 s:0029 e:000028 BLOCK  /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/helpers.rb:10 [FINISH]
c:0006 p:0044 s:0025 e:000024 METHOD /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/repl.rb:26 [FINISH]
c:0005 p:---- s:0020 e:000019 CFUNC  :new
c:0004 p:0021 s:0016 e:000015 TOP    /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/bin/asmrepl:5 [FINISH]
c:0003 p:---- s:0013 e:000012 CFUNC  :load
c:0002 p:0112 s:0008 E:0022c0 EVAL   /Users/harden/.rbenv/versions/3.0.1/bin/asmrepl:23 [FINISH]
c:0001 p:0000 s:0003 E:001210 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/Users/harden/.rbenv/versions/3.0.1/bin/asmrepl:23:in `<main>'
/Users/harden/.rbenv/versions/3.0.1/bin/asmrepl:23:in `load'
/Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/bin/asmrepl:5:in `<top (required)>'
/Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/bin/asmrepl:5:in `new'
/Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/repl.rb:26:in `initialize'
/Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/helpers.rb:10:in `block in to_proc'
/Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/helpers.rb:10:in `call'

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/harden/.rbenv/versions/3.0.1/bin/asmrepl

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 ruby2_keywords.rb
    5 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
    6 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/trans/transdb.bundle
    7 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/rbconfig.rb
    8 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/compatibility.rb
    9 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/defaults.rb
   10 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/deprecate.rb
   11 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/errors.rb
   12 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/exceptions.rb
   13 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/basic_specification.rb
   14 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/stub_specification.rb
   15 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/text.rb
   16 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/user_interaction.rb
   17 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/specification_policy.rb
   18 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/util/list.rb
   19 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/platform.rb
   20 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/version.rb
   21 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/requirement.rb
   22 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/specification.rb
   23 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/util.rb
   24 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/dependency.rb
   25 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/core_ext/kernel_gem.rb
   26 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/monitor.bundle
   27 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/monitor.rb
   28 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb
   29 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/core_ext/kernel_warn.rb
   30 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems.rb
   31 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/path_support.rb
   32 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/version.rb
   33 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/core_ext/name_error.rb
   34 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/levenshtein.rb
   35 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/jaro_winkler.rb
   36 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checker.rb
   37 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   38 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   39 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/name_error_checkers.rb
   40 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/method_name_checker.rb
   41 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/key_error_checker.rb
   42 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/null_checker.rb
   43 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/tree_spell_checker.rb
   44 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/spell_checkers/require_path_checker.rb
   45 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean/formatters/plain_formatter.rb
   46 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/did_you_mean.rb
   47 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/tsort.rb
   48 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/request_set/gem_dependency_api.rb
   49 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/request_set/lockfile/parser.rb
   50 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/request_set/lockfile/tokenizer.rb
   51 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/request_set/lockfile.rb
   52 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/request_set.rb
   53 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
   54 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
   55 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/errors.rb
   56 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
   57 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
   58 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
   59 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
   60 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
   61 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
   62 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
   63 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
   64 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
   65 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
   66 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/state.rb
   67 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
   68 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
   69 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
   70 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
   71 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
   72 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo/lib/molinillo.rb
   73 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/molinillo.rb
   74 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/activation_request.rb
   75 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/conflict.rb
   76 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/dependency_request.rb
   77 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/requirement_list.rb
   78 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/stats.rb
   79 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/set.rb
   80 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/api_set.rb
   81 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/composed_set.rb
   82 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/best_set.rb
   83 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/current_set.rb
   84 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/git_set.rb
   85 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/index_set.rb
   86 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/installer_set.rb
   87 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/lock_set.rb
   88 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/vendor_set.rb
   89 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/source_set.rb
   90 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/specification.rb
   91 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/spec_specification.rb
   92 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/api_specification.rb
   93 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/git_specification.rb
   94 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/index_specification.rb
   95 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/installed_specification.rb
   96 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/local_specification.rb
   97 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/lock_specification.rb
   98 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver/vendor_specification.rb
   99 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/resolver.rb
  100 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/version.rb
  101 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/rfc2396_parser.rb
  102 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/rfc3986_parser.rb
  103 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/common.rb
  104 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/generic.rb
  105 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/file.rb
  106 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/ftp.rb
  107 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/http.rb
  108 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/https.rb
  109 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/ldap.rb
  110 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/ldaps.rb
  111 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri/mailto.rb
  112 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/uri.rb
  113 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source/git.rb
  114 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source/installed.rb
  115 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source/specific_file.rb
  116 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source/local.rb
  117 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source/lock.rb
  118 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source/vendor.rb
  119 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/rubygems/source.rb
  120 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/set.rb
  121 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/fiddle.bundle
  122 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/fiddle/closure.rb
  123 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/fiddle/function.rb
  124 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/fiddle/version.rb
  125 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/fiddle.rb
  126 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/racc/info.rb
  127 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/racc/cparse.bundle
  128 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/racc/parser.rb
  129 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/ripper.bundle
  130 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/ripper/core.rb
  131 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/ripper/lexer.rb
  132 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/ripper/filter.rb
  133 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/ripper/sexp.rb
  134 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/ripper.rb
  135 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/stringio.bundle
  136 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/encoding.rb
  137 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/instructions.rb
  138 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/basic_block.rb
  139 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/errors.rb
  140 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/version.rb
  141 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk.rb
  142 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/strscan.bundle
  143 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/parser.tab.rb
  144 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/parser.rb
  145 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb
  146 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/fisk-2.3.1/lib/fisk/helpers.rb
  147 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/io/console.bundle
  148 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/timeout.rb
  149 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/forwardable/impl.rb
  150 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/forwardable.rb
  151 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/version.rb
  152 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/config.rb
  153 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/key_actor/base.rb
  154 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/key_actor/emacs.rb
  155 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/key_actor/vi_command.rb
  156 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/key_actor/vi_insert.rb
  157 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/key_actor.rb
  158 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/key_stroke.rb
  159 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/kill_ring.rb
  160 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/unicode/east_asian_width.rb
  161 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/unicode.rb
  162 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/delegate.rb
  163 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/fileutils.rb
  164 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/etc.bundle
  165 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/tmpdir.rb
  166 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/tempfile.rb
  167 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/line_editor.rb
  168 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/history.rb
  169 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/ansi.rb
  170 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline/general_io.rb
  171 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/reline.rb
  172 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/thread_state.rb
  173 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/macos.rb
  174 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl/repl.rb
  175 /Users/harden/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/asmrepl-1.2.0/lib/asmrepl.rb

* Process memory map:

104498000-10449c000 r-x /Users/harden/.rbenv/versions/3.0.1/bin/ruby
10449c000-1044a0000 r-- /Users/harden/.rbenv/versions/3.0.1/bin/ruby
1044a0000-1044a4000 rw- /Users/harden/.rbenv/versions/3.0.1/bin/ruby
1044a4000-1044a8000 r-- /Users/harden/.rbenv/versions/3.0.1/bin/ruby
1044a8000-1045a8000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045a8000-1045b0000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045b0000-1045b4000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045b4000-1045b8000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045b8000-1045bc000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045bc000-1045c0000 --- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045c0000-1045c8000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045c8000-1045cc000 --- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045cc000-1045d0000 --- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045d0000-1045d8000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045d8000-1045dc000 --- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045dc000-1045e0000 --- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045e0000-1045e8000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045e8000-1045ec000 --- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045ec000-1045f0000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045f0000-1045f4000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045f4000-1045f8000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045f8000-1045fc000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
1045fc000-104600000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
104600000-104700000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
104710000-104714000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
104714000-104718000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
104718000-10471c000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
10471c000-104720000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/encdb.bundle
104720000-104724000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/trans/transdb.bundle
104724000-104728000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/trans/transdb.bundle
104728000-10472c000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/trans/transdb.bundle
10472c000-104730000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/enc/trans/transdb.bundle
104730000-104734000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/monitor.bundle
104734000-104738000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/monitor.bundle
104738000-10473c000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/monitor.bundle
10473c000-104740000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/monitor.bundle
104740000-104744000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/racc/cparse.bundle
104744000-104748000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/racc/cparse.bundle
104748000-10474c000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/racc/cparse.bundle
10474c000-104750000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/racc/cparse.bundle
104758000-104760000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/fiddle.bundle
104760000-104764000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/fiddle.bundle
104764000-104768000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/fiddle.bundle
104768000-104770000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/fiddle.bundle
104770000-104774000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/strscan.bundle
104774000-104778000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/strscan.bundle
104778000-10477c000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/strscan.bundle
10477c000-104780000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/strscan.bundle
104784000-10478c000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/stringio.bundle
10478c000-104790000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/stringio.bundle
104790000-104794000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/stringio.bundle
104794000-104798000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/stringio.bundle
104798000-10479c000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/io/console.bundle
10479c000-1047a0000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/io/console.bundle
1047a0000-1047a4000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/io/console.bundle
1047a4000-1047a8000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/io/console.bundle
1047a8000-1047ac000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/etc.bundle
1047ac000-1047b0000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/etc.bundle
1047b0000-1047b4000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/etc.bundle
1047b4000-1047b8000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/etc.bundle
1047b8000-1047f0000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/ripper.bundle
1047f0000-1047f4000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/ripper.bundle
1047f4000-1047f8000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/ripper.bundle
1047f8000-104800000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/ruby/3.0.0/arm64-darwin20/ripper.bundle
104844000-1048a4000 r-x /usr/lib/dyld
1048a4000-1048b4000 r-- /usr/lib/dyld
1048b4000-1048b8000 rw- /usr/lib/dyld
1048b8000-1048f0000 r-- /usr/lib/dyld
104900000-104a00000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104a00000-104b00000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104b00000-104c00000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104ce4000-104fe0000 r-x /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104fe0000-104fe8000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104fe8000-104fec000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104fec000-104ff8000 rw- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
104ff8000-1050e4000 r-- /Users/harden/.rbenv/versions/3.0.1/lib/libruby.3.0.dylib
105100000-105200000 rw-
105200000-105300000 rw-
105800000-106000000 rw-
106000000-108000000 rw-
108000000-108800000 rw-
108800000-108804000 ---
108804000-1088a8000 rw-
1088a8000-1088ac000 ---
1088ac000-108950000 rw-
108950000-108954000 ---
108954000-1089f8000 rw-
1089f8000-1089fc000 ---
1089fc000-108aa0000 rw-
108aa0000-108aa4000 ---
108aa4000-108b48000 rw-
108b48000-108b4c000 ---
108b4c000-108bf0000 rw-
108bf0000-108bf4000 ---
108bf4000-108c98000 rw-
108c98000-108c9c000 ---
108c9c000-108d40000 rw-
108d40000-108d44000 ---
108d44000-108de8000 rw-
108de8000-108dec000 ---
108dec000-108e90000 rw-
108e90000-108e94000 ---
108e94000-108f38000 rw-
108f38000-108f3c000 ---
108f3c000-108fe0000 rw-
108fe0000-108fe4000 ---
108fe4000-109088000 rw-
109088000-10908c000 ---
10908c000-109130000 rw-
109130000-109134000 ---
109134000-1091d8000 rw-
1091d8000-1091dc000 ---
1091dc000-109280000 rw-
109280000-109284000 ---
109284000-109328000 rw-
109328000-10932c000 ---
10932c000-1093d0000 rw-
1093d0000-1093d4000 ---
1093d4000-109478000 rw-
109478000-10947c000 ---
10947c000-109520000 rw-
109520000-109524000 ---
109524000-1095c8000 rw-
1095c8000-1095cc000 ---
1095cc000-109670000 rw-
109670000-109674000 ---
109674000-109718000 rw-
109718000-10971c000 ---
10971c000-1097c0000 rw-
1097c0000-1097c4000 ---
1097c4000-109868000 rw-
109868000-10986c000 ---
10986c000-109910000 rw-
109910000-109914000 ---
109914000-1099b8000 rw-
1099b8000-1099bc000 ---
1099bc000-109a60000 rw-
109a60000-109a64000 ---
109a64000-109b08000 rw-
109b08000-109b0c000 ---
109b0c000-109bb0000 rw-
109bb0000-109bb4000 ---
109bb4000-109c58000 rw-
109c58000-109c5c000 ---
109c5c000-109d00000 rw-
10a000000-10a800000 rw-
10a800000-10b000000 rw-
10b000000-10b800000 rw-
10fe00000-10ff00000 rw-
10ff00000-110000000 rw-
110000000-110800000 rw-
110800000-111000000 rw-
111000000-111800000 rw-
111800000-112000000 rw-
112000000-112800000 rw-
112800000-113000000 rw-
113000000-113800000 rw-
113800000-114000000 rw-
114000000-114800000 rw-
114800000-115000000 rw-
115000000-115800000 rw-
115800000-116000000 rw-
116000000-116800000 rw-
116800000-117000000 rw-
117000000-117800000 rw-
117800000-118000000 rw-
118000000-118800000 rw-
11fe00000-11ff00000 rw-
120000000-120800000 rw-
128000000-128800000 rw-
128800000-129000000 rw-
129000000-129800000 rw-
129800000-12a000000 rw-
12a000000-12a800000 rw-
12a800000-12b000000 rw-
12b000000-12b800000 rw-
12b800000-12c000000 rw-
12c000000-12c800000 rw-
12c800000-12d000000 rw-
12d000000-12d800000 rw-
12d800000-12e000000 rw-
12e000000-12e800000 rw-
12e800000-12f000000 rw-
12f000000-12f800000 rw-
12f800000-130000000 rw-
130000000-130800000 rw-
130800000-131000000 rw-
131000000-131800000 rw-
131800000-132000000 rw-
132000000-132800000 rw-
132800000-133000000 rw-
133000000-133800000 rw-
133800000-134000000 rw-
134000000-134800000 rw-
134800000-135000000 rw-
135000000-135800000 rw-
135800000-136000000 rw-
136000000-136800000 rw-
136800000-137000000 rw-
137000000-137800000 rw-
137800000-138000000 rw-
138000000-138800000 rw-
138800000-139000000 rw-
139000000-139800000 rw-
139800000-13a000000 rw-
13a000000-13a800000 rw-
13a800000-13b000000 rw-
13b000000-13b800000 rw-
13b800000-13c000000 rw-
13c000000-13c800000 rw-
13c800000-13d000000 rw-
13d000000-13d800000 rw-
13d800000-13e000000 rw-
13e000000-13e800000 rw-
13e800000-13f000000 rw-
13f000000-13f800000 rw-
13f800000-140000000 rw-
167968000-16b16c000 ---
16b16c000-16b968000 rw-
16b968000-16b96c000 ---
16b96c000-16b9f4000 rw-
180000000-1f2000000 r--
1f2000000-1f2e88000 r--
1f2e88000-1f2ea8000 rw-
1f2ea8000-1f2eac000 r--
1f2eac000-1f4000000 rw-
1f4000000-1f5aec000 r--
1f5aec000-1f7224000 rw-
1f7224000-1fa4c0000 r--
1fa4c0000-1fc000000 r--
1fc000000-228000000 r--
228000000-22866c000 r--
22866c000-229370000 rw-
229370000-22a53c000 r--
22a53c000-22c000000 r--
22c000000-280000000 r--
fc0000000-1000000000 ---
1000000000-7000000000 ---
600000000000-600008000000 rw-
600008000000-600010000000 rw-
600010000000-600018000000 rw-
600018000000-600020000000 rw-
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.

[1]    74013 abort      sudo asmrepl

and content of file in DiagnosticReports is:

{"app_name":"ruby","timestamp":"2022-02-21 12:32:23.00 +0800","app_version":"","slice_uuid":"79525dae-1abd-3ba3-8a39-53f3b95e997b","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.0.1 (21A559)","incident_id":"074B4FAB-EFBC-4108-961E-6D0B170E5D59","name":"ruby"}
{
  "uptime" : 400000,
  "procLaunch" : "2022-02-21 12:32:20.9064 +0800",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "procStartAbsTime" : 9741354186387,
  "coalitionID" : 483,
  "osVersion" : {
    "train" : "macOS 12.0.1",
    "build" : "21A559",
    "releaseType" : "User"
  },
  "captureTime" : "2022-02-21 12:32:22.3141 +0800",
  "incident" : "074B4FAB-EFBC-4108-961E-6D0B170E5D59",
  "bug_type" : "309",
  "pid" : 65879,
  "procExitAbsTime" : 9741387562047,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "ruby",
  "procPath" : "\/Users\/USER\/*\/ruby",
  "parentProc" : "zsh",
  "parentPid" : 46258,
  "coalitionName" : "com.googlecode.iterm2",
  "crashReporterKey" : "E1F07EB6-4214-19D5-7361-1F3B07B4463E",
  "responsiblePid" : 455,
  "responsibleProc" : "iTerm2",
  "wakeTime" : 8899,
  "sleepWakeUUID" : "0E070D19-637E-4741-8557-0E09CABFE44D",
  "sip" : "enabled",
  "vmRegionInfo" : "0xffffffffffffffff is not in any region.  Bytes after previous region: 18446638520056414208  \n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL  ...(unallocated)\n--->  \n      UNUSED SPACE AT END",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0xffffffffffffffff","rawCodes":[1,-1],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS at 0xffffffffffffffff"},
  "vmregioninfo" : "0xffffffffffffffff is not in any region.  Bytes after previous region: 18446638520056414208  \n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL  ...(unallocated)\n--->  \n      UNUSED SPACE AT END",
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":448,"task_for_pid":21},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":8722644,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":1287},{"value":0},{"value":0},{"value":0},{"value":15989473418934898375},{"value":15989473414712970055},{"value":2},{"value":4294967293},{"value":0},{"value":0},{"value":1},{"value":2},{"value":328},{"value":8441328944},{"value":0},{"value":6},{"value":4373513600,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4381106176,"symbolLocation":48,"symbol":"_MergedGlobals"},{"value":4380984039,"symbolLocation":31882,"symbol":"hex_table"},{"value":5017140208},{"value":96},{"value":3},{"value":3},{"value":6097475568}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6927290716},"cpsr":{"value":1073741824},"fp":{"value":5017140080},"sp":{"value":5017140048},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6927079864,"matchesCrashFrame":1},"far":{"value":4381688920}},"queue":"com.apple.main-thread","frames":[{"imageOffset":39352,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":29020,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":496404,"symbol":"abort","symbolLocation":164,"imageIndex":2},{"imageOffset":571948,"symbol":"die","symbolLocation":12,"imageIndex":3},{"imageOffset":572412,"symbol":"rb_bug_for_fatal_signal","symbolLocation":464,"imageIndex":3},{"imageOffset":1750480,"symbol":"sigsegv","symbolLocation":96,"imageIndex":3},{"imageOffset":17636,"symbol":"_sigtramp","symbolLocation":56,"imageIndex":4},{"imageOffset":32848,"symbol":"ffi_call_SYSV","symbolLocation":80,"imageIndex":5},{"imageOffset":68068,"symbol":"ffi_call_int","symbolLocation":948,"imageIndex":5},{"imageOffset":17512,"symbol":"nogvl_ffi_call","symbolLocation":28,"imageIndex":6},{"imageOffset":1987244,"symbol":"rb_nogvl","symbolLocation":268,"imageIndex":3},{"imageOffset":16024,"symbol":"function_call","symbolLocation":1416,"imageIndex":6},{"imageOffset":2340812,"symbol":"vm_call_cfunc_with_frame","symbolLocation":232,"imageIndex":3},{"imageOffset":2312884,"symbol":"vm_sendish","symbolLocation":1208,"imageIndex":3},{"imageOffset":2211876,"symbol":"vm_exec_core","symbolLocation":12172,"imageIndex":3},{"imageOffset":2295292,"symbol":"rb_vm_exec","symbolLocation":2948,"imageIndex":3},{"imageOffset":2356580,"symbol":"invoke_bmethod","symbolLocation":304,"imageIndex":3},{"imageOffset":2324852,"symbol":"vm_call_bmethod","symbolLocation":892,"imageIndex":3},{"imageOffset":2312884,"symbol":"vm_sendish","symbolLocation":1208,"imageIndex":3},{"imageOffset":2211876,"symbol":"vm_exec_core","symbolLocation":12172,"imageIndex":3},{"imageOffset":2295292,"symbol":"rb_vm_exec","symbolLocation":2948,"imageIndex":3},{"imageOffset":2353988,"symbol":"rb_call0","symbolLocation":1276,"imageIndex":3},{"imageOffset":1188132,"symbol":"rb_class_new_instance_pass_kw","symbolLocation":60,"imageIndex":3},{"imageOffset":2340812,"symbol":"vm_call_cfunc_with_frame","symbolLocation":232,"imageIndex":3},{"imageOffset":2312884,"symbol":"vm_sendish","symbolLocation":1208,"imageIndex":3},{"imageOffset":2211876,"symbol":"vm_exec_core","symbolLocation":12172,"imageIndex":3},{"imageOffset":2295292,"symbol":"rb_vm_exec","symbolLocation":2948,"imageIndex":3},{"imageOffset":968540,"symbol":"load_iseq_eval","symbolLocation":200,"imageIndex":3},{"imageOffset":965424,"symbol":"rb_f_load","symbolLocation":276,"imageIndex":3},{"imageOffset":2340812,"symbol":"vm_call_cfunc_with_frame","symbolLocation":232,"imageIndex":3},{"imageOffset":2312884,"symbol":"vm_sendish","symbolLocation":1208,"imageIndex":3},{"imageOffset":2211876,"symbol":"vm_exec_core","symbolLocation":12172,"imageIndex":3},{"imageOffset":2295292,"symbol":"rb_vm_exec","symbolLocation":2948,"imageIndex":3},{"imageOffset":615992,"symbol":"rb_ec_exec_node","symbolLocation":292,"imageIndex":3},{"imageOffset":615604,"symbol":"ruby_run_node","symbolLocation":96,"imageIndex":3},{"imageOffset":16064,"symbol":"main","symbolLocation":92,"imageIndex":7},{"imageOffset":20724,"symbol":"start","symbolLocation":520,"imageIndex":8}]},{"id":8722645,"frames":[{"imageOffset":39632,"symbol":"poll","symbolLocation":8,"imageIndex":0},{"imageOffset":2024800,"symbol":"timer_pthread_fn","symbolLocation":184,"imageIndex":3},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6927040512,
    "size" : 221184,
    "uuid" : "c8524c02-b14f-30bd-a228-c44b4a448e68",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6927261696,
    "size" : 53248,
    "uuid" : "4786e19a-9312-38e6-80ef-9c1394548118",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6925996032,
    "size" : 528384,
    "uuid" : "002a39ae-6431-3b2e-85e7-c45fc2f95ad0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377903104,
    "size" : 3129344,
    "uuid" : "2e164a93-40a2-32d2-b7e7-8507a827b1aa",
    "path" : "\/Users\/USER\/*\/libruby.3.0.dylib",
    "name" : "libruby.3.0.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6927368192,
    "size" : 32768,
    "uuid" : "06ce953d-f22a-3724-b6d5-829b45179897",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7162920960,
    "size" : 73728,
    "uuid" : "a4c6a2e3-4716-3ce6-b294-9167d875e7f5",
    "path" : "\/usr\/lib\/libffi.dylib",
    "name" : "libffi.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372561920,
    "size" : 32768,
    "uuid" : "ea275250-cca7-37d5-abd8-c9d49aac4576",
    "path" : "\/Users\/USER\/*\/fiddle.bundle",
    "name" : "fiddle.bundle"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4369399808,
    "size" : 16384,
    "uuid" : "79525dae-1abd-3ba3-8a39-53f3b95e997b",
    "path" : "\/Users\/USER\/*\/ruby",
    "name" : "ruby"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4373053440,
    "size" : 393216,
    "uuid" : "86a8ba48-8bb4-3b30-9cda-051f73c74f44",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 6924091392,
  "size" : 3072180224,
  "uuid" : "a6162d66-93e3-3251-93cc-b11f7c8c830e"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=652.5M resident=0K(0%) swapped_out_or_unallocated=652.5M(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           265.2M       32 \nMALLOC guard page                   96K        5 \nMALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                         16K        1 \nStack                             8720K        2 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                        1.0G       65 \n__AUTH                             221K       46 \n__AUTH_CONST                      2870K      123 \n__DATA                            1130K      129 \n__DATA_CONST                      3771K      136 \n__DATA_DIRTY                       233K       51 \n__LINKEDIT                       571.8M       14 \n__OBJC_CONST                       259K       29 \n__OBJC_RO                         81.8M        1 \n__OBJC_RW                         3088K        1 \n__TEXT                            80.7M      142 \n__UNICODE                          588K        1 \ndyld private memory               1024K        1 \nshared memory                       32K        2 \n===========                     =======  ======= \nTOTAL                              2.9G      789 \nTOTAL, minus reserved VM space     2.1G      789 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "61ae8d06da72d16a4beb762e"
      },
      "deploymentId" : 240000305
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000231
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000106
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "61ef3bd729647d394933a0a6"
      },
      "deploymentId" : 240000389
    }
  ],
  "experiments" : [

  ]
}
}

on mac os monterey 12.3.1 ,m1 max + arm64:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require': /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:7: syntax error, unexpected in, expecting when (SyntaxError) in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:21: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:23: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:25: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:27: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:37: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:39: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:41: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:43: syntax error, unexpected in, expecting end in [:command, [:instruction, in... ^~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:45: else without rescue is useless else ^~~~ /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl/assembler.rb:53: syntax error, unexpected end, expecting end-of-input from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
from /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/lib/asmrepl.rb:10:in <top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' from /Library/Ruby/Gems/2.6.0/gems/asmrepl-1.2.0/bin/asmrepl:3:in <top (required)>'
from /usr/local/bin/asmrepl:23:in load' from /usr/local/bin/asmrepl:23:in

'

Hi,

Right now asmrepl only works on x86 CPUs. I'm working on ARM64 support, but you should be able to run it with rosetta in the mean time.