[MacRuby] #504: sequel 3.7.0 gem unusable.
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ While trying to load the gem using require, macruby crashes with a failed assertion: Assertion failed: (m != NULL), function rb_vm_super_lookup, file dispatcher.cpp, line 227. The gem works flawlessly with the system ruby interpreter. -- Ticket URL: <http://www.macruby.org/trac/ticket/504> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ Comment(by niesen@…): Still true for sequel 3.8.0 and the most current macruby nightly. -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:1> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ Comment(by lsansonetti@…): Strange enough, a dispatch call with a null selector is compiled. {{{ Program received signal SIGABRT, Aborted. 0x00007fff80158096 in __kill () (gdb) bt #0 0x00007fff80158096 in __kill () #1 0x00007fff801f90c2 in abort () #2 0x00007fff801e6104 in __assert_rtn () #3 0x000000010015f8df in rb_vm_super_lookup (klass=8594667904, sel=0x0) at dispatcher.cpp:227 #4 0x0000000100169f93 in rb_vm_dispatch (cache=0x1064f17d0, top=8594667968, self=8594667968, sel=0x0, block=0x0, opt=3 '\003', argc=1) at dispatcher.cpp:569 #5 0x0000000101189abc in ?? () #6 0x000000010001835b in rb_ary_each_imp (ary=8594667968, sel=<value temporarily unavailable, due to optimizations>) at ruby.h:1035 #7 0x000000010016b632 in rb_vm_dispatch (cache=0x100f2b8f0, top=8594667968, self=8594615520, sel=0x100f2b7f0, block=0x20047b500, opt=0 '\0', argc=<value temporarily unavailable, due to optimizations>) at dispatcher.cpp:130 #8 0x0000000101188ac7 in ?? () #9 0x00000001011819d7 in ?? () }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:2> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ Comment(by lsansonetti@…): Reduction: {{{ $ ./miniruby -e "def foo; 1.times { super }; end; foo" Assertion failed: (m != NULL), function rb_vm_super_lookup, file dispatcher.cpp, line 227. Abort trap }}} Added to test_vm as r3194. -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:3> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ Comment(by lsansonetti@…): The super dispatch bug has been fixed in r3199. Now, the gem is failing somewhere else. {{{ $ DYLD_LIBRARY_PATH=. ./macruby -r rubygems -e "require 'sequel'" core:in `require:': only pure Ruby methods can be aliased (`class' is not) (ArgumentError) }}} This bug is already being tracked internally as <rdar://problem/7341058>. -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:4> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------+------------------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: As of r3200, the sequel gem is now require'able. {{{ $ DYLD_LIBRARY_PATH=. ./macruby -r rubygems -e "require 'sequel'" $ }}} I do not know if it's functional, though. Please re-open this ticket or file another one if you find an issue. -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:5> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------+------------------------------------------------ Comment(by niesen@…): Thanks for fixing this. Sadly it doesn't work, since both sqlite3-ruby and pg are not supported by macruby yet. (My fault, I was under the impression that sequel wouldn't need any native gems installed/) -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:6> MacRuby <http://macruby.org/>
#504: sequel 3.7.0 gem unusable. ---------------------------+------------------------------------------------ Reporter: niesen@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------+------------------------------------------------ Comment(by lsansonetti@…): We do plan to support these C extensions soon, feel free to file a bug if you want to track this. -- Ticket URL: <http://www.macruby.org/trac/ticket/504#comment:7> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby