Project

General

Profile

Actions

Bug #16358

closed

rails 6.0.1 db:migrate failure on Mac OS 10.13.6 using mysql2 gem

Added by devonrudd (Devon Rudd) over 4 years ago. Updated over 4 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin17]
[ruby-core:95903]

Description

Hello,

I got a segmentation fault while trying to do a migration to a mysql database. I've tried versions 0.4.10 and 0.5.1 of the mysql2 gem. I have included my Gemfile, console output, and Diagnostic Reports file regarding the issue. If you have any suggestions that would be appreciated!

Thanks!


Files

log.txt (206 KB) log.txt terminal output devonrudd (Devon Rudd), 11/21/2019 11:24 AM
ruby_2019-11-21-024541_MacBook-Pro-3.crash (57.8 KB) ruby_2019-11-21-024541_MacBook-Pro-3.crash Diagnostic Report devonrudd (Devon Rudd), 11/21/2019 11:25 AM
Gemfile (1.91 KB) Gemfile devonrudd (Devon Rudd), 11/21/2019 11:26 AM

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Third Party's Issue

This appears to be a bug in the mysql2 gem, please report it to their bug tracker: https://github.com/brianmario/mysql2/issues

/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1a) [0x7fff6241cf5a]
/Users/nukeguy5/.rbenv/versions/2.6.5/lib/libruby.2.6.dylib(0x1049cccf9) [0x1049cccf9]
/Users/nukeguy5/.rbenv/versions/2.6.5/lib/libruby.2.6.dylib(0x1049c99c6) [0x1049c99c6]
/Users/nukeguy5/.rbenv/versions/2.6.5/lib/libruby.2.6.dylib(0x10489d8ac) [0x10489d8ac]
/Users/nukeguy5/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.bundle(rb_mysql_result_fetch_row+0x580) [0x107eb7670]
/Users/nukeguy5/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.bundle(0x107eb628e) [0x107eb628e]

You'll probably want to build both ruby and the mysql2 gem with debug symbols in order to make a more useful bug report.

Actions

Also available in: Atom PDF

Like0
Like0