Issue #15729 has been updated by k0kubun (Takashi Kokubun).

Assignee changed from normalperson (Eric Wong) to ko1 (Koichi Sasada)

----------------------------------------
Bug #15729: OpenSSL::SSL::SSLSocket#connect randomly hangs
https://bugs.ruby-lang.org/issues/15729#change-77427

* Author: k0kubun (Takashi Kokubun)
* Status: Open
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-03-26 trunk 67344) [x86_64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
In a test like test/drb/ut_drb_drbssl.rb, `ossl_ssl_connect` (`OpenSSL::SSL::SSLSocket#connect`) sleeps in `rb_wait_for_single_fd` and sometimes it's never waken up.
I think it's related to timer thread elimination in Ruby 2.6 and so I suspect this issue exists in Ruby 2.6.

Backtrace dump: http://ci.rvm.jp/results/trunk-asserts@silicon-docker/1888234



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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>