[MacRuby] #844: Assertion fails when use the same variable with more iterators, and use Thread.

MacRuby ruby-noreply at macosforge.org
Tue Aug 10 07:36:39 PDT 2010


#844: Assertion fails when use the same variable with more iterators, and use
Thread.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 #!ruby
 $ cat test_iterator.rb
 2.times do |i|
   2.times do |i|
     Thread.start {
       p "++ #{i}"
     }.join
   end

   p "** #{i}"
 end
 }}}

 {{{
 $ macruby test_iterator.rb
 "++ 0"
 Assertion failed: (size > 0), function ruby_xmalloc_memory,
  file gc.c, line 107.
 zsh: abort      macruby test_iterator.rb
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/844>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list