[MacRuby] #1419: symbol not found: _rb_str_freeze with sequel and mysql gems
#1419: symbol not found: _rb_str_freeze with sequel and mysql gems ----------------------------+----------------------------------------------- Reporter: jdmuys@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: crash ----------------------------+----------------------------------------------- macruby crashes when using the sequel gem with mysql adapter. Here is a very short sample session in macirb: $ sudo macgem install mysql $ sudo macgem install sequel $ macirb irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'sequel' => true irb(main):003:0> DB = Sequel.connect(:adapter => 'mysql', :user => 'root', :host => 'localhost', :database => 'SAPHY',:password=>'') => #<Sequel::MySQL::Database: "mysql://root:@localhost/SAPHY"> irb(main):004:0> DB.tables dyld: lazy symbol binding failed: Symbol not found: _rb_str_freeze Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace dyld: Symbol not found: _rb_str_freeze Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace Trace/BPT trap: 5 $ -- Ticket URL: <http://www.macruby.org/trac/ticket/1419> MacRuby <http://macruby.org/>
#1419: symbol not found: _rb_str_freeze with sequel and mysql gems ----------------------------+----------------------------------------------- Reporter: jdmuys@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: crash ----------------------------+----------------------------------------------- Description changed by watson1978@…: Old description:
macruby crashes when using the sequel gem with mysql adapter. Here is a very short sample session in macirb:
$ sudo macgem install mysql $ sudo macgem install sequel $ macirb
irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'sequel' => true irb(main):003:0> DB = Sequel.connect(:adapter => 'mysql', :user => 'root', :host => 'localhost', :database => 'SAPHY',:password=>'') => #<Sequel::MySQL::Database: "mysql://root:@localhost/SAPHY"> irb(main):004:0> DB.tables dyld: lazy symbol binding failed: Symbol not found: _rb_str_freeze Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace
dyld: Symbol not found: _rb_str_freeze Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace
Trace/BPT trap: 5 $
New description: macruby crashes when using the sequel gem with mysql adapter. Here is a very short sample session in macirb: {{{ $ sudo macgem install mysql $ sudo macgem install sequel $ macirb irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'sequel' => true irb(main):003:0> DB = Sequel.connect(:adapter => 'mysql', :user => 'root', :host => 'localhost', :database => 'SAPHY',:password=>'') => #<Sequel::MySQL::Database: "mysql://root:@localhost/SAPHY"> irb(main):004:0> DB.tables dyld: lazy symbol binding failed: Symbol not found: _rb_str_freeze Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace dyld: Symbol not found: _rb_str_freeze Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle Expected in: flat namespace Trace/BPT trap: 5 $ }}} -- -- Ticket URL: <http://www.macruby.org/trac/ticket/1419#comment:1> MacRuby <http://macruby.org/>
#1419: symbol not found: _rb_str_freeze with sequel and mysql gems ----------------------------+----------------------------------------------- Reporter: jdmuys@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: critical | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: crash | ----------------------------+----------------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed Comment: Fixed this issue with https://github.com/MacRuby/MacRuby/commit/d3d62126cda14fd824f7f14594e632317f... [[BR]] Thank you for your report! -- Ticket URL: <http://www.macruby.org/trac/ticket/1419#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby