[MacRuby] #1243: Segfault occurs in rb_vm_const_lookup_level when use Webrick.
MacRuby
ruby-noreply at macosforge.org
Thu Apr 28 18:00:39 PDT 2011
#1243: Segfault occurs in rb_vm_const_lookup_level when use Webrick.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by lsansonetti@…):
I fixed the segfault crash in master but the problem is not solved yet, it
still fails with a const lookup error. I was able to reduce the problem
to:
{{{
$ ./miniruby -e "module M; eval('FOO=42; class X; def foo; FOO; end;
end'); end; p M::X.new.foo"
-e:1:in `<main>': uninitialized constant M::X::FOO (NameError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1243#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list