Project

General

Profile

Actions

Bug #12309

closed

Segmentation fault caused by OpenSSL

Added by jhaig (Joseph Haig) over 8 years ago. Updated about 8 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
[ruby-core:75115]

Description

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) bug-12309.log nobu (Nobuyoshi Nakada), 04/22/2016 01:57 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #12292: Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation faultClosedrhenium (Kazuki Yamaguchi)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0