Project

General

Profile

Actions

Bug #15729

closed

OpenSSL::SSL::SSLSocket#connect randomly hangs

Added by k0kubun (Takashi Kokubun) about 5 years ago. Updated almost 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-03-26 trunk 67344) [x86_64-linux]
[ruby-core:92012]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0