Project

General

Profile

Bug #2596 ยป test_hmac_output.txt

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

 
1
$ make test-all TESTS=openssl/test_hmac.rb
2
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb --extout=.ext  -- "./test/runner.rb" openssl/test_hmac.rb
3
Loaded suite ./test/runner
4
Started
5
*** glibc detected *** ./ruby: malloc(): memory corruption: 0x00000000021a5310 ***
6
======= Backtrace: =========
7
/lib64/libc.so.6[0x362c272f39]
8
/lib64/libc.so.6(__libc_malloc+0x6e)[0x362c274bee]
9
/lib64/libcrypto.so.6(CRYPTO_malloc+0x62)[0x36358dad42]
10
/lib64/libcrypto.so.6(EVP_DigestInit_ex+0x9e)[0x36358d8a1e]
11
/lib64/libcrypto.so.6(HMAC_Init_ex+0xec)[0x36358eb32c]
12
/tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so[0x2aaaaaec579b]
13
./ruby[0x4d42b5]
14
./ruby(rb_funcall2+0x13a)[0x4cba6a]
15
./ruby(rb_class_new_instance+0x32)[0x43ca02]
16
./ruby[0x4cb0b0]
17
./ruby[0x4cc0d0]
18
./ruby[0x4ce820]
19
./ruby[0x4d227a]
20
./ruby[0x4d286c]
21
./ruby(rb_yield+0x44)[0x4d30f4]
22
./ruby(rb_ary_each+0x3c)[0x4e293c]
23
./ruby[0x4cb0b0]
24
./ruby[0x4cc0d0]
25
./ruby[0x4ce820]
26
./ruby[0x4d227a]
27
./ruby[0x4d286c]
28
./ruby(rb_yield+0x44)[0x4d30f4]
29
./ruby(rb_ary_each+0x3c)[0x4e293c]
30
./ruby[0x4cb0b0]
31
./ruby[0x4cc0d0]
32
./ruby[0x4ce820]
33
./ruby[0x4d227a]
34
./ruby[0x4d286c]
35
./ruby(rb_vm_invoke_proc+0xb2)[0x4d2d22]
36
./ruby(rb_exec_end_proc+0x13f)[0x41792f]
37
./ruby[0x417a44]
38
./ruby(ruby_cleanup+0x9e)[0x417afe]
39
./ruby(ruby_run_node+0x3a)[0x417cea]
40
./ruby(main+0x4d)[0x4156bd]
41
/lib64/libc.so.6(__libc_start_main+0xf4)[0x362c21d994]
42
./ruby[0x4155b9]
43
======= Memory map: ========
44
00400000-00576000 r-xp 00000000 08:01 228070                             /tmp/ruby-1.9.1-p376/ruby
45
00775000-0077a000 rw-p 00175000 08:01 228070                             /tmp/ruby-1.9.1-p376/ruby
46
0077a000-00799000 rw-p 0077a000 00:00 0 
47
01cb7000-021bd000 rw-p 01cb7000 00:00 0 
48
417f9000-417fa000 ---p 417f9000 00:00 0 
49
417fa000-417fd000 rw-p 417fa000 00:00 0 
50
362b200000-362b21c000 r-xp 00000000 08:01 416024                         /lib64/ld-2.5.so
51
362b41b000-362b41c000 r--p 0001b000 08:01 416024                         /lib64/ld-2.5.so
52
362b41c000-362b41d000 rw-p 0001c000 08:01 416024                         /lib64/ld-2.5.so
53
362c200000-362c34d000 r-xp 00000000 08:01 416210                         /lib64/libc-2.5.so
54
362c34d000-362c54d000 ---p 0014d000 08:01 416210                         /lib64/libc-2.5.so
55
362c54d000-362c551000 r--p 0014d000 08:01 416210                         /lib64/libc-2.5.so
56
362c551000-362c552000 rw-p 00151000 08:01 416210                         /lib64/libc-2.5.so
57
362c552000-362c557000 rw-p 362c552000 00:00 0 
58
362c600000-362c682000 r-xp 00000000 08:01 416224                         /lib64/libm-2.5.so
59
362c682000-362c881000 ---p 00082000 08:01 416224                         /lib64/libm-2.5.so
60
362c881000-362c882000 r--p 00081000 08:01 416224                         /lib64/libm-2.5.so
61
362c882000-362c883000 rw-p 00082000 08:01 416224                         /lib64/libm-2.5.so
62
362ca00000-362ca02000 r-xp 00000000 08:01 416222                         /lib64/libdl-2.5.so
63
362ca02000-362cc02000 ---p 00002000 08:01 416222                         /lib64/libdl-2.5.so
64
362cc02000-362cc03000 r--p 00002000 08:01 416222                         /lib64/libdl-2.5.so
65
362cc03000-362cc04000 rw-p 00003000 08:01 416222                         /lib64/libdl-2.5.so
66
362ce00000-362ce16000 r-xp 00000000 08:01 416223                         /lib64/libpthread-2.5.so
67
362ce16000-362d015000 ---p 00016000 08:01 416223                         /lib64/libpthread-2.5.so
68
362d015000-362d016000 r--p 00015000 08:01 416223                         /lib64/libpthread-2.5.so
69
362d016000-362d017000 rw-p 00016000 08:01 416223                         /lib64/libpthread-2.5.so
70
362d017000-362d01b000 rw-p 362d017000 00:00 0 
71
362d200000-362d214000 r-xp 00000000 08:07 4129094                        /usr/lib64/libz.so.1.2.3
72
362d214000-362d413000 ---p 00014000 08:07 4129094                        /usr/lib64/libz.so.1.2.3
73
362d413000-362d414000 rw-p 00013000 08:07 4129094                        /usr/lib64/libz.so.1.2.3
74
362fe00000-362fe0d000 r-xp 00000000 08:01 416063                         /lib64/libgcc_s-4.1.2-20080825.so.1
75
362fe0d000-363000d000 ---p 0000d000 08:01 416063                         /lib64/libgcc_s-4.1.2-20080825.so.1
76
363000d000-363000e000 rw-p 0000d000 08:01 416063                         /lib64/libgcc_s-4.1.2-20080825.so.1
77
3630200000-3630207000 r-xp 00000000 08:01 416362                         /lib64/librt-2.5.so
78
3630207000-3630407000 ---p 00007000 08:01 416362                         /lib64/librt-2.5.so
79
3630407000-3630408000 r--p 00007000 08:01 416362                         /lib64/librt-2.5.so
80
3630408000-3630409000 rw-p 00008000 08:01 416362                         /lib64/librt-2.5.so
81
3632200000-363223b000 r-xp 00000000 08:01 416244                         /lib64/libsepol.so.1
82
363223b000-363243b000 ---p 0003b000 08:01 416244                         /lib64/libsepol.so.1
83
363243b000-363243c000 rw-p 0003b000 08:01 416244                         /lib64/libsepol.so.1
84
363243c000-3632446000 rw-p 363243c000 00:00 0 
85
3632600000-3632615000 r-xp 00000000 08:01 416256                         /lib64/libselinux.so.1
86
3632615000-3632815000 ---p 00015000 08:01 416256                         /lib64/libselinux.so.1
87
3632815000-3632817000 rw-p 00015000 08:01 416256                         /lib64/libselinux.so.1
88
3632817000-3632818000 rw-p 3632817000 00:00 0 
89
3635800000-363592d000 r-xp 00000000 08:01 416207                         /lib64/libcrypto.so.0.9.8e
90
363592d000-3635b2c000 ---p 0012d000 08:01 416207                         /lib64/libcrypto.so.0.9.8e
91
3635b2c000-3635b4d000 rw-p 0012c000 08:01 416207                         /lib64/libcrypto.so.0.9.8e
92
3635b4d000-3635b51000 rw-p 3635b4d000 00:00 0 
93
3635c00000-3635c11000 r-xp 00000000 08:01 416239                         /lib64/libresolv-2.5.so
94
3635c11000-3635e11000 ---p 00011000 08:01 416239                         /lib64/libresolv-2.5.so
95
3635e11000-3635e12000 r--p 00011000 08:01 416239                         /lib64/libresolv-2.5.so
96
3635e12000-3635e13000 rw-p 00012000 08:01 416239                         /lib64/libresolv-2.5.so
97
3635e13000-3635e15000 rw-p 3635e13000 00:00 0 
98
3636000000-3636002000 r-xp 00000000 08:01 416262                         /lib64/libcom_err.so.2.1
99
3636002000-3636201000 ---p 00002000 08:01 416262                         /lib64/libcom_err.so.2.1
100
3636201000-3636202000 rw-p 00001000 08:01 416262                         /lib64/libcom_err.so.2.1
101
3636400000-3636408000 r-xp 00000000 08:07 4129687                        /usr/lib64/libkrb5support.so.0.1
102
3636408000-3636607000 ---p 00008000 08:07 4129687                        /usr/lib64/libkrb5support.so.0.1
103
3636607000-3636608000 rw-p 00007000 08:07 4129687                        /usr/lib64/libkrb5support.so.0.1
104
3636800000-3636824000 r-xp 00000000 08:07 4129688                        /usr/lib64/libk5crypto.so.3.1
105
3636824000-3636a23000 ---p 00024000 08:07 4129688                        /usr/lib64/libk5crypto.so.3.1
106
3636a23000-3636a25000 rw-p 00023000 08:07 4129688                        /usr/lib64/libk5crypto.so.3.1
107
3636c00000-3636c91000 r-xp 00000000 08:07 4129689                        /usr/lib64/libkrb5.so.3.3
108
3636c91000-3636e91000 ---p 00091000 08:07 4129689                        /usr/lib64/libkrb5.so.3.3
109
3636e91000-3636e95000 rw-p 00091000 08:07 4129689                        /usr/lib64/libkrb5.so.3.3
110
3637000000-3637002000 r-xp 00000000 08:01 416236                         /lib64/libkeyutils-1.2.so
111
3637002000-3637201000 ---p 00002000 08:01 416236                         /lib64/libkeyutils-1.2.so
112
3637201000-3637202000 rw-p 00001000 08:01 416236                         /lib64/libkeyutils-1.2.so
113
3637400000-363742c000 r-xp 00000000 08:07 4129690                        /usr/lib64/libgssapi_krb5.so.2.2
114
363742c000-363762c000 ---p 0002c000 08:07 4129690                        /usr/lib64/libgssapi_krb5.so.2.2
115
363762c000-363762e000 rw-p 0002c000 08:07 4129690                        /usr/lib64/libgssapi_krb5.so.2.2
116
3637c00000-3637c45000 r-xp 00000000 08:01 416365                         /lib64/libssl.so.0.9.8e
117
3637c45000-3637e44000 ---p 00045000 08:01 416365                         /lib64/libssl.so.0.9.8e
118
3637e44000-3637e4a000 rw-p 00044000 08:01 416365                         /lib64/libssl.so.0.9.8e
119
3639400000-3639409000 r-xp 00000000 08:01 416306                         /lib64/libcrypt-2.5.so
120
3639409000-3639608000 ---p 00009000 08:01 416306                         /lib64/libcrypt-2.5.so
121
3639608000-3639609000 r--p 00008000 08:01 416306                         /lib64/libcrypt-2.5.so
122
3639609000-363960a000 rw-p 00009000 08:01 416306                         /lib64/libcrypt-2.5.so
123
363960a000-3639638000 rw-p 363960a000 00:00 0 
124
2aaaaaaab000-2aaaaaaad000 r-xp 00000000 08:01 224814                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/encdb.so
125
2aaaaaaad000-2aaaaacac000 ---p 00002000 08:01 224814                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/encdb.so
126
2aaaaacac000-2aaaaacad000 rw-p 00001000 08:01 224814                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/encdb.so
127
2aaaaacad000-2aaaaacaf000 r-xp 00000000 08:01 225104                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/trans/transdb.so
128
2aaaaacaf000-2aaaaaeae000 ---p 00002000 08:01 225104                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/trans/transdb.so
129
2aaaaaeae000-2aaaaaeaf000 rw-p 00001000 08:01 225104                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/trans/transdb.so
130
2aaaaaeaf000-2aaaaaeef000 r-xp 00000000 08:01 227979                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so
131
2aaaaaeef000-2aaaab0ee000 ---p 00040000 08:01 227979                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so
132
2aaaab0ee000-2aaaab0f1000 rw-p 0003f000 08:01 227979                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so
133
2aaaab0f1000-2aaaab0f4000 r-xp 00000000 08:01 226386                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/digest.so
134
2aaaab0f4000-2aaaab2f3000 ---p 00003000 08:01 226386                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/digest.so
135
2aaaab2f3000-2aaaab2f4000 rw-p 00002000 08:01 226386                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/digest.so
136
2aaaab2f4000-2aaaab2f5000 r-xp 00000000 08:01 227922                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/fcntl.so
137
2aaaab2f5000-2aaaab4f4000 ---p 00001000 08:01 227922                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/fcntl.so
138
2aaaab4f4000-2aaaab4f5000 rw-p 00000000 08:01 227922                     /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/fcntl.so
139
2aaaac000000-2aaaac021000 rw-p 2aaaac000000 00:00 0 
140
2aaaac021000-2aaab0000000 ---p 2aaaac021000 00:00 0 
141
2af26c7aa000-2af26c8b0000 rw-p 2af26c7aa000 00:00 0 
142
7fffae21a000-7fffae22f000 rw-p 7ffffffea000 00:00 0                      [stack]
143
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]
144
make: *** [test-all] Aborted