Project

General

Profile

Actions

Bug #9547

closed

TCPSocket.new causes an infinite loop when interrupted by a signal

Added by shugo (Shugo Maeda) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
[ruby-core:60940]

Description

The script attached in #9356 goes in an infinite loop on FreeBSD (and other platforms conforming to SUSv3).
Naruse-san asked me to create a separate ticket for backporting.

This bug seems to have been introduced by r31424.


Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #9356: TCPSocket.new does not seem to handle INTRClosed01/03/2014Actions
Copied from Ruby master - Bug #9546: TCPSocket.new causes an infinite loop when interrupted by a signalRejected02/21/2014Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0