Issue #4995 has been updated by Motohiro KOSAKI.

Priority changed from Normal to Low


----------------------------------------
Bug #4995:  1 test fails on AIX
http://redmine.ruby-lang.org/issues/4995

Author: Anonymous
Status: Assigned
Priority: Low
Assignee: Yutaka Kanemoto
Category: 
Target version: 1.9.3
ruby -v: ruby-1.9.2-p180 on AIX 6100-05-06-1119 using gcc 4.5.2


 I'm compiling and testing ruby-1.9.2-p180 on AIX 6100-05-06-1119 using gcc 4.5.2.  My "make check" failed with:
 
 > test_thread.rb ..bootstraptest.tmp.rb:4:in `new': failed to allocate memory (NoMemoryError)
 >         from bootstraptest.tmp.rb:4:in `block in <main>'
 >         from bootstraptest.tmp.rb:3:in `each'
 >         from bootstraptest.tmp.rb:3:in `map'
 >         from bootstraptest.tmp.rb:3:in `<main>'
 > F...............................................
 > #887 test_thread.rb:13:in `<top (required)>': 
 >      v = 0
 >      (1..200).map{|i|
 >        Thread.new{
 >          i
 >        }
 >      }.each{|t|
 >        v += t.value
 >      }
 >      v
 >   #=> "" (expected "20100")  
 > FAIL 1/934 tests failed
 
 
 No core file was produced.
 
 I will investigate this a little more but thought I would at least see if this is known, etc.
 
 Thank you,
 pedz


-- 
http://redmine.ruby-lang.org