[#109115] [Ruby master Misc#18891] Expand tabs in C code — "k0kubun (Takashi Kokubun)" <noreply@...>

Issue #18891 has been reported by k0kubun (Takashi Kokubun).

13 messages 2022/07/02

[#109118] [Ruby master Bug#18893] Don't redefine memcpy(3) — "alx (Alejandro Colomar)" <noreply@...>

Issue #18893 has been reported by alx (Alejandro Colomar).

11 messages 2022/07/02

[#109152] [Ruby master Bug#18899] Inconsistent argument handling in IO#set_encoding — "javanthropus (Jeremy Bopp)" <noreply@...>

Issue #18899 has been reported by javanthropus (Jeremy Bopp).

10 messages 2022/07/06

[#109193] [Ruby master Bug#18909] ARGF.readlines reads more than current file — "JohanJosefsson (Johan Josefsson)" <noreply@...>

Issue #18909 has been reported by JohanJosefsson (Johan Josefsson).

17 messages 2022/07/13

[#109196] [Ruby master Bug#18911] Process._fork hook point is not called when Process.daemon is used — "ivoanjo (Ivo Anjo)" <noreply@...>

Issue #18911 has been reported by ivoanjo (Ivo Anjo).

9 messages 2022/07/13

[#109201] [Ruby master Bug#18912] Build failure with macOS 13 (Ventura) Beta — "hsbt (Hiroshi SHIBATA)" <noreply@...>

Issue #18912 has been reported by hsbt (Hiroshi SHIBATA).

20 messages 2022/07/14

[#109206] [Ruby master Bug#18914] Segmentation fault during Ruby test suite execution — "jprokop (Jarek Prokop)" <noreply@...>

Issue #18914 has been reported by jprokop (Jarek Prokop).

8 messages 2022/07/14

[#109207] [Ruby master Feature#18915] New error class: NotImplementedYetError or scope change for NotImplementedYet — Quintasan <noreply@...>

Issue #18915 has been reported by Quintasan (Michał Zając).

18 messages 2022/07/14

[#109260] [Ruby master Feature#18930] Officially deprecate class variables — "Eregon (Benoit Daloze)" <noreply@...>

Issue #18930 has been reported by Eregon (Benoit Daloze).

21 messages 2022/07/20

[#109314] [Ruby master Bug#18938] Backport cf7d07570f50ef9c16007019afcff11ba6500d70 — "byroot (Jean Boussier)" <noreply@...>

Issue #18938 has been reported by byroot (Jean Boussier).

8 messages 2022/07/25

[#109371] [Ruby master Feature#18949] Deprecate and remove replicate and dummy encodings — "Eregon (Benoit Daloze)" <noreply@...>

Issue #18949 has been reported by Eregon (Benoit Daloze).

35 messages 2022/07/29

[ruby-core:109126] [Ruby master Bug#18895] Mac M1 Monterey 12.4 - Bus error at active support

From: "austin (Austin Ziegler)" <noreply@...>
Date: 2022-07-03 16:50:46 UTC
List: ruby-core #109126
Issue #18895 has been updated by austin (Austin Ziegler).


shyamc (Shyam Sundhar C) wrote in #note-3:
> I have installed the rbenv with command `arch -x86_64 brew install rbenv ruby-build`. 
> 
> Also I am not sure that its an option where I can copy the `~/.rbenv` and homebrew files from intel to M1. Can you please advice ?

Yeah, don’t do that. Either one.

Unless there is something that you must absolutely link against an extant x86 library that isn’t source available, *always* build native.

Running under x86 on M1 is *possible*, but:

1. Not all x86 instructions work (sometimes resulting in segfaults)
2. There is a performance hit involved, even if it is negligible most of the time.

If you cannot build Ruby 2.3 or the necessary gems as native M1 (aarch64, which is entirely possible because Ruby 2.3 EOLed in 2019), then consider shifting your workflow for your older application so that you are running it in a Docker image, where you’re unlikely to have mixed binary formats.

I’ve been using M1 for a while now, and if you find yourself typing `arch -x86_64` for pretty much *anything*, you’re doing it wrong (I haven’t had to do so in more than a year, although I’m also using new versions of Ruby, not Ruby 2.3).

----------------------------------------
Bug #18895: Mac M1 Monterey 12.4 - Bus error at active support
https://bugs.ruby-lang.org/issues/18895#change-98267

* 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread