$ make test-all TESTS=openssl/test_pkcs7.rb ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" openssl/test_pkcs7.rb Loaded suite ./test/runner Started /tmp/ruby-1.9.1-p376/test/openssl/test_pkcs7.rb:104: [BUG] Segmentation fault ruby 1.9.1p376 (2009-12-07) [x86_64-linux] -- control frame ---------- c:0015 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :initialize c:0014 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :new c:0013 p:0021 s:0057 b:0057 l:000056 d:000056 METHOD /tmp/ruby-1.9.1-p376/test/openssl/test_pkcs7.rb:104 c:0012 p:0041 s:0045 b:0045 l:000044 d:000044 METHOD /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:436 c:0011 p:0096 s:0039 b:0039 l:000019 d:000038 BLOCK /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:415 c:0010 p:---- s:0033 b:0033 l:000032 d:000032 FINISH c:0009 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :each c:0008 p:0026 s:0028 b:0028 l:000019 d:000027 BLOCK /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:409 c:0007 p:---- s:0025 b:0025 l:000024 d:000024 FINISH c:0006 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC :each c:0005 p:0080 s:0020 b:0020 l:000019 d:000019 METHOD /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:408 c:0004 p:0153 s:0015 b:0015 l:000014 d:000014 METHOD /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:388 c:0003 p:0041 s:0007 b:0007 l:000a28 d:000006 BLOCK /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:329 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001be8 d:001be8 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- /tmp/ruby-1.9.1-p376/test/openssl/test_pkcs7.rb:104:in `initialize' /tmp/ruby-1.9.1-p376/test/openssl/test_pkcs7.rb:104:in `new' /tmp/ruby-1.9.1-p376/test/openssl/test_pkcs7.rb:104:in `test_detached_sign' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:436:in `run' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:415:in `block (2 levels) in run_test_suites' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:409:in `each' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:409:in `block in run_test_suites' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:408:in `each' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:408:in `run_test_suites' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:388:in `run' /tmp/ruby-1.9.1-p376/lib/minitest/unit.rb:329:in `block in autorun' -- 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] 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] 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] 0x4d286c ./ruby [0x4d286c] 0x4d2d22 ./ruby(rb_vm_invoke_proc+0xb2) [0x4d2d22] 0x41792f ./ruby(rb_exec_end_proc+0x13f) [0x41792f] 0x417a44 ./ruby [0x417a44] 0x417afe ./ruby(ruby_cleanup+0x9e) [0x417afe] 0x417cea ./ruby(ruby_run_node+0x3a) [0x417cea] 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