Bug #12865
closedopenssl: segmentation fault when nil is passed as key
Description
This bug occurs both on Gentoo and Ubuntu 16.04.
Steps to reproduce on ruby 2.3.1:
irb(main):001:0> require 'openssl'
=> true
irb(main):002:0> OpenSSL::PKey::RSA.new.public_encrypt("")
(irb):2: [BUG] Segmentation fault at 0x00000000000008
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0076 e:000075 CFUNC :public_encrypt
c:0018 p:0021 s:0072 e:000071 EVAL (irb):2 [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC :eval
c:0016 p:0025 s:0063 e:000062 METHOD /usr/lib/ruby/2.3.0/irb/workspace.rb:87
c:0015 p:0027 s:0056 e:000054 METHOD /usr/lib/ruby/2.3.0/irb/context.rb:380
c:0014 p:0024 s:0050 e:000049 BLOCK /usr/lib/ruby/2.3.0/irb.rb:489
c:0013 p:0041 s:0042 e:000041 METHOD /usr/lib/ruby/2.3.0/irb.rb:623
c:0012 p:0011 s:0037 e:000036 BLOCK /usr/lib/ruby/2.3.0/irb.rb:486
c:0011 p:0128 s:0033 e:000032 BLOCK /usr/lib/ruby/2.3.0/irb/ruby-lex.rb:246 [FINISH]
c:0010 p:---- s:0030 e:000029 CFUNC :loop
c:0009 p:0009 s:0027 e:000026 BLOCK /usr/lib/ruby/2.3.0/irb/ruby-lex.rb:232 [FINISH]
c:0008 p:---- s:0025 e:000024 CFUNC :catch
c:0007 p:0018 s:0021 e:000020 METHOD /usr/lib/ruby/2.3.0/irb/ruby-lex.rb:231
c:0006 p:0037 s:0018 E:002580 METHOD /usr/lib/ruby/2.3.0/irb.rb:485
c:0005 p:0009 s:0015 e:000014 BLOCK /usr/lib/ruby/2.3.0/irb.rb:395 [FINISH]
c:0004 p:---- s:0013 e:000012 CFUNC :catch
c:0003 p:0174 s:0009 E:000e50 METHOD /usr/lib/ruby/2.3.0/irb.rb:394
c:0002 p:0023 s:0004 E:000ce0 EVAL /usr/bin/irb:11 [FINISH]
c:0001 p:0000 s:0002 E:000410 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/usr/bin/irb:11:in <main>' /usr/lib/ruby/2.3.0/irb.rb:394:in
start'
/usr/lib/ruby/2.3.0/irb.rb:394:in catch' /usr/lib/ruby/2.3.0/irb.rb:395:in
block in start'
/usr/lib/ruby/2.3.0/irb.rb:485:in eval_input' /usr/lib/ruby/2.3.0/irb/ruby-lex.rb:231:in
each_top_level_statement'
/usr/lib/ruby/2.3.0/irb/ruby-lex.rb:231:in catch' /usr/lib/ruby/2.3.0/irb/ruby-lex.rb:232:in
block in each_top_level_statement'
/usr/lib/ruby/2.3.0/irb/ruby-lex.rb:232:in loop' /usr/lib/ruby/2.3.0/irb/ruby-lex.rb:246:in
block (2 levels) in each_top_level_statement'
/usr/lib/ruby/2.3.0/irb.rb:486:in block in eval_input' /usr/lib/ruby/2.3.0/irb.rb:623:in
signal_status'
/usr/lib/ruby/2.3.0/irb.rb:489:in block (2 levels) in eval_input' /usr/lib/ruby/2.3.0/irb/context.rb:380:in
evaluate'
/usr/lib/ruby/2.3.0/irb/workspace.rb:87:in evaluate' /usr/lib/ruby/2.3.0/irb/workspace.rb:87:in
eval'
(irb):2:in irb_binding' (irb):2:in
public_encrypt'
-- Machine register context ------------------------------------------------
RIP: 0x00007f7cc5e50ce0 RBP: 0x0000000000000001 RSP: 0x00007fff75be34c8
RAX: 0x0000000000d83e48 RBX: 0x0000000000f60890 RCX: 0x0000000000000000
RDX: 0x0000000000000005 RDI: 0x0000000000000000 RSI: 0x0000000000000000
R8: 0x00007fff75be34e0 R9: 0x00000000ffffffff R10: 0x0000000000000000
R11: 0x0000000000000000 R12: 0x0000000000000001 R13: 0x00007fff75be34e8
R14: 0x00007f7cc895bb90 R15: 0x0000000000b2ffa0 EFL: 0x0000000000010202
-- C level backtrace information -------------------------------------------
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844dca5]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844dedc]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc8327944]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc83d9c3e]
/lib/x86_64-linux-gnu/libc.so.6 [0x7f7cc7f2f4a0]
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 [0x7f7cc5e50ce0]
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0(RSA_size+0xd) [0x7f7cc5e939fd]
/usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so [0x7f7cc646fb5d]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843b50b]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84494a3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844a4d3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843f269]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc8444142]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84454ec]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84459cf]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843b50b]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843f269]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc8444142]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844802c]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(rb_rescue2+0xbe) [0x7f7cc832cf0e]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843b50b]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84494a3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844a4d3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843f19c]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc8444142]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84484cc]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843c0ba]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(rb_catch_obj+0xe) [0x7f7cc843c19e]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843c24e]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843b50b]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84494a3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844a4d3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843f19c]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc8444142]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84484cc]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843c0ba]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(rb_catch_obj+0xe) [0x7f7cc843c19e]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843c24e]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843b50b]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc84494a3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc844a4d3]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc843f19c]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc8444142]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3 [0x7f7cc832acfd]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(ruby_exec_node+0x1d) [0x7f7cc832c6fd]
/usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3(ruby_run_node+0x1e) [0x7f7cc832e83e]
irb [0x40087b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f7cc7f1a830]
irb(_start+0x29) [0x4008a9]
-- Other runtime information -----------------------------------------------
-
Loaded script: irb
-
Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/encdb.so
5 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/trans/transdb.so
6 /usr/lib/ruby/2.3.0/unicode_normalize.rb
7 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/rbconfig.rb
8 /usr/lib/ruby/2.3.0/rubygems/compatibility.rb
9 /usr/lib/ruby/2.3.0/rubygems/defaults.rb
10 /usr/lib/ruby/2.3.0/rubygems/deprecate.rb
11 /usr/lib/ruby/2.3.0/rubygems/errors.rb
12 /usr/lib/ruby/2.3.0/rubygems/version.rb
13 /usr/lib/ruby/2.3.0/rubygems/requirement.rb
14 /usr/lib/ruby/2.3.0/rubygems/platform.rb
15 /usr/lib/ruby/2.3.0/rubygems/basic_specification.rb
16 /usr/lib/ruby/2.3.0/rubygems/stub_specification.rb
17 /usr/lib/ruby/2.3.0/rubygems/util/list.rb
18 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/stringio.so
19 /usr/lib/ruby/2.3.0/rubygems/specification.rb
20 /usr/lib/ruby/2.3.0/rubygems/exceptions.rb
21 /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb
22 /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb
23 /usr/lib/ruby/2.3.0/monitor.rb
24 /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb
25 /usr/lib/ruby/2.3.0/rubygems.rb
26 /usr/lib/ruby/vendor_ruby/did_you_mean/version.rb
27 /usr/lib/ruby/vendor_ruby/did_you_mean/core_ext/name_error.rb
28 /usr/lib/ruby/vendor_ruby/did_you_mean/levenshtein.rb
29 /usr/lib/ruby/vendor_ruby/did_you_mean/jaro_winkler.rb
30 /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkable.rb
31 /usr/lib/ruby/2.3.0/delegate.rb
32 /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
33 /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
34 /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkers/name_error_checkers.rb
35 /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkers/method_name_checker.rb
36 /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkers/null_checker.rb
37 /usr/lib/ruby/vendor_ruby/did_you_mean/formatter.rb
38 /usr/lib/ruby/vendor_ruby/did_you_mean.rb
39 /usr/lib/ruby/2.3.0/e2mmap.rb
40 /usr/lib/ruby/2.3.0/irb/init.rb
41 /usr/lib/ruby/2.3.0/irb/workspace.rb
42 /usr/lib/ruby/2.3.0/irb/inspector.rb
43 /usr/lib/ruby/2.3.0/irb/context.rb
44 /usr/lib/ruby/2.3.0/irb/extend-command.rb
45 /usr/lib/ruby/2.3.0/irb/output-method.rb
46 /usr/lib/ruby/2.3.0/irb/notifier.rb
47 /usr/lib/ruby/2.3.0/irb/slex.rb
48 /usr/lib/ruby/2.3.0/irb/ruby-token.rb
49 /usr/lib/ruby/2.3.0/irb/ruby-lex.rb
50 /usr/lib/ruby/2.3.0/irb/src_encoding.rb
51 /usr/lib/ruby/2.3.0/irb/magic-file.rb
52 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/readline.so
53 /usr/lib/ruby/2.3.0/irb/input-method.rb
54 /usr/lib/ruby/2.3.0/irb/locale.rb
55 /usr/lib/ruby/2.3.0/irb.rb
56 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/digest.so
57 /usr/lib/ruby/2.3.0/digest.rb
58 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so
59 /usr/lib/ruby/2.3.0/openssl/bn.rb
60 /usr/lib/ruby/2.3.0/openssl/pkey.rb
61 /usr/lib/ruby/2.3.0/openssl/cipher.rb
62 /usr/lib/ruby/2.3.0/openssl/config.rb
63 /usr/lib/ruby/2.3.0/openssl/digest.rb
64 /usr/lib/ruby/2.3.0/openssl/x509.rb
65 /usr/lib/ruby/2.3.0/openssl/buffering.rb
66 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/io/nonblock.so
67 /usr/lib/ruby/2.3.0/openssl/ssl.rb
68 /usr/lib/ruby/2.3.0/openssl.rb -
Process memory map:
00400000-00401000 r-xp 00000000 fc:02 7480901 /usr/bin/ruby2.3
00600000-00601000 r--p 00000000 fc:02 7480901 /usr/bin/ruby2.3
00601000-00602000 rw-p 00001000 fc:02 7480901 /usr/bin/ruby2.3
00b2e000-010d1000 rw-p 00000000 00:00 0 [heap]
7f7cc50ff000-7f7cc5340000 r--s 00000000 fc:02 7477902 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f7cc5340000-7f7cc5508000 r--s 00000000 fc:02 5649322 /lib/x86_64-linux-gnu/libc-2.23.so
7f7cc5508000-7f7cc5777000 r--s 00000000 fc:02 7345555 /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3.0
7f7cc5777000-7f7cc578d000 r-xp 00000000 fc:02 5649349 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7cc578d000-7f7cc598c000 ---p 00016000 fc:02 5649349 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7cc598c000-7f7cc598d000 rw-p 00015000 fc:02 5649349 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7cc598d000-7f7cc598e000 r-xp 00000000 fc:02 7480795 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/io/nonblock.so
7f7cc598e000-7f7cc5b8e000 ---p 00001000 fc:02 7480795 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/io/nonblock.so
7f7cc5b8e000-7f7cc5b8f000 r--p 00001000 fc:02 7480795 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/io/nonblock.so
7f7cc5b8f000-7f7cc5b90000 rw-p 00002000 fc:02 7480795 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/io/nonblock.so
7f7cc5b90000-7f7cc5b93000 r-xp 00000000 fc:02 7480782 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/digest.so
7f7cc5b93000-7f7cc5d92000 ---p 00003000 fc:02 7480782 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/digest.so
7f7cc5d92000-7f7cc5d93000 r--p 00002000 fc:02 7480782 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/digest.so
7f7cc5d93000-7f7cc5d94000 rw-p 00003000 fc:02 7480782 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/digest.so
7f7cc5d94000-7f7cc5fae000 r-xp 00000000 fc:02 7477902 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f7cc5fae000-7f7cc61ad000 ---p 0021a000 fc:02 7477902 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f7cc61ad000-7f7cc61c9000 r--p 00219000 fc:02 7477902 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f7cc61c9000-7f7cc61d5000 rw-p 00235000 fc:02 7477902 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f7cc61d5000-7f7cc61d8000 rw-p 00000000 00:00 0
7f7cc61d8000-7f7cc6236000 r-xp 00000000 fc:02 7478262 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f7cc6236000-7f7cc6436000 ---p 0005e000 fc:02 7478262 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f7cc6436000-7f7cc643a000 r--p 0005e000 fc:02 7478262 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f7cc643a000-7f7cc6441000 rw-p 00062000 fc:02 7478262 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f7cc6441000-7f7cc648d000 r-xp 00000000 fc:02 7480808 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so
7f7cc648d000-7f7cc668d000 ---p 0004c000 fc:02 7480808 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so
7f7cc668d000-7f7cc6690000 r--p 0004c000 fc:02 7480808 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so
7f7cc6690000-7f7cc6691000 rw-p 0004f000 fc:02 7480808 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so
7f7cc6691000-7f7cc66b6000 r-xp 00000000 fc:02 5649957 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7cc66b6000-7f7cc68b5000 ---p 00025000 fc:02 5649957 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7cc68b5000-7f7cc68b9000 r--p 00024000 fc:02 5649957 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7cc68b9000-7f7cc68ba000 rw-p 00028000 fc:02 5649957 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7cc68ba000-7f7cc68f7000 r-xp 00000000 fc:02 5649939 /lib/x86_64-linux-gnu/libreadline.so.6.3
7f7cc68f7000-7f7cc6af7000 ---p 0003d000 fc:02 5649939 /lib/x86_64-linux-gnu/libreadline.so.6.3
7f7cc6af7000-7f7cc6af9000 r--p 0003d000 fc:02 5649939 /lib/x86_64-linux-gnu/libreadline.so.6.3
7f7cc6af9000-7f7cc6aff000 rw-p 0003f000 fc:02 5649939 /lib/x86_64-linux-gnu/libreadline.so.6.3
7f7cc6aff000-7f7cc6b00000 rw-p 00000000 00:00 0
7f7cc6b00000-7f7cc6b07000 r-xp 00000000 fc:02 7480777 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/readline.so
7f7cc6b07000-7f7cc6d07000 ---p 00007000 fc:02 7480777 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/readline.so
7f7cc6d07000-7f7cc6d08000 r--p 00007000 fc:02 7480777 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/readline.so
7f7cc6d08000-7f7cc6d09000 rw-p 00008000 fc:02 7480777 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/readline.so
7f7cc6d09000-7f7cc6d10000 r-xp 00000000 fc:02 7480778 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/stringio.so
7f7cc6d10000-7f7cc6f0f000 ---p 00007000 fc:02 7480778 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/stringio.so
7f7cc6f0f000-7f7cc6f10000 r--p 00006000 fc:02 7480778 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/stringio.so
7f7cc6f10000-7f7cc6f11000 rw-p 00007000 fc:02 7480778 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/stringio.so
7f7cc6f11000-7f7cc6f13000 r-xp 00000000 fc:02 7480837 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/trans/transdb.so
7f7cc6f13000-7f7cc7113000 ---p 00002000 fc:02 7480837 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/trans/transdb.so
7f7cc7113000-7f7cc7114000 r--p 00002000 fc:02 7480837 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/trans/transdb.so
7f7cc7114000-7f7cc7115000 rw-p 00003000 fc:02 7480837 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/trans/transdb.so
7f7cc7115000-7f7cc7117000 r-xp 00000000 fc:02 7480868 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/encdb.so
7f7cc7117000-7f7cc7316000 ---p 00002000 fc:02 7480868 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/encdb.so
7f7cc7316000-7f7cc7317000 r--p 00001000 fc:02 7480868 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/encdb.so
7f7cc7317000-7f7cc7318000 rw-p 00002000 fc:02 7480868 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/enc/encdb.so
7f7cc7318000-7f7cc7420000 r-xp 00000000 fc:02 5649719 /lib/x86_64-linux-gnu/libm-2.23.so
7f7cc7420000-7f7cc761f000 ---p 00108000 fc:02 5649719 /lib/x86_64-linux-gnu/libm-2.23.so
7f7cc761f000-7f7cc7620000 r--p 00107000 fc:02 5649719 /lib/x86_64-linux-gnu/libm-2.23.so
7f7cc7620000-7f7cc7621000 rw-p 00108000 fc:02 5649719 /lib/x86_64-linux-gnu/libm-2.23.so
7f7cc7621000-7f7cc762a000 r-xp 00000000 fc:02 5649331 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f7cc762a000-7f7cc7829000 ---p 00009000 fc:02 5649331 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f7cc7829000-7f7cc782a000 r--p 00008000 fc:02 5649331 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f7cc782a000-7f7cc782b000 rw-p 00009000 fc:02 5649331 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f7cc782b000-7f7cc7859000 rw-p 00000000 00:00 0
7f7cc7859000-7f7cc785c000 r-xp 00000000 fc:02 5649337 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7cc785c000-7f7cc7a5b000 ---p 00003000 fc:02 5649337 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7cc7a5b000-7f7cc7a5c000 r--p 00002000 fc:02 5649337 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7cc7a5c000-7f7cc7a5d000 rw-p 00003000 fc:02 5649337 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7cc7a5d000-7f7cc7adc000 r-xp 00000000 fc:02 7343751 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f7cc7adc000-7f7cc7cdb000 ---p 0007f000 fc:02 7343751 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f7cc7cdb000-7f7cc7cdc000 r--p 0007e000 fc:02 7343751 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f7cc7cdc000-7f7cc7cdd000 rw-p 0007f000 fc:02 7343751 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f7cc7cdd000-7f7cc7cf5000 r-xp 00000000 fc:02 5649936 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7cc7cf5000-7f7cc7ef4000 ---p 00018000 fc:02 5649936 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7cc7ef4000-7f7cc7ef5000 r--p 00017000 fc:02 5649936 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7cc7ef5000-7f7cc7ef6000 rw-p 00018000 fc:02 5649936 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7cc7ef6000-7f7cc7efa000 rw-p 00000000 00:00 0
7f7cc7efa000-7f7cc80ba000 r-xp 00000000 fc:02 5649322 /lib/x86_64-linux-gnu/libc-2.23.so
7f7cc80ba000-7f7cc82b9000 ---p 001c0000 fc:02 5649322 /lib/x86_64-linux-gnu/libc-2.23.so
7f7cc82b9000-7f7cc82bd000 r--p 001bf000 fc:02 5649322 /lib/x86_64-linux-gnu/libc-2.23.so
7f7cc82bd000-7f7cc82bf000 rw-p 001c3000 fc:02 5649322 /lib/x86_64-linux-gnu/libc-2.23.so
7f7cc82bf000-7f7cc82c3000 rw-p 00000000 00:00 0
7f7cc82c3000-7f7cc852b000 r-xp 00000000 fc:02 7345555 /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3.0
7f7cc852b000-7f7cc872a000 ---p 00268000 fc:02 7345555 /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3.0
7f7cc872a000-7f7cc8730000 r--p 00267000 fc:02 7345555 /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3.0
7f7cc8730000-7f7cc8731000 rw-p 0026d000 fc:02 7345555 /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3.0
7f7cc8731000-7f7cc8741000 rw-p 00000000 00:00 0
7f7cc8741000-7f7cc8767000 r-xp 00000000 fc:02 5649264 /lib/x86_64-linux-gnu/ld-2.23.so
7f7cc8808000-7f7cc8858000 r--s 00000000 fc:02 7480808 /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so
7f7cc8858000-7f7cc8859000 ---p 00000000 00:00 0
7f7cc8859000-7f7cc8962000 rw-p 00000000 00:00 0
7f7cc8962000-7f7cc8964000 r--s 00000000 fc:02 7480901 /usr/bin/ruby2.3
7f7cc8964000-7f7cc8966000 rw-p 00000000 00:00 0
7f7cc8966000-7f7cc8967000 r--p 00025000 fc:02 5649264 /lib/x86_64-linux-gnu/ld-2.23.so
7f7cc8967000-7f7cc8968000 rw-p 00026000 fc:02 5649264 /lib/x86_64-linux-gnu/ld-2.23.so
7f7cc8968000-7f7cc8969000 rw-p 00000000 00:00 0
7fff753e9000-7fff75be8000 rw-p 00000000 00:00 0 [stack]
7fff75bfc000-7fff75bfe000 r--p 00000000 00:00 0 [vvar]
7fff75bfe000-7fff75c00000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Aborted