[MacRuby] #1346: Segfault occurs when invoked a Module#attr within some threads.

MacRuby ruby-noreply at macosforge.org
Tue Jul 5 18:45:31 PDT 2011


#1346: Segfault occurs when invoked a Module#attr within some threads.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by kouji@…):

 included typo. see below.

 {{{
       if (write) {
  +      GET_CORE()->lock();
         Function *f = RoxorCompiler::shared->compile_write_attr(iname);
  +      GET_CORE()->unlock();
         snprintf(buf, sizeof buf, "%s=:", name);
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1346#comment:3>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list