Project

General

Profile

Bug #14910

/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/openssl.bundle: [BUG] Segmentation fault at 0x0000000000000001

Added by huangyanpeng (彦鹏 黄) 3 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
[ruby-core:87925]

Description

-- Control frame information -----------------------------------------------
c:0026 p:-17561534676150 s:0174 e:000173 TOP    [FINISH]
c:0025 p:---- s:0171 e:000170 CFUNC  :require
c:0024 p:0110 s:0166 e:000165 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59
c:0023 p:0006 s:0154 e:000153 TOP    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/openssl.rb:13 [FINISH]
c:0022 p:---- s:0151 e:000150 CFUNC  :require
c:0021 p:0110 s:0146 e:000145 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59
c:0020 p:0020 s:0134 e:000133 TOP    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/security.rb:12 [FINISH]
c:0019 p:---- s:0130 e:000129 CFUNC  :require
c:0018 p:0110 s:0125 e:000124 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59
c:0017 p:0006 s:0113 e:000112 TOP    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/package.rb:44 [FINISH]
c:0016 p:---- s:0110 e:000109 CFUNC  :require
c:0015 p:0110 s:0105 e:000104 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59
c:0014 p:0020 s:0093 e:000092 TOP    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/dependency_installer.rb:4 [FINISH]
c:0013 p:---- s:0090 e:000089 CFUNC  :require
c:0012 p:0110 s:0085 e:000084 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59
c:0011 p:0020 s:0073 e:000072 TOP    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/commands/install_command.rb:4 [FINISH]
c:0010 p:---- s:0070 e:000069 CFUNC  :require
c:0009 p:0110 s:0065 e:000064 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59
c:0008 p:0051 s:0053 e:000052 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:207
c:0007 p:0043 s:0045 e:000041 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:127
c:0006 p:0119 s:0037 e:000036 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:185
c:0005 p:0089 s:0031 e:000030 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:170
c:0004 p:0011 s:0023 e:000022 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:141
c:0003 p:0053 s:0016 e:000015 METHOD /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/gem_runner.rb:59
c:0002 p:0124 s:0009 E:0010f8 EVAL   /usr/local/bin/gem:21 [FINISH]
c:0001 p:0000 s:0003 E:000950 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/usr/local/bin/gem:21:in `<main>'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/gem_runner.rb:59:in `run'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:141:in `run'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:170:in `process_args'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:185:in `find_command'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:127:in `[]'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb:207:in `load_and_instantiate'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/commands/install_command.rb:4:in `<top (required)>'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/dependency_installer.rb:4:in `<top (required)>'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/package.rb:44:in `<top (required)>'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/security.rb:12:in `<top (required)>'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/openssl.rb:13:in `<top (required)>'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

-- Machine register context ------------------------------------------------
 rax: 0x0000000000000000 rbx: 0x00007fc6eaa00050 rcx: 0x0000000000000001
 rdx: 0x0000000000000000 rdi: 0x0000000000000001 rsi: 0x00000000ffffffbf
 rbp: 0x00007ffee08c7680 rsp: 0x00007ffee08c7678  r8: 0x000000006eaa0007
  r9: 0x0000000000000001 r10: 0x00000000ffffff80 r11: 0x00007fc6eaa00000
 r12: 0x0000000000000001 r13: 0x0000000000000000 r14: 0x0000000000000000
 r15: 0x000000010f87a268 rip: 0x00007fff6c0b0b04 rfl: 0x0000000000010206

-- C level backtrace information -------------------------------------------
0   libruby.2.5.dylib                   0x000000010f4f5493 rb_print_backtrace + 29
1   libruby.2.5.dylib                   0x000000010f4f5576 rb_vm_bugreport + 120
2   libruby.2.5.dylib                   0x000000010f3e18b1 rb_bug_context + 206
3   libruby.2.5.dylib                   0x000000010f4920af sig_do_nothing + 0
4   libsystem_platform.dylib            0x00007fff6c0a8f5a _sigtramp + 26
5   libsystem_pthread.dylib             0x00007fff6c0b0b04 pthread_rwlock_wrlock + 0

-- Other runtime information -----------------------------------------------

* Loaded script: /usr/local/bin/gem

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/enc/encdb.bundle
    5 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/enc/trans/transdb.bundle
    6 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/rbconfig.rb
    7 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/compatibility.rb
    8 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/defaults.rb
    9 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/deprecate.rb
   10 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/errors.rb
   11 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/version.rb
   12 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/requirement.rb
   13 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/platform.rb
   14 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/basic_specification.rb
   15 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/stub_specification.rb
   16 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/util/list.rb
   17 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/stringio.bundle
   18 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/rfc2396_parser.rb
   19 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/rfc3986_parser.rb
   20 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/common.rb
   21 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/generic.rb
   22 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/ftp.rb
   23 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/http.rb
   24 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/https.rb
   25 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/ldap.rb
   26 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/ldaps.rb
   27 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri/mailto.rb
   28 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/uri.rb
   29 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/specification.rb
   30 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/exceptions.rb
   31 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/defaults/operating_system.rb
   32 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/dependency.rb
   33 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_gem.rb
   34 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/monitor.rb
   35 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb
   36 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems.rb
   37 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/path_support.rb
   38 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/version.rb
   39 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb
   40 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/levenshtein.rb
   41 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/jaro_winkler.rb
   42 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checker.rb
   43 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/delegate.rb
   44 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   45 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   46 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   47 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
   48 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/key_error_checker.rb
   49 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/null_checker.rb
   50 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/formatters/plain_formatter.rb
   51 /usr/local/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean.rb
   52 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/optparse.rb
   53 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/util.rb
   54 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/user_interaction.rb
   55 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command.rb
   56 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/command_manager.rb
   57 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle
   58 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/config_file.rb
   59 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/gem_runner.rb
   60 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/versions.rb
   61 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/bundler_version_finder.rb
   62 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/exception.rb
   63 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/syntax_error.rb
   64 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/psych.bundle
   65 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/omap.rb
   66 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/set.rb
   67 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/class_loader.rb
   68 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/strscan.bundle
   69 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/scalar_scanner.rb
   70 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/node.rb
   71 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/stream.rb
   72 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/document.rb
   73 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/sequence.rb
   74 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/scalar.rb
   75 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/mapping.rb
   76 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes/alias.rb
   77 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/nodes.rb
   78 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/streaming.rb
   79 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors/visitor.rb
   80 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors/to_ruby.rb
   81 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors/emitter.rb
   82 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/handler.rb
   83 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/tree_builder.rb
   84 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors/yaml_tree.rb
   85 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/json/ruby_events.rb
   86 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors/json_tree.rb
   87 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors/depth_first.rb
   88 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/visitors.rb
   89 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/parser.rb
   90 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/coder.rb
   91 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/core_ext.rb
   92 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/stream.rb
   93 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/json/yaml_events.rb
   94 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/json/tree_builder.rb
   95 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/json/stream.rb
   96 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych/handlers/document_stream.rb
   97 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych.rb
   98 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/psych_additions.rb
   99 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/psych_tree.rb
  100 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/yaml.rb
  101 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/safe_yaml.rb
  102 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/syck_hack.rb
  103 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/timeout.rb
  104 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/security_option.rb
  105 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/install_update_options.rb
  106 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/tsort.rb
  107 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems/dependency_list.rb
  108 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/fileutils.rb
  109 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/digest.bundle
  110 /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/digest.rb

History

#1 [ruby-core:87928] Updated by nobu (Nobuyoshi Nakada) 2 months ago

  • Status changed from Open to Feedback
  • Description updated (diff)

Seems that it happened in BoringSSL.

https://boringssl.googlesource.com/boringssl/+/master#boringssl

Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability.

Maybe it is not compatible with OpenSSL.
Can't you try with OpenSSL?

#2 [ruby-core:87930] Updated by huangyanpeng (彦鹏 黄) 2 months ago

nobu (Nobuyoshi Nakada) wrote:

Seems that it happened in BoringSSL.

https://boringssl.googlesource.com/boringssl/+/master#boringssl

Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability.

Maybe it is not compatible with OpenSSL.
Can't you try with OpenSSL?

I don't konw, I use proxychains-ng as the proxy for the terminal.
I updated my system to 10.13.6 yesterday, and the programs related to ruby are not working anymore.
If I don't use proxychians-ng, ruby will work fine.

Also available in: Atom PDF