[MacRuby] #1040: Dalli test suite crashes
#1040: Dalli test suite crashes -------------------------------+-------------------------------------------- Reporter: mperham@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.8 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- I'm trying to run the Dalli test suite on MacRuby 0.8 on the latest version of OSX. {{{ git clone git://github.com/mperham/dalli.git rvm use macruby@dalli-test gem install bundler <--- fails with a weird error about existing bundle script bundle install rake }}} I get this: {{{ Using standard socket IO (MacRuby 0.8 (ruby 1.9.2) [universal-darwin10.0, x86_64]) Assertion failed: (len < sizeof(buf)), function push_method, file vm.cpp, line 2244. rake aborted! Command failed with status (): [/Library/Frameworks/MacRuby.framework/Vers...] /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rake.rb:993:in `block' /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rake.rb:1008:in `sh:' /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rake.rb:1027:in `ruby:' /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rake/testtask.rb:115:in `block' }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1040> MacRuby <http://macruby.org/>
#1040: Dalli test suite crashes -------------------------------+-------------------------------------------- Reporter: mperham@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.8 Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by mperham@…): Also, when I try to run a test file without rake, I get a crash. This invocation works fine on 1.9.2. {{{ /tmp/dalli> ruby -Ilib:test test/test_dalli.rb Using standard socket IO (MacRuby 0.8 (ruby 1.9.2) [universal-darwin10.0, x86_64]) Loaded suite test/test_dalli Started uncaught Objective-C/C++ exception... 2010-12-14 07:52:01.350 macruby[55854:613] *** Terminating app due to uncaught exception 'NoMethodError', reason: '/Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/minitest/unit.rb:641:in `block': undefined method `run' for #<TestDalli:0x200822ca0 ...> (NoMethodError) from /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/minitest/unit.rb:635:in `block' from /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/minitest/unit.rb:634:in `run_test_suites:' from /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/minitest/unit.rb:594:in `run:' from /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/minitest/unit.rb:492:in `block' ' }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1040#comment:1> MacRuby <http://macruby.org/>
#1040: Dalli test suite crashes -------------------------------+-------------------------------------------- Reporter: mperham@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.9 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------+-------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 0.8 => MacRuby 0.9 Comment: I haven't been able to reproduce your crash as easily, but looking at the assertion in the source code, I believe that you have somewhere a class with a method name larger than 100 characters, and calling #methods (or a similar method) on it. I fixed the assertion in r5026. Could you try with tonight's nightly build and reopen the radar in case you still see the problem? -- Ticket URL: <http://www.macruby.org/trac/ticket/1040#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby