|
$ make test-all TESTS=openssl/test_hmac.rb
|
|
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" openssl/test_hmac.rb
|
|
Loaded suite ./test/runner
|
|
Started
|
|
*** glibc detected *** ./ruby: malloc(): memory corruption: 0x00000000021a5310 ***
|
|
======= Backtrace: =========
|
|
/lib64/libc.so.6[0x362c272f39]
|
|
/lib64/libc.so.6(__libc_malloc+0x6e)[0x362c274bee]
|
|
/lib64/libcrypto.so.6(CRYPTO_malloc+0x62)[0x36358dad42]
|
|
/lib64/libcrypto.so.6(EVP_DigestInit_ex+0x9e)[0x36358d8a1e]
|
|
/lib64/libcrypto.so.6(HMAC_Init_ex+0xec)[0x36358eb32c]
|
|
/tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so[0x2aaaaaec579b]
|
|
./ruby[0x4d42b5]
|
|
./ruby(rb_funcall2+0x13a)[0x4cba6a]
|
|
./ruby(rb_class_new_instance+0x32)[0x43ca02]
|
|
./ruby[0x4cb0b0]
|
|
./ruby[0x4cc0d0]
|
|
./ruby[0x4ce820]
|
|
./ruby[0x4d227a]
|
|
./ruby[0x4d286c]
|
|
./ruby(rb_yield+0x44)[0x4d30f4]
|
|
./ruby(rb_ary_each+0x3c)[0x4e293c]
|
|
./ruby[0x4cb0b0]
|
|
./ruby[0x4cc0d0]
|
|
./ruby[0x4ce820]
|
|
./ruby[0x4d227a]
|
|
./ruby[0x4d286c]
|
|
./ruby(rb_yield+0x44)[0x4d30f4]
|
|
./ruby(rb_ary_each+0x3c)[0x4e293c]
|
|
./ruby[0x4cb0b0]
|
|
./ruby[0x4cc0d0]
|
|
./ruby[0x4ce820]
|
|
./ruby[0x4d227a]
|
|
./ruby[0x4d286c]
|
|
./ruby(rb_vm_invoke_proc+0xb2)[0x4d2d22]
|
|
./ruby(rb_exec_end_proc+0x13f)[0x41792f]
|
|
./ruby[0x417a44]
|
|
./ruby(ruby_cleanup+0x9e)[0x417afe]
|
|
./ruby(ruby_run_node+0x3a)[0x417cea]
|
|
./ruby(main+0x4d)[0x4156bd]
|
|
/lib64/libc.so.6(__libc_start_main+0xf4)[0x362c21d994]
|
|
./ruby[0x4155b9]
|
|
======= Memory map: ========
|
|
00400000-00576000 r-xp 00000000 08:01 228070 /tmp/ruby-1.9.1-p376/ruby
|
|
00775000-0077a000 rw-p 00175000 08:01 228070 /tmp/ruby-1.9.1-p376/ruby
|
|
0077a000-00799000 rw-p 0077a000 00:00 0
|
|
01cb7000-021bd000 rw-p 01cb7000 00:00 0
|
|
417f9000-417fa000 ---p 417f9000 00:00 0
|
|
417fa000-417fd000 rw-p 417fa000 00:00 0
|
|
362b200000-362b21c000 r-xp 00000000 08:01 416024 /lib64/ld-2.5.so
|
|
362b41b000-362b41c000 r--p 0001b000 08:01 416024 /lib64/ld-2.5.so
|
|
362b41c000-362b41d000 rw-p 0001c000 08:01 416024 /lib64/ld-2.5.so
|
|
362c200000-362c34d000 r-xp 00000000 08:01 416210 /lib64/libc-2.5.so
|
|
362c34d000-362c54d000 ---p 0014d000 08:01 416210 /lib64/libc-2.5.so
|
|
362c54d000-362c551000 r--p 0014d000 08:01 416210 /lib64/libc-2.5.so
|
|
362c551000-362c552000 rw-p 00151000 08:01 416210 /lib64/libc-2.5.so
|
|
362c552000-362c557000 rw-p 362c552000 00:00 0
|
|
362c600000-362c682000 r-xp 00000000 08:01 416224 /lib64/libm-2.5.so
|
|
362c682000-362c881000 ---p 00082000 08:01 416224 /lib64/libm-2.5.so
|
|
362c881000-362c882000 r--p 00081000 08:01 416224 /lib64/libm-2.5.so
|
|
362c882000-362c883000 rw-p 00082000 08:01 416224 /lib64/libm-2.5.so
|
|
362ca00000-362ca02000 r-xp 00000000 08:01 416222 /lib64/libdl-2.5.so
|
|
362ca02000-362cc02000 ---p 00002000 08:01 416222 /lib64/libdl-2.5.so
|
|
362cc02000-362cc03000 r--p 00002000 08:01 416222 /lib64/libdl-2.5.so
|
|
362cc03000-362cc04000 rw-p 00003000 08:01 416222 /lib64/libdl-2.5.so
|
|
362ce00000-362ce16000 r-xp 00000000 08:01 416223 /lib64/libpthread-2.5.so
|
|
362ce16000-362d015000 ---p 00016000 08:01 416223 /lib64/libpthread-2.5.so
|
|
362d015000-362d016000 r--p 00015000 08:01 416223 /lib64/libpthread-2.5.so
|
|
362d016000-362d017000 rw-p 00016000 08:01 416223 /lib64/libpthread-2.5.so
|
|
362d017000-362d01b000 rw-p 362d017000 00:00 0
|
|
362d200000-362d214000 r-xp 00000000 08:07 4129094 /usr/lib64/libz.so.1.2.3
|
|
362d214000-362d413000 ---p 00014000 08:07 4129094 /usr/lib64/libz.so.1.2.3
|
|
362d413000-362d414000 rw-p 00013000 08:07 4129094 /usr/lib64/libz.so.1.2.3
|
|
362fe00000-362fe0d000 r-xp 00000000 08:01 416063 /lib64/libgcc_s-4.1.2-20080825.so.1
|
|
362fe0d000-363000d000 ---p 0000d000 08:01 416063 /lib64/libgcc_s-4.1.2-20080825.so.1
|
|
363000d000-363000e000 rw-p 0000d000 08:01 416063 /lib64/libgcc_s-4.1.2-20080825.so.1
|
|
3630200000-3630207000 r-xp 00000000 08:01 416362 /lib64/librt-2.5.so
|
|
3630207000-3630407000 ---p 00007000 08:01 416362 /lib64/librt-2.5.so
|
|
3630407000-3630408000 r--p 00007000 08:01 416362 /lib64/librt-2.5.so
|
|
3630408000-3630409000 rw-p 00008000 08:01 416362 /lib64/librt-2.5.so
|
|
3632200000-363223b000 r-xp 00000000 08:01 416244 /lib64/libsepol.so.1
|
|
363223b000-363243b000 ---p 0003b000 08:01 416244 /lib64/libsepol.so.1
|
|
363243b000-363243c000 rw-p 0003b000 08:01 416244 /lib64/libsepol.so.1
|
|
363243c000-3632446000 rw-p 363243c000 00:00 0
|
|
3632600000-3632615000 r-xp 00000000 08:01 416256 /lib64/libselinux.so.1
|
|
3632615000-3632815000 ---p 00015000 08:01 416256 /lib64/libselinux.so.1
|
|
3632815000-3632817000 rw-p 00015000 08:01 416256 /lib64/libselinux.so.1
|
|
3632817000-3632818000 rw-p 3632817000 00:00 0
|
|
3635800000-363592d000 r-xp 00000000 08:01 416207 /lib64/libcrypto.so.0.9.8e
|
|
363592d000-3635b2c000 ---p 0012d000 08:01 416207 /lib64/libcrypto.so.0.9.8e
|
|
3635b2c000-3635b4d000 rw-p 0012c000 08:01 416207 /lib64/libcrypto.so.0.9.8e
|
|
3635b4d000-3635b51000 rw-p 3635b4d000 00:00 0
|
|
3635c00000-3635c11000 r-xp 00000000 08:01 416239 /lib64/libresolv-2.5.so
|
|
3635c11000-3635e11000 ---p 00011000 08:01 416239 /lib64/libresolv-2.5.so
|
|
3635e11000-3635e12000 r--p 00011000 08:01 416239 /lib64/libresolv-2.5.so
|
|
3635e12000-3635e13000 rw-p 00012000 08:01 416239 /lib64/libresolv-2.5.so
|
|
3635e13000-3635e15000 rw-p 3635e13000 00:00 0
|
|
3636000000-3636002000 r-xp 00000000 08:01 416262 /lib64/libcom_err.so.2.1
|
|
3636002000-3636201000 ---p 00002000 08:01 416262 /lib64/libcom_err.so.2.1
|
|
3636201000-3636202000 rw-p 00001000 08:01 416262 /lib64/libcom_err.so.2.1
|
|
3636400000-3636408000 r-xp 00000000 08:07 4129687 /usr/lib64/libkrb5support.so.0.1
|
|
3636408000-3636607000 ---p 00008000 08:07 4129687 /usr/lib64/libkrb5support.so.0.1
|
|
3636607000-3636608000 rw-p 00007000 08:07 4129687 /usr/lib64/libkrb5support.so.0.1
|
|
3636800000-3636824000 r-xp 00000000 08:07 4129688 /usr/lib64/libk5crypto.so.3.1
|
|
3636824000-3636a23000 ---p 00024000 08:07 4129688 /usr/lib64/libk5crypto.so.3.1
|
|
3636a23000-3636a25000 rw-p 00023000 08:07 4129688 /usr/lib64/libk5crypto.so.3.1
|
|
3636c00000-3636c91000 r-xp 00000000 08:07 4129689 /usr/lib64/libkrb5.so.3.3
|
|
3636c91000-3636e91000 ---p 00091000 08:07 4129689 /usr/lib64/libkrb5.so.3.3
|
|
3636e91000-3636e95000 rw-p 00091000 08:07 4129689 /usr/lib64/libkrb5.so.3.3
|
|
3637000000-3637002000 r-xp 00000000 08:01 416236 /lib64/libkeyutils-1.2.so
|
|
3637002000-3637201000 ---p 00002000 08:01 416236 /lib64/libkeyutils-1.2.so
|
|
3637201000-3637202000 rw-p 00001000 08:01 416236 /lib64/libkeyutils-1.2.so
|
|
3637400000-363742c000 r-xp 00000000 08:07 4129690 /usr/lib64/libgssapi_krb5.so.2.2
|
|
363742c000-363762c000 ---p 0002c000 08:07 4129690 /usr/lib64/libgssapi_krb5.so.2.2
|
|
363762c000-363762e000 rw-p 0002c000 08:07 4129690 /usr/lib64/libgssapi_krb5.so.2.2
|
|
3637c00000-3637c45000 r-xp 00000000 08:01 416365 /lib64/libssl.so.0.9.8e
|
|
3637c45000-3637e44000 ---p 00045000 08:01 416365 /lib64/libssl.so.0.9.8e
|
|
3637e44000-3637e4a000 rw-p 00044000 08:01 416365 /lib64/libssl.so.0.9.8e
|
|
3639400000-3639409000 r-xp 00000000 08:01 416306 /lib64/libcrypt-2.5.so
|
|
3639409000-3639608000 ---p 00009000 08:01 416306 /lib64/libcrypt-2.5.so
|
|
3639608000-3639609000 r--p 00008000 08:01 416306 /lib64/libcrypt-2.5.so
|
|
3639609000-363960a000 rw-p 00009000 08:01 416306 /lib64/libcrypt-2.5.so
|
|
363960a000-3639638000 rw-p 363960a000 00:00 0
|
|
2aaaaaaab000-2aaaaaaad000 r-xp 00000000 08:01 224814 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/encdb.so
|
|
2aaaaaaad000-2aaaaacac000 ---p 00002000 08:01 224814 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/encdb.so
|
|
2aaaaacac000-2aaaaacad000 rw-p 00001000 08:01 224814 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/encdb.so
|
|
2aaaaacad000-2aaaaacaf000 r-xp 00000000 08:01 225104 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/trans/transdb.so
|
|
2aaaaacaf000-2aaaaaeae000 ---p 00002000 08:01 225104 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/trans/transdb.so
|
|
2aaaaaeae000-2aaaaaeaf000 rw-p 00001000 08:01 225104 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/enc/trans/transdb.so
|
|
2aaaaaeaf000-2aaaaaeef000 r-xp 00000000 08:01 227979 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so
|
|
2aaaaaeef000-2aaaab0ee000 ---p 00040000 08:01 227979 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so
|
|
2aaaab0ee000-2aaaab0f1000 rw-p 0003f000 08:01 227979 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/openssl.so
|
|
2aaaab0f1000-2aaaab0f4000 r-xp 00000000 08:01 226386 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/digest.so
|
|
2aaaab0f4000-2aaaab2f3000 ---p 00003000 08:01 226386 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/digest.so
|
|
2aaaab2f3000-2aaaab2f4000 rw-p 00002000 08:01 226386 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/digest.so
|
|
2aaaab2f4000-2aaaab2f5000 r-xp 00000000 08:01 227922 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/fcntl.so
|
|
2aaaab2f5000-2aaaab4f4000 ---p 00001000 08:01 227922 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/fcntl.so
|
|
2aaaab4f4000-2aaaab4f5000 rw-p 00000000 08:01 227922 /tmp/ruby-1.9.1-p376/.ext/x86_64-linux/fcntl.so
|
|
2aaaac000000-2aaaac021000 rw-p 2aaaac000000 00:00 0
|
|
2aaaac021000-2aaab0000000 ---p 2aaaac021000 00:00 0
|
|
2af26c7aa000-2af26c8b0000 rw-p 2af26c7aa000 00:00 0
|
|
7fffae21a000-7fffae22f000 rw-p 7ffffffea000 00:00 0 [stack]
|
|
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso]
|
|
make: *** [test-all] Aborted
|