Project

General

Profile

Backport #8360

backport r39939 (fix SEGV when Thread#join timeout argument == Float::INFINITY)

Added by nagachika (Tomoyuki Chikanaga) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:47313]

Description

r39939 Thread#join のタイムアウト値に Float::INFINITY を渡した時に SEGV する不具合が修正されていました。

Associated revisions

Revision 453bb57d
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 39939: [Backport #8360]

    * thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
      SEGV by Thread.new {}.join(Float::INFINITY) on
      Debian GNU/Linux (amd64).

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

Revision 40562
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 39939: [Backport #8360]

* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
  SEGV by Thread.new {}.join(Float::INFINITY) on
  Debian GNU/Linux (amd64).

History

#1

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40562.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39939: [Backport #8360]

* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
  SEGV by Thread.new {}.join(Float::INFINITY) on
  Debian GNU/Linux (amd64).

Also available in: Atom PDF