Project

General

Profile

Actions

Bug #15120

closed

Segfault when using ActiveRecord

Added by bobvanderlinden (Bob van der Linden) over 5 years ago. Updated almost 5 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-darwin17]
[ruby-core:89011]

Description

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) ruby_2018-09-14-143231_nvc3428.crash Diagnostic report bobvanderlinden (Bob van der Linden), 09/14/2018 12:49 PM
stdout.txt (496 KB) stdout.txt bobvanderlinden (Bob van der Linden), 09/14/2018 01:58 PM
Actions #1

Updated by bobvanderlinden (Bob van der Linden) over 5 years ago

  • File deleted (code-stdin-xgm.txt)

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

  • Status changed from Open to Third Party's Issue

This appears to be an issue in the mysql2 gem. It is similar to https://github.com/brianmario/mysql2/issues/1036#issuecomment-487389420. If it is still happening to you, you may want to update that mysql2 issue with details.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0