[MacRuby-devel] [MacRuby] #620: Yielding a block inside a loop in a thread crashes the VM

MacRuby ruby-noreply at macosforge.org
Sat Jul 24 00:21:27 PDT 2010


#620: Yielding a block inside a loop in a thread crashes the VM
---------------------------------+------------------------------------------
 Reporter:  honglilai@…          |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by watson1978@…):

 With your patch,in the following conditions, I think that assertion failed
 occures.

  * b->flags = VM_BLOCK_THREAD
  * flags = VM_BLOCK_THREAD
    * b->flags & flags => VM_BLOCK_THREAD
    * (flags & ~VM_BLOCK_THREAD) => 0

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



More information about the MacRuby-devel mailing list