Issue #15120 has been updated by bobvanderlinden (Bob van der Linden).

File stdout.txt added

Added stdout/stdin.

----------------------------------------
Bug #15120: Segfault when using ActiveRecord
https://bugs.ruby-lang.org/issues/15120#change-74042

* Author: bobvanderlinden (Bob van der Linden)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-darwin17]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Whenever I do some of the MySQL migrations in my project I get a segfault. One example of a command that triggers this error is:

```
RAILS_ENV=test bundle exec rake db:migrate
```

I tried to get a smaller reproducable case, but running MySQL directly seems to work correctly. I'm not sure what is going on.

It does not seem like a fluke, becaue I get the segfault even after reinstalling MySQL using brew and reinstalling ruby and all gems.

---Files--------------------------------
ruby_2018-09-14-143231_nvc3428.crash (49.5 KB)
stdout.txt (496 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>