ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:60940] [ruby-trunk - Bug #9547] [Open] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
@ 2014-02-21 14:06 ` shugo
  2014-02-21 14:06 ` [ruby-core:60941] [ruby-trunk - Bug #9547] " shugo
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: shugo @ 2014-02-21 14:06 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been reported by Shugo Maeda.

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547

* Author: Shugo Maeda
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:60941] [ruby-trunk - Bug #9547] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
  2014-02-21 14:06 ` [ruby-core:60940] [ruby-trunk - Bug #9547] [Open] TCPSocket.new causes an infinite loop when interrupted by a signal shugo
@ 2014-02-21 14:06 ` shugo
  2014-02-21 14:59 ` [ruby-core:60947] [ruby-trunk - Bug #9547] [Closed] " shugo
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: shugo @ 2014-02-21 14:06 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been updated by Shugo Maeda.

Copied from Bug #9546: TCPSocket.new causes an infinite loop when interrupted by a signal added

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547#change-45340

* Author: Shugo Maeda
* Status: Open
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:60947] [ruby-trunk - Bug #9547] [Closed] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
  2014-02-21 14:06 ` [ruby-core:60940] [ruby-trunk - Bug #9547] [Open] TCPSocket.new causes an infinite loop when interrupted by a signal shugo
  2014-02-21 14:06 ` [ruby-core:60941] [ruby-trunk - Bug #9547] " shugo
@ 2014-02-21 14:59 ` shugo
  2014-02-22  0:52 ` [ruby-core:60960] [ruby-trunk - Bug #9547] " usa
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: shugo @ 2014-02-21 14:59 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been updated by Shugo Maeda.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r45084.

----------
* ext/socket/init.c (wait_connectable): break if the socket is
  writable to avoid infinite loops on FreeBSD and other platforms
  which conforms to SUSv3.  This problem cannot be reproduced with
  loopback interfaces, so it's hard to write test code.
  rsock_connect() and wait_connectable() are overly complicated, so
  they should be refactored, but I commit this fix as a workaround
  for the release of Ruby 1.9.3 scheduled on Feb 24.
  [ruby-core:60940] [Bug #9547]

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547#change-45347

* Author: Shugo Maeda
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:60960] [ruby-trunk - Bug #9547] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2014-02-21 14:59 ` [ruby-core:60947] [ruby-trunk - Bug #9547] [Closed] " shugo
@ 2014-02-22  0:52 ` usa
  2014-02-22  0:53 ` [ruby-core:60962] " usa
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: usa @ 2014-02-22  0:52 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been updated by Usaku NAKAMURA.

Related to Bug #9356: TCPSocket.new does not seem to handle INTR added

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547#change-45358

* Author: Shugo Maeda
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:60962] [ruby-trunk - Bug #9547] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2014-02-22  0:52 ` [ruby-core:60960] [ruby-trunk - Bug #9547] " usa
@ 2014-02-22  0:53 ` usa
  2014-02-22  4:54 ` [ruby-core:60969] " nagachika00
  2014-02-22 10:07 ` [ruby-core:61011] " naruse
  6 siblings, 0 replies; 7+ messages in thread
From: usa @ 2014-02-22  0:53 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been updated by Usaku NAKAMURA.

Backport changed from 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED

backported into ruby_1_9_3 at r45092.

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547#change-45360

* Author: Shugo Maeda
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:60969] [ruby-trunk - Bug #9547] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2014-02-22  0:53 ` [ruby-core:60962] " usa
@ 2014-02-22  4:54 ` nagachika00
  2014-02-22 10:07 ` [ruby-core:61011] " naruse
  6 siblings, 0 replies; 7+ messages in thread
From: nagachika00 @ 2014-02-22  4:54 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been updated by Tomoyuki Chikanaga.

Backport changed from 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED

r45084 was backported to ruby_2_0_0 at r45103.

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547#change-45371

* Author: Shugo Maeda
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:61011] [ruby-trunk - Bug #9547] TCPSocket.new causes an infinite loop when interrupted by a signal
       [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2014-02-22  4:54 ` [ruby-core:60969] " nagachika00
@ 2014-02-22 10:07 ` naruse
  6 siblings, 0 replies; 7+ messages in thread
From: naruse @ 2014-02-22 10:07 UTC (permalink / raw
  To: ruby-core

Issue #9547 has been updated by Yui NARUSE.

Backport changed from 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: DONE, 2.1: DONE

ruby_2_1 r45129 merged revision(s) 45084.

----------------------------------------
Bug #9547: TCPSocket.new causes an infinite loop when interrupted by a signal
https://bugs.ruby-lang.org/issues/9547#change-45415

* Author: Shugo Maeda
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-02-21 trunk 45076) [x86_64-freebsd10.0]
* Backport: 1.9.3: DONE, 2.0.0: DONE, 2.1: DONE
----------------------------------------
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.




-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-22 10:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-9547.20140221140613@ruby-lang.org>
2014-02-21 14:06 ` [ruby-core:60940] [ruby-trunk - Bug #9547] [Open] TCPSocket.new causes an infinite loop when interrupted by a signal shugo
2014-02-21 14:06 ` [ruby-core:60941] [ruby-trunk - Bug #9547] " shugo
2014-02-21 14:59 ` [ruby-core:60947] [ruby-trunk - Bug #9547] [Closed] " shugo
2014-02-22  0:52 ` [ruby-core:60960] [ruby-trunk - Bug #9547] " usa
2014-02-22  0:53 ` [ruby-core:60962] " usa
2014-02-22  4:54 ` [ruby-core:60969] " nagachika00
2014-02-22 10:07 ` [ruby-core:61011] " naruse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).