Bug #14761
open
TestThread#test_join_limits hangs up on Solaris 10 with gcc
Added by ngoto (Naohisa Goto) over 6 years ago.
Updated over 6 years ago.
Description
On Solaris 10, sparc architecture, when compiling ruby (r63417) by GCC (version 4.6.2), TestThread#test_join_limits did not end.
The test ended successfully when compiling ruby by Oracle Developer Studio 12.5 or 12.6.
- Status changed from Open to Closed
Applied in changeset trunk|r63437.
Split TestThread#test_join_limits into peaces
- test/ruby/test_thread.rb (TestThread#test_join_limit_*): Split
TestThread#test_join_limits for investigating hang-up on Solaris.
Each method tests only a single limit value.
[ruby-core:87045] [Bug #14761]
- Status changed from Closed to Open
After splitting the test, TestThread#test_join_limit_negative_INT64_MIN fails.
i.e. limit=RbConfig::LIMITS['INT64_MIN']; t = Thread.new { sleep }; t.join(limit)
hangs up.
In the above situation when the test fails, RbConfig::LIMITS['INT64_MIN']
is nil
.
Does RbConfig::LIMITS
have 'INT64_MIN'
key?
Or the default nil
?
- Status changed from Open to Closed
Applied in changeset commit:ruby-git|80bf542a6ccc8988e7ac6dbabcfe8955c587d402.
Split TestThread#test_join_limits into peaces
- test/ruby/test_thread.rb (TestThread#test_join_limit_*): Split
TestThread#test_join_limits for investigating hang-up on Solaris.
Each method tests only a single limit value.
[ruby-core:87045] [Bug #14761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Status changed from Closed to Open
Default nil. The key INT64_MIN
did not found in RbConfig::LIMITS
.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0