#1350: Segfault occurs when invoked an alias within some threads ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): With https://github.com/MacRuby/MacRuby/commit/d08f39ddfa8b1816e92712334abf544af9... it doesn't seem to crash anymore. However, because of lazy JIT compilation of methods, it fails very often with: {{{ /Users/lrz/src/macruby-master/t2.rb:18:in `block': undefined method `bar' for class `Foo' (NameError) from /Users/lrz/src/macruby-master/t2.rb:17:in `<main>' }}} Changing the snippet like this makes it work: {{{ # ... f1 = Foo.new f1.bar('hey') # <- this forces the #bar method JIT compilation & registration f2 = f1.clone # ... }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1350#comment:1> MacRuby <http://macruby.org/>