Project

General

Profile

Bug #14761

TestThread#test_join_limits hangs up on Solaris 10 with gcc

Added by ngoto (Naohisa Goto) 11 days ago. Updated 11 days ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:87045]

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.

Associated revisions

Revision 80bf542a
Added by ngoto (Naohisa Goto) 11 days ago

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. [Bug #14761]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63437
Added by ngoto (Naohisa Goto) 11 days ago

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. [Bug #14761]

History

#1 Updated by ngoto (Naohisa Goto) 11 days ago

  • 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. [Bug #14761]

#2 [ruby-core:87046] Updated by ngoto (Naohisa Goto) 11 days ago

  • 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.

#3 [ruby-core:87047] Updated by ngoto (Naohisa Goto) 11 days ago

In the above situation when the test fails, RbConfig::LIMITS['INT64_MIN'] is nil.

#4 [ruby-core:87050] Updated by nobu (Nobuyoshi Nakada) 11 days ago

Does RbConfig::LIMITS have 'INT64_MIN' key?
Or the default nil?

#5 Updated by ngoto (Naohisa Goto) 11 days ago

  • Status changed from Open to Closed

Applied in changeset 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. [Bug #14761]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

#6 [ruby-core:87062] Updated by ngoto (Naohisa Goto) 11 days ago

  • Status changed from Closed to Open

Default nil. The key INT64_MIN did not found in RbConfig::LIMITS.

Also available in: Atom PDF