1
|
$ make test-all TESTS=openssl/test_ssl.rb
|
2
|
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" openssl/test_ssl.rb
|
3
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31: [BUG] Segmentation fault
|
4
|
ruby 1.9.1p376 (2009-12-07) [x86_64-linux]
|
5
|
|
6
|
-- control frame ----------
|
7
|
c:0021 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :initialize
|
8
|
c:0020 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :new
|
9
|
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
|
10
|
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
|
11
|
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
|
12
|
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
|
13
|
c:0015 p:---- s:0049 b:0049 l:000048 d:000048 FINISH
|
14
|
c:0014 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :require
|
15
|
c:0013 p:0059 s:0043 b:0043 l:000042 d:000042 TOP /tmp/ruby-1.9.1-p376/.ext/common/openssl.rb:22
|
16
|
c:0012 p:---- s:0041 b:0041 l:000040 d:000040 FINISH
|
17
|
c:0011 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC :require
|
18
|
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
|
19
|
c:0009 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
|
20
|
c:0008 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :require
|
21
|
c:0007 p:0072 s:0026 b:0026 l:000016 d:000025 BLOCK /tmp/ruby-1.9.1-p376/lib/test/unit.rb:55
|
22
|
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 FINISH
|
23
|
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :each
|
24
|
c:0004 p:0270 s:0017 b:0017 l:000016 d:000016 METHOD /tmp/ruby-1.9.1-p376/lib/test/unit.rb:49
|
25
|
c:0003 p:0114 s:0008 b:0008 l:000f98 d:0008e8 EVAL ./test/runner.rb:9
|
26
|
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
|
27
|
c:0001 p:0000 s:0002 b:0002 l:000f98 d:000f98 TOP
|
28
|
---------------------------
|
29
|
-- Ruby level backtrace information-----------------------------------------
|
30
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31:in `initialize'
|
31
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31:in `new'
|
32
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:31:in `<class:SSLContext>'
|
33
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:23:in `<module:SSL>'
|
34
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:22:in `<module:OpenSSL>'
|
35
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl/ssl.rb:21:in `<top (required)>'
|
36
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl.rb:22:in `require'
|
37
|
/tmp/ruby-1.9.1-p376/.ext/common/openssl.rb:22:in `<top (required)>'
|
38
|
/tmp/ruby-1.9.1-p376/test/openssl/test_ssl.rb:2:in `require'
|
39
|
/tmp/ruby-1.9.1-p376/test/openssl/test_ssl.rb:2:in `<top (required)>'
|
40
|
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:55:in `require'
|
41
|
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:55:in `block in setup_argv'
|
42
|
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:49:in `each'
|
43
|
/tmp/ruby-1.9.1-p376/lib/test/unit.rb:49:in `setup_argv'
|
44
|
./test/runner.rb:9:in `<main>'
|
45
|
|
46
|
-- C level backtrace information -------------------------------------------
|
47
|
0x4d8751 ./ruby(rb_vm_bugreport+0x41) [0x4d8751]
|
48
|
0x503d0e ./ruby [0x503d0e]
|
49
|
0x503e71 ./ruby(rb_bug+0xb1) [0x503e71]
|
50
|
0x48c47f ./ruby [0x48c47f]
|
51
|
0x362ce0e930 /lib64/libpthread.so.0 [0x362ce0e930]
|
52
|
0x363587e0ea /lib64/libcrypto.so.6(sk_num+0xa) [0x363587e0ea]
|
53
|
0x363585b052 /lib64/libcrypto.so.6(CRYPTO_set_ex_data+0x22) [0x363585b052]
|
54
|
0x2aaaaaeddb08 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so [0x2aaaaaeddb08]
|
55
|
0x2aaaaaeddb82 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so [0x2aaaaaeddb82]
|
56
|
0x4d42b5 ./ruby [0x4d42b5]
|
57
|
0x4cba6a ./ruby(rb_funcall2+0x13a) [0x4cba6a]
|
58
|
0x43ca02 ./ruby(rb_class_new_instance+0x32) [0x43ca02]
|
59
|
0x4cb0b0 ./ruby [0x4cb0b0]
|
60
|
0x4cc0d0 ./ruby [0x4cc0d0]
|
61
|
0x4ce820 ./ruby [0x4ce820]
|
62
|
0x4d227a ./ruby [0x4d227a]
|
63
|
0x4d2551 ./ruby(rb_iseq_eval+0x111) [0x4d2551]
|
64
|
0x505255 ./ruby(rb_load+0x165) [0x505255]
|
65
|
0x505ff8 ./ruby(rb_require_safe+0x648) [0x505ff8]
|
66
|
0x4cb0b0 ./ruby [0x4cb0b0]
|
67
|
0x4cc0d0 ./ruby [0x4cc0d0]
|
68
|
0x4ce820 ./ruby [0x4ce820]
|
69
|
0x4d227a ./ruby [0x4d227a]
|
70
|
0x4d2551 ./ruby(rb_iseq_eval+0x111) [0x4d2551]
|
71
|
0x505255 ./ruby(rb_load+0x165) [0x505255]
|
72
|
0x505ff8 ./ruby(rb_require_safe+0x648) [0x505ff8]
|
73
|
0x4cb0b0 ./ruby [0x4cb0b0]
|
74
|
0x4cc0d0 ./ruby [0x4cc0d0]
|
75
|
0x4ce820 ./ruby [0x4ce820]
|
76
|
0x4d227a ./ruby [0x4d227a]
|
77
|
0x4d2551 ./ruby(rb_iseq_eval+0x111) [0x4d2551]
|
78
|
0x505255 ./ruby(rb_load+0x165) [0x505255]
|
79
|
0x505ff8 ./ruby(rb_require_safe+0x648) [0x505ff8]
|
80
|
0x4cb0b0 ./ruby [0x4cb0b0]
|
81
|
0x4cc0d0 ./ruby [0x4cc0d0]
|
82
|
0x4ce820 ./ruby [0x4ce820]
|
83
|
0x4d227a ./ruby [0x4d227a]
|
84
|
0x4d286c ./ruby [0x4d286c]
|
85
|
0x4d30f4 ./ruby(rb_yield+0x44) [0x4d30f4]
|
86
|
0x4e293c ./ruby(rb_ary_each+0x3c) [0x4e293c]
|
87
|
0x4cb0b0 ./ruby [0x4cb0b0]
|
88
|
0x4cc0d0 ./ruby [0x4cc0d0]
|
89
|
0x4ce820 ./ruby [0x4ce820]
|
90
|
0x4d227a ./ruby [0x4d227a]
|
91
|
0x4d240b ./ruby(rb_iseq_eval_main+0xab) [0x4d240b]
|
92
|
0x416b4c ./ruby(ruby_exec_node+0xac) [0x416b4c]
|
93
|
0x417ce3 ./ruby(ruby_run_node+0x33) [0x417ce3]
|
94
|
0x4156bd ./ruby(main+0x4d) [0x4156bd]
|
95
|
0x362c21d994 /lib64/libc.so.6(__libc_start_main+0xf4) [0x362c21d994]
|
96
|
0x4155b9 ./ruby [0x4155b9]
|
97
|
|
98
|
[NOTE]
|
99
|
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
|
100
|
For details: http://www.ruby-lang.org/bugreport.html
|
101
|
|
102
|
make: *** [test-all] Aborted
|