Project

General

Profile

Backport #6953

mingw: test_thread.rb fails - can't create Thread (12)

Added by luislavena (Luis Lavena) almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:47377]

Description

=begin
Hello,

Recently I've enabled 64bits builds for Windows (using x86_64-w64-mingw32 compiler) and found that ((%make test%)) fails:

#943 test_thread.rb:
begin
10000.times { Thread.new(true) {|x| x == false } }
rescue NoMemoryError, StandardError
end
:ok
#=> "" (expected "ok")

FAIL 1/947 tests failed

You can see the entire compilation output here:

http://ci.rubyinstaller.org/view/All/job/ruby-1_9_3-x64-build/3/console

Thing is that x86 build does not fail:

http://ci.rubyinstaller.org/view/All/job/ruby-1_9_3-x86-build/5/console

Compared this with latest official released (1.9.3-p194) it fails in a similar way:

V:>ruby -v a.rb
ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
#

Which indicates somethings got backported into ruby_1_9_3 that solves the issue but it does not work in 64bits.

I seem unable to find a recent reference to this issue.

Is there something I'm missing?

Thank you.
=end

History

Updated by luislavena (Luis Lavena) over 6 years ago

  • Status changed from Assigned to Closed

=begin
This appears to be already:

http://ci.rubyinstaller.org/job/ruby-1_9_3-x86-build/51/console

PASS all 947 tests

Thank you
=end

Also available in: Atom PDF