Project

General

Profile

Bug #2596 » test_ssl_output.txt

mhodgson (Mike Hodgson), 01/12/2010 11:47 AM

 
$ make test-all TESTS=openssl/test_ssl.rb
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" openssl/test_ssl.rb
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31: [BUG] Segmentation fault
ruby 1.9.1p376 (2009-12-07) [x86_64-linux]

-- control frame ----------
c:0021 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :initialize
c:0020 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :new
c:0019 p:0063 s:0057 b:0057 l:000056 d:000056 CLASS /tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31
c:0018 p:0011 s:0055 b:0055 l:000054 d:000054 CLASS /tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:23
c:0017 p:0011 s:0053 b:0053 l:000052 d:000052 CLASS /tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:22
c:0016 p:0045 s:0051 b:0051 l:000050 d:000050 TOP /tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:21
c:0015 p:---- s:0049 b:0049 l:000048 d:000048 FINISH
c:0014 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :require
c:0013 p:0059 s:0043 b:0043 l:000042 d:000042 TOP /tmp/ruby-1.9.1-p376/.ext/common/openssl.rb:22
c:0012 p:---- s:0041 b:0041 l:000040 d:000040 FINISH
c:0011 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC :require
c:0010 p:0013 s:0035 b:0035 l:000034 d:000034 TOP /tmp/ruby-1.9.1-p376/test/openssl/test_ssl.rb:2
c:0009 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
c:0008 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :require
c:0007 p:0072 s:0026 b:0026 l:000016 d:000025 BLOCK /tmp/ruby-1.9.1-p376/lib/test/unit.rb:55
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 FINISH
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :each
c:0004 p:0270 s:0017 b:0017 l:000016 d:000016 METHOD /tmp/ruby-1.9.1-p376/lib/test/unit.rb:49
c:0003 p:0114 s:0008 b:0008 l:000f98 d:0008e8 EVAL ./test/runner.rb:9
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000f98 d:000f98 TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31:in `initialize'
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31:in `new'
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31:in `<class:SSLContext>'
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:23:in `<module:SSL>'
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:22:in `<module:OpenSSL>'
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:21:in `<top (required)>'
/tmp/ruby-1.9.1-p376/.ext/common/openssl.rb:22:in `require'
/tmp/ruby-1.9.1-p376/.ext/common/openssl.rb:22:in `<top (required)>'
/tmp/ruby-1.9.1-p376/test/openssl/test_ssl.rb:2:in `require'
/tmp/ruby-1.9.1-p376/test/openssl/test_ssl.rb:2:in `<top (required)>'
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:55:in `require'
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:55:in `block in setup_argv'
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:49:in `each'
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:49:in `setup_argv'
./test/runner.rb:9:in `<main>'

-- C level backtrace information -------------------------------------------
0x4d8751 ./ruby(rb_vm_bugreport+0x41) [0x4d8751]
0x503d0e ./ruby [0x503d0e]
0x503e71 ./ruby(rb_bug+0xb1) [0x503e71]
0x48c47f ./ruby [0x48c47f]
0x362ce0e930 /lib64/libpthread.so.0 [0x362ce0e930]
0x363587e0ea /lib64/libcrypto.so.6(sk_num+0xa) [0x363587e0ea]
0x363585b052 /lib64/libcrypto.so.6(CRYPTO_set_ex_data+0x22) [0x363585b052]
0x2aaaaaeddb08 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so [0x2aaaaaeddb08]
0x2aaaaaeddb82 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so [0x2aaaaaeddb82]
0x4d42b5 ./ruby [0x4d42b5]
0x4cba6a ./ruby(rb_funcall2+0x13a) [0x4cba6a]
0x43ca02 ./ruby(rb_class_new_instance+0x32) [0x43ca02]
0x4cb0b0 ./ruby [0x4cb0b0]
0x4cc0d0 ./ruby [0x4cc0d0]
0x4ce820 ./ruby [0x4ce820]
0x4d227a ./ruby [0x4d227a]
0x4d2551 ./ruby(rb_iseq_eval+0x111) [0x4d2551]
0x505255 ./ruby(rb_load+0x165) [0x505255]
0x505ff8 ./ruby(rb_require_safe+0x648) [0x505ff8]
0x4cb0b0 ./ruby [0x4cb0b0]
0x4cc0d0 ./ruby [0x4cc0d0]
0x4ce820 ./ruby [0x4ce820]
0x4d227a ./ruby [0x4d227a]
0x4d2551 ./ruby(rb_iseq_eval+0x111) [0x4d2551]
0x505255 ./ruby(rb_load+0x165) [0x505255]
0x505ff8 ./ruby(rb_require_safe+0x648) [0x505ff8]
0x4cb0b0 ./ruby [0x4cb0b0]
0x4cc0d0 ./ruby [0x4cc0d0]
0x4ce820 ./ruby [0x4ce820]
0x4d227a ./ruby [0x4d227a]
0x4d2551 ./ruby(rb_iseq_eval+0x111) [0x4d2551]
0x505255 ./ruby(rb_load+0x165) [0x505255]
0x505ff8 ./ruby(rb_require_safe+0x648) [0x505ff8]
0x4cb0b0 ./ruby [0x4cb0b0]
0x4cc0d0 ./ruby [0x4cc0d0]
0x4ce820 ./ruby [0x4ce820]
0x4d227a ./ruby [0x4d227a]
0x4d286c ./ruby [0x4d286c]
0x4d30f4 ./ruby(rb_yield+0x44) [0x4d30f4]
0x4e293c ./ruby(rb_ary_each+0x3c) [0x4e293c]
0x4cb0b0 ./ruby [0x4cb0b0]
0x4cc0d0 ./ruby [0x4cc0d0]
0x4ce820 ./ruby [0x4ce820]
0x4d227a ./ruby [0x4d227a]
0x4d240b ./ruby(rb_iseq_eval_main+0xab) [0x4d240b]
0x416b4c ./ruby(ruby_exec_node+0xac) [0x416b4c]
0x417ce3 ./ruby(ruby_run_node+0x33) [0x417ce3]
0x4156bd ./ruby(main+0x4d) [0x4156bd]
0x362c21d994 /lib64/libc.so.6(__libc_start_main+0xf4) [0x362c21d994]
0x4155b9 ./ruby [0x4155b9]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [test-all] Aborted
(2-2/4)