Issue #12309 has been updated by Kazuki Yamaguchi.

Status changed from Open to Rejected

It looks like the same issue as [Bug #12292] rather than [Bug #12126], because #12126 should not be a cause of a segfault. (and net/http does not use SSLSocket#write_nonblock, does it?)

Please provide a reproducer if it is a different issue.

----------------------------------------
Bug #12309: Segmentation fault caused by OpenSSL
https://bugs.ruby-lang.org/issues/12309#change-61023

* Author: Joseph Haig
* Status: Rejected
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
I am consistently getting a segmentation fault whils running Sinatra. It appears to be during an net/http request to an ssl endpoint on a remote web server. The full stack trace is below.

Sinatra runs correctly for a few minutes, making numerous requests with net/http, but then fails with the segmentation fault. I can find nothing particularly unusual with either the offending request or its response.

I am using an up-to-date version of Ubuntu 14.04 LTS.

```
$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1f 6 Jan 2014"
```


---Files--------------------------------
bug-12309.log (82.6 KB)


-- 
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>