From: "austin (Austin Ziegler)" Date: 2022-07-03T16:34:47+00:00 Subject: [ruby-core:109124] [Ruby master Bug#18895] Mac M1 Monterey 12.4 - Bus error at active support Issue #18895 has been updated by austin (Austin Ziegler). peterzhu2118 (Peter Zhu) wrote in #note-1: > Thank you for the bug report, however support for Ruby 2.3 has ended in 2019. Please update to Ruby 2.7.6 or later and open an issue if you still run into this issue. This also has the feeling of running an Intel version of Ruby where there is likely some dependency on a library that has now been compiled as aarch64. My guess would be that `~/.rbenv` was copied from the Intel macOS machine without necessarily copying `/usr/local/���` (the Intel location for Homebrew). ---------------------------------------- Bug #18895: Mac M1 Monterey 12.4 - Bus error at active support https://bugs.ruby-lang.org/issues/18895#change-98265 * Author: shyamc (Shyam Sundhar C) * Status: Feedback * Priority: Normal * ruby -v: ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin21] * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Hi All, I have been using intel Mac for a long time. Just moving to M1 environment. Got several issues during bundle install but was able to fix it. Now when I run 'bundle exec rails s' and any callbacks is being called, I am getting this bug with lengthy terminal output. Checked out and tried the existing issue : https://bugs.ruby-lang.org/issues/18555 but unable to resolve it. So here I am, looking for help. ``` ruby /Users/schockalingam/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:162: [BUG] Bus Error at 0x000000030db30ff8 ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin21] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/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:0151 p:---- s:0859 e:000858 CFUNC :class_eval c:0150 p:0044 s:0853 e:000852 METHOD /Users/schockalingam/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:162 c:0149 p:0089 s:0849 e:000848 METHOD /Users/schockalingam/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:107 [FINISH] c:0148 p:---- s:0841 e:000840 CFUNC :new c:0147 p:0026 s:0833 e:000832 BLOCK /Users/schockalingam/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:496 [FINISH] ``` Thanks in advance, Shyam C ---Files-------------------------------- ruby-2022-07-03-152254.ips (33.8 KB) gem_env.txt (1.39 KB) terminal_output.txt (944 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: