Project

General

Profile

Bug #2714

Interpreter deadlock when using ::Socket.pair

Added by sf (s f) over 10 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175)
[ruby-core:28066]

Description

=begin
Hello,

I have come across a deadlock situation (of the entire ruby interpreter) when using ::Socket.pair.

I have attached a simple example script to trigger the issue (Using mutex's to synchronize the read/writes does not help).

I am using ruby 1.9.1p243 (2009-07-16 revision 24175) on Windows 32bit.

Thanks.
=end


Files

deadlock.rb (787 Bytes) deadlock.rb A simple script to trigger the deadlock. sf (s f), 02/06/2010 12:43 AM

Also available in: Atom PDF