Project

General

Profile

Actions

Bug #20323

closed

Segmentation Fault in while working in Ruby 2.6.3

Added by Anonymous 3 months ago. Updated 3 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:117046]

Description

I am using Ruby 2.6.3 in my project. Suddenly my application raises segmentation fault issue, I have tried the solution mentioned in https://bugs.ruby-lang.org/issues/18555#note-6 the above issue, but it doesn't solve my problem. I have attached log of the error.

2023-08-09 12:44:32 /usr/local/lib/ruby/2.6.0/openssl/buffering.rb:383: [BUG] Illegal instruction at 0x0000ffff90d911a0
2023-08-09 12:44:32 ruby 2.6.3p62 (2019-04-16 revision 67580) [aarch64-linux]
2023-08-09 12:44:32 
2023-08-09 12:44:32 -- Control frame information -----------------------------------------------
2023-08-09 12:44:32 c:0046 p:---- s:0274 e:000273 CFUNC  :syswrite_nonblock
2023-08-09 12:44:32 c:0045 p:0013 s:0268 e:000267 METHOD /usr/local/lib/ruby/2.6.0/openssl/buffering.rb:383
2023-08-09 12:44:32 c:0044 p:0021 s:0261 e:000260 BLOCK  /usr/local/lib/ruby/2.6.0/net/protocol.rb:277 [FINISH]
2023-08-09 12:44:32 c:0043 p:---- s:0253 e:000252 IFUNC 
2023-08-09 12:44:32 c:0042 p:---- s:0250 e:000249 CFUNC  :each
2023-08-09 12:44:32 c:0041 p:---- s:0247 e:000246 CFUNC  :each_with_index

Files

output.log (509 KB) output.log Anonymous, 03/04/2024 06:25 AM

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Status changed from Open to Closed

This is not a segmentation fault (SIGSEGV), it's an illegal instruction crash (SIGILL). Considering it occurs in /usr/local/lib/ruby/2.6.0/openssl/buffering.rb, this is likely an issue either in the ruby openssl extension or in openssl itself. Could possibly be related to missing BTI support in the version of openssl you are using, assuming your processor supports BTI.

In any case, Ruby 2.6.3 is end-of-life and no longer supported. Please upgrade to a supported version of Ruby (3.3, 3.2, or 3.1).

Actions

Also available in: Atom PDF

Like0
Like0