testssl.rb:9: [BUG] Segmentation fault ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0005 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :serial= c:0004 p:0075 s:0014 b:0013 l:000012 d:000012 METHOD testssl.rb:9 c:0003 p:0039 s:0007 b:0006 l:0015b8 d:000478 EVAL testssl.rb:24 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0015b8 d:0015b8 TOP -- Ruby level backtrace information ---------------------------------------- testssl.rb:24:in `
' testssl.rb:9:in `new_key' testssl.rb:9:in `serial=' -- C level backtrace information ------------------------------------------- /usr/lib/libruby.so.1.9(+0x156189) [0x7fc96cc57189] /usr/lib/libruby.so.1.9(+0x57e19) [0x7fc96cb58e19] /usr/lib/libruby.so.1.9(rb_bug+0xb3) [0x7fc96cb59603] /usr/lib/libruby.so.1.9(+0xf78af) [0x7fc96cbf88af] /usr/lib/libc.so.6(+0x35340) [0x7fc96c789340] /usr/lib/libcrypto.so.1.0.0(BN_to_ASN1_INTEGER+0x25) [0x7fc96ad99af5] /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so(num_to_asn1integer+0x14) [0x7fc96b316a94] /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so(+0x15f9a) [0x7fc96b2fcf9a] /usr/lib/libruby.so.1.9(+0x150573) [0x7fc96cc51573] /usr/lib/libruby.so.1.9(+0x147210) [0x7fc96cc48210] /usr/lib/libruby.so.1.9(+0x14b6de) [0x7fc96cc4c6de] /usr/lib/libruby.so.1.9(rb_iseq_eval_main+0xad) [0x7fc96cc53d0d] /usr/lib/libruby.so.1.9(+0x5b75a) [0x7fc96cb5c75a] /usr/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7fc96cb5d1fd] /usr/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7fc96cb5ecee] ruby() [0x4008ab] /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7fc96c775a15] ruby() [0x4008d9] -- Other runtime information ----------------------------------------------- * Loaded script: testssl.rb * Loaded features: 0 enumerator.so 1 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so 2 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so 3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb 4 /usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb 5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb 6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb 7 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 8 /usr/lib/ruby/1.9.1/rubygems.rb 9 /usr/lib/ruby/1.9.1/x86_64-linux/digest.so 10 /usr/lib/ruby/1.9.1/digest.rb 11 /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so 12 /usr/lib/ruby/1.9.1/openssl/bn.rb 13 /usr/lib/ruby/1.9.1/openssl/cipher.rb 14 /usr/lib/ruby/1.9.1/x86_64-linux/stringio.so 15 /usr/lib/ruby/1.9.1/openssl/config.rb 16 /usr/lib/ruby/1.9.1/openssl/digest.rb 17 /usr/lib/ruby/1.9.1/openssl/buffering.rb 18 /usr/lib/ruby/1.9.1/x86_64-linux/fcntl.so 19 /usr/lib/ruby/1.9.1/openssl/ssl-internal.rb 20 /usr/lib/ruby/1.9.1/openssl/x509-internal.rb 21 /usr/lib/ruby/1.9.1/openssl.rb * Process memory map: 00400000-00401000 r-xp 00000000 08:02 34917 /usr/bin/ruby 00600000-00601000 r--p 00000000 08:02 34917 /usr/bin/ruby 00601000-00602000 rw-p 00001000 08:02 34917 /usr/bin/ruby 00f6e000-012f5000 rw-p 00000000 00:00 0 [heap] 7fc96a239000-7fc96a24e000 r-xp 00000000 08:02 7258 /usr/lib/libgcc_s.so.1 7fc96a24e000-7fc96a44d000 ---p 00015000 08:02 7258 /usr/lib/libgcc_s.so.1 7fc96a44d000-7fc96a44e000 rw-p 00014000 08:02 7258 /usr/lib/libgcc_s.so.1 7fc96a44e000-7fc96a44f000 r-xp 00000000 08:02 34250 /usr/lib/ruby/1.9.1/x86_64-linux/fcntl.so 7fc96a44f000-7fc96a64e000 ---p 00001000 08:02 34250 /usr/lib/ruby/1.9.1/x86_64-linux/fcntl.so 7fc96a64e000-7fc96a64f000 r--p 00000000 08:02 34250 /usr/lib/ruby/1.9.1/x86_64-linux/fcntl.so 7fc96a64f000-7fc96a650000 rw-p 00001000 08:02 34250 /usr/lib/ruby/1.9.1/x86_64-linux/fcntl.so 7fc96a650000-7fc96a656000 r-xp 00000000 08:02 34257 /usr/lib/ruby/1.9.1/x86_64-linux/stringio.so 7fc96a656000-7fc96a855000 ---p 00006000 08:02 34257 /usr/lib/ruby/1.9.1/x86_64-linux/stringio.so 7fc96a855000-7fc96a856000 r--p 00005000 08:02 34257 /usr/lib/ruby/1.9.1/x86_64-linux/stringio.so 7fc96a856000-7fc96a857000 rw-p 00006000 08:02 34257 /usr/lib/ruby/1.9.1/x86_64-linux/stringio.so 7fc96a857000-7fc96a85a000 r-xp 00000000 08:02 34243 /usr/lib/ruby/1.9.1/x86_64-linux/digest.so 7fc96a85a000-7fc96aa59000 ---p 00003000 08:02 34243 /usr/lib/ruby/1.9.1/x86_64-linux/digest.so 7fc96aa59000-7fc96aa5a000 r--p 00002000 08:02 34243 /usr/lib/ruby/1.9.1/x86_64-linux/digest.so 7fc96aa5a000-7fc96aa5b000 rw-p 00003000 08:02 34243 /usr/lib/ruby/1.9.1/x86_64-linux/digest.so 7fc96aa5b000-7fc96aa70000 r-xp 00000000 08:02 7312 /usr/lib/libz.so.1.2.7 7fc96aa70000-7fc96ac6f000 ---p 00015000 08:02 7312 /usr/lib/libz.so.1.2.7 7fc96ac6f000-7fc96ac70000 r--p 00014000 08:02 7312 /usr/lib/libz.so.1.2.7 7fc96ac70000-7fc96ac71000 rw-p 00015000 08:02 7312 /usr/lib/libz.so.1.2.7 7fc96ac71000-7fc96ae51000 r-xp 00000000 08:02 17017 /usr/lib/libcrypto.so.1.0.0 7fc96ae51000-7fc96b051000 ---p 001e0000 08:02 17017 /usr/lib/libcrypto.so.1.0.0 7fc96b051000-7fc96b06c000 r--p 001e0000 08:02 17017 /usr/lib/libcrypto.so.1.0.0 7fc96b06c000-7fc96b077000 rw-p 001fb000 08:02 17017 /usr/lib/libcrypto.so.1.0.0 7fc96b077000-7fc96b07b000 rw-p 00000000 00:00 0 7fc96b07b000-7fc96b0dd000 r-xp 00000000 08:02 17016 /usr/lib/libssl.so.1.0.0 7fc96b0dd000-7fc96b2dc000 ---p 00062000 08:02 17016 /usr/lib/libssl.so.1.0.0 7fc96b2dc000-7fc96b2e0000 r--p 00061000 08:02 17016 /usr/lib/libssl.so.1.0.0 7fc96b2e0000-7fc96b2e7000 rw-p 00065000 08:02 17016 /usr/lib/libssl.so.1.0.0 7fc96b2e7000-7fc96b332000 r-xp 00000000 08:02 34244 /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so 7fc96b332000-7fc96b532000 ---p 0004b000 08:02 34244 /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so 7fc96b532000-7fc96b533000 r--p 0004b000 08:02 34244 /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so 7fc96b533000-7fc96b535000 rw-p 0004c000 08:02 34244 /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so 7fc96b535000-7fc96b536000 rw-p 00000000 00:00 0 7fc96b536000-7fc96b538000 r-xp 00000000 08:02 34322 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so 7fc96b538000-7fc96b738000 ---p 00002000 08:02 34322 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so 7fc96b738000-7fc96b739000 r--p 00002000 08:02 34322 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so 7fc96b739000-7fc96b73a000 rw-p 00003000 08:02 34322 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so 7fc96b73a000-7fc96b73c000 r-xp 00000000 08:02 34288 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so 7fc96b73c000-7fc96b93b000 ---p 00002000 08:02 34288 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so 7fc96b93b000-7fc96b93c000 r--p 00001000 08:02 34288 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so 7fc96b93c000-7fc96b93d000 rw-p 00002000 08:02 34288 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so 7fc96b93d000-7fc96bbf7000 r--p 00000000 08:02 29407 /usr/lib/locale/locale-archive 7fc96bbf7000-7fc96bcf4000 r-xp 00000000 08:02 3073 /usr/lib/libm-2.17.so 7fc96bcf4000-7fc96bef3000 ---p 000fd000 08:02 3073 /usr/lib/libm-2.17.so 7fc96bef3000-7fc96bef4000 r--p 000fc000 08:02 3073 /usr/lib/libm-2.17.so 7fc96bef4000-7fc96bef5000 rw-p 000fd000 08:02 3073 /usr/lib/libm-2.17.so 7fc96bef5000-7fc96befd000 r-xp 00000000 08:02 3116 /usr/lib/libcrypt-2.17.so 7fc96befd000-7fc96c0fc000 ---p 00008000 08:02 3116 /usr/lib/libcrypt-2.17.so 7fc96c0fc000-7fc96c0fd000 r--p 00007000 08:02 3116 /usr/lib/libcrypt-2.17.so 7fc96c0fd000-7fc96c0fe000 rw-p 00008000 08:02 3116 /usr/lib/libcrypt-2.17.so 7fc96c0fe000-7fc96c12c000 rw-p 00000000 00:00 0 7fc96c12c000-7fc96c12f000 r-xp 00000000 08:02 3118 /usr/lib/libdl-2.17.so 7fc96c12f000-7fc96c32e000 ---p 00003000 08:02 3118 /usr/lib/libdl-2.17.so 7fc96c32e000-7fc96c32f000 r--p 00002000 08:02 3118 /usr/lib/libdl-2.17.so 7fc96c32f000-7fc96c330000 rw-p 00003000 08:02 3118 /usr/lib/libdl-2.17.so 7fc96c330000-7fc96c337000 r-xp 00000000 08:02 3075 /usr/lib/librt-2.17.so 7fc96c337000-7fc96c536000 ---p 00007000 08:02 3075 /usr/lib/librt-2.17.so 7fc96c536000-7fc96c537000 r--p 00006000 08:02 3075 /usr/lib/librt-2.17.so 7fc96c537000-7fc96c538000 rw-p 00007000 08:02 3075 /usr/lib/librt-2.17.so 7fc96c538000-7fc96c54f000 r-xp 00000000 08:02 3112 /usr/lib/libpthread-2.17.so 7fc96c54f000-7fc96c74e000 ---p 00017000 08:02 3112 /usr/lib/libpthread-2.17.so 7fc96c74e000-7fc96c74f000 r--p 00016000 08:02 3112 /usr/lib/libpthread-2.17.so 7fc96c74f000-7fc96c750000 rw-p 00017000 08:02 3112 /usr/lib/libpthread-2.17.so 7fc96c750000-7fc96c754000 rw-p 00000000 00:00 0 7fc96c754000-7fc96c8f8000 r-xp 00000000 08:02 3072 /usr/lib/libc-2.17.so 7fc96c8f8000-7fc96caf7000 ---p 001a4000 08:02 3072 /usr/lib/libc-2.17.so 7fc96caf7000-7fc96cafb000 r--p 001a3000 08:02 3072 /usr/lib/libc-2.17.so 7fc96cafb000-7fc96cafd000 rw-p 001a7000 08:02 3072 /usr/lib/libc-2.17.so 7fc96cafd000-7fc96cb01000 rw-p 00000000 00:00 0 7fc96cb01000-7fc96ccf2000 r-xp 00000000 08:02 33680 /usr/lib/libruby.so.1.9.1 7fc96ccf2000-7fc96cef1000 ---p 001f1000 08:02 33680 /usr/lib/libruby.so.1.9.1 7fc96cef1000-7fc96cef9000 rw-p 001f0000 08:02 33680 /usr/lib/libruby.so.1.9.1 7fc96cef9000-7fc96cf15000 rw-p 00000000 00:00 0 7fc96cf15000-7fc96cf36000 r-xp 00000000 08:02 3114 /usr/lib/ld-2.17.so 7fc96d001000-7fc96d109000 rw-p 00000000 00:00 0 7fc96d132000-7fc96d133000 ---p 00000000 00:00 0 7fc96d133000-7fc96d136000 rw-p 00000000 00:00 0 [stack:18186] 7fc96d136000-7fc96d137000 r--p 00021000 08:02 3114 /usr/lib/ld-2.17.so 7fc96d137000-7fc96d138000 rw-p 00022000 08:02 3114 /usr/lib/ld-2.17.so 7fc96d138000-7fc96d139000 rw-p 00000000 00:00 0 7fff420ef000-7fff42110000 rw-p 00000000 00:00 0 [stack] 7fff421b2000-7fff421b3000 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