#1347: Segfault occurs when invoked a Module#define_method within some threads. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): I agree for locking around add_method(). But I don't think locking in rb_vm_add_lvar_use() is the way to go. I believe the lvar_use thing has never been designed for thread safety, and I wonder if there isn't a better way to solve these race conditions. -- Ticket URL: <http://www.macruby.org/trac/ticket/1347#comment:3> MacRuby <http://macruby.org/>