[MacRuby] #1145: Segfault occurs with enumerateObjectsUsingBlock

MacRuby ruby-noreply at macosforge.org
Tue Feb 1 13:27:59 PST 2011


#1145: Segfault occurs with enumerateObjectsUsingBlock
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |        Owner:  lsansonetti@…        
     Type:  defect                |       Status:  closed               
 Priority:  blocker               |    Milestone:                       
Component:  MacRuby               |   Resolution:  wontfix              
 Keywords:                        |  
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Sadly this is expected, without the necessary BridgeSupport metadata, we
 pass the Proc object which does not conform to the blocks ABI, therefore
 causing the crash.

 There are a few other cases where not loading the BridgeSupport metadata
 can cause segfault, such as performing a variadic method.

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



More information about the macruby-tickets mailing list