From: k@... Date: 2016-11-30T11:23:37+00:00 Subject: [ruby-core:78439] [Ruby trunk Bug#12993] SEGV in OpenSSL::TestSSL#test_close_after_socket_close Issue #12993 has been updated by Kazuki Yamaguchi. Not really a segfault but rb_sys_fail() is calling rb_bug() because errno is 0. OpenSSL 1.1.0c introduced a breaking change in SSL_read()[1], and it is already reverted in the OpenSSL-1_1_0-stable branch. I have patched ruby/openssl[2] so that it never calls rb_sys_fail() with errno==0, like syswrite already does, but I haven't imported to trunk. [1]: https://github.com/openssl/openssl/issues/1903 [2]: https://github.com/ruby/openssl/commit/072d53ecf9844d4080d7fffdf5ef9434d0a9ab82 ---------------------------------------- Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close https://bugs.ruby-lang.org/issues/12993#change-61811 * Author: Vit Ondruch * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.4.0dev (2016-11-30 trunk 56941) [x86_64-linux] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Testing the latest version of Ruby from trunk on Fedora Rawhide, the OpenSSL::TestSSL#test_close_after_socket_close segfaults (see the attached log). Not sure what might be possible the reason, if it is some change in Fedora in Ruby. $ rpm -q glibc glibc-2.24.90-19.fc26.x86_64 $ rpm -q openssl-libs openssl-libs-1.1.0c-2.fc26.x86_64 ---Files-------------------------------- r56941-segv.log (193 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: