Issue #12816 has been updated by Shyouhei Urabe.

Status changed from Open to Third Party's Issue

Marked as a dup of #12807.

----------------------------------------
Bug #12816: After upgrade to Mac OS Sierra, segmentation faults occur during rails/bin console
https://bugs.ruby-lang.org/issues/12816#change-60773

* Author: Sophia Wu
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* ruby -v: 2.3.1
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
When the rails/bin console is opened and utilized, segmentation faults will occur much of the time when, for instance, returning an array of all articles (Article.all). The segmentation fault can also occur with the command "bin/rake db:migrate".
If the terminal is completely closed and re-opened, many times this problem is fixed. After some time though, segmentation faults start happening again.
It seems that there is an issue with the sqlite3_adapter, as the bug looks something like this usually: 
.../gems/ruby-2.3.1@global/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/sqlite3_adapter.rb:27: [BUG] Segmentation fault at 0x00000000000110



-- 
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>