[ruby-core:95907] [Ruby master Bug#16358] rails 6.0.1 db:migrate failure on Mac OS 10.13.6 using mysql2 gem

From: merch-redmine@...
Date: 2019-11-21 16:21:07 UTC
List: ruby-core #95907
Issue #16358 has been updated by jeremyevans0 (Jeremy Evans).

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.

----------------------------------------
Bug #16358: rails 6.0.1 db:migrate failure on Mac OS 10.13.6 using mysql2 gem
https://bugs.ruby-lang.org/issues/16358#change-82750

* Author: devonrudd (Devon Rudd)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin17]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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)
ruby_2019-11-21-024541_MacBook-Pro-3.crash (57.8 KB)
Gemfile (1.91 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

Prev Next