From: "akira yamada / やまだあきら" Date: 2009-11-18T12:45:31+09:00 Subject: [ruby-dev:39716] ruby 1.9.1p339がtest-allでsegv Ruby 1.9.1p339(r25816)でmake test-allを実行したところ 手元の環境ではsegvしてしまいました。 手元の環境に問題があるかもしれませんが、 詳しく確認する時間を今すぐにはとれないので とりあえず報告だけしておきます。 環境はDebian/sidです。(dist-upgradeをちょっとさぼりぎみ。) $ make test-all ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./test/runner.rb" Gem::Indexer tests are being skipped. Install builder gem. Loaded suite ./test/runner Started ........................................................................................................................................................................................................................../tmp/ruby-1.9.1-r25816/.ext/common/openssl/buffering.rb:35: [BUG] Segmentation fault ruby 1.9.1p339 (2009-11-17 revision 25816) [i686-linux] -- control frame ---------- c:0018 p:---- s:0073 b:0073 l:000072 d:000072 CFUNC :sysread c:0017 p:0022 s:0069 b:0068 l:000067 d:000067 METHOD /tmp/ruby-1.9.1-r25816/.ext/common/openssl/buffering.rb:35 c:0016 p:0096 s:0065 b:0065 l:000064 d:000064 METHOD /tmp/ruby-1.9.1-r25816/.ext/common/openssl/buffering.rb:67 c:0015 p:0014 s:0059 b:0057 l:000cc4 d:000056 BLOCK /tmp/ruby-1.9.1-r25816/test/ruby/ut_eof.rb:71 c:0014 p:0041 s:0054 b:0054 l:000f10 d:000f10 METHOD /tmp/ruby-1.9.1-r25816/test/openssl/test_pair.rb:72 c:0013 p:0073 s:0048 b:0048 l:000cc4 d:000cc4 METHOD /tmp/ruby-1.9.1-r25816/test/ruby/ut_eof.rb:70 c:0012 p:0041 s:0045 b:0045 l:000044 d:000044 METHOD /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:436 c:0011 p:0096 s:0039 b:0039 l:000019 d:000038 BLOCK /tmp/ruby-1.9.1-r25816/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-r25816/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-r25816/lib/minitest/unit.rb:408 c:0004 p:0153 s:0015 b:0015 l:000014 d:000014 METHOD /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:388 c:0003 p:0041 s:0007 b:0007 l:00120c d:000006 BLOCK /tmp/ruby-1.9.1-r25816/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:001f0c d:001f0c TOP --------------------------- -- Ruby level backtrace information----------------------------------------- /tmp/ruby-1.9.1-r25816/.ext/common/openssl/buffering.rb:35:in `sysread' /tmp/ruby-1.9.1-r25816/.ext/common/openssl/buffering.rb:35:in `fill_rbuff' /tmp/ruby-1.9.1-r25816/.ext/common/openssl/buffering.rb:67:in `read' /tmp/ruby-1.9.1-r25816/test/ruby/ut_eof.rb:71:in `block in test_eof_1' /tmp/ruby-1.9.1-r25816/test/openssl/test_pair.rb:72:in `open_file' /tmp/ruby-1.9.1-r25816/test/ruby/ut_eof.rb:70:in `test_eof_1' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:436:in `run' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:415:in `block (2 levels) in run_test_suites' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:409:in `each' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:409:in `block in run_test_suites' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:408:in `each' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:408:in `run_test_suites' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:388:in `run' /tmp/ruby-1.9.1-r25816/lib/minitest/unit.rb:329:in `block in autorun' -- C level backtrace information ------------------------------------------- 0x401522c4 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_vm_bugreport+0x64) [0x401522c4] 0x40068119 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40068119] 0x400681aa /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_bug+0x3a) [0x400681aa] 0x400f54ed /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x400f54ed] 0x4001d40c [0x4001d40c] 0x40af82ed /lib/libc.so.6(cfree+0x6d) [0x40af82ed] 0x4094480b /tmp/ruby-1.9.1-r25816/.ext/i686-linux/dl.so [0x4094480b] 0x40078dbc /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40078dbc] 0x40078f2f /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40078f2f] 0x40078f7c /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40078f7c] 0x40155ef5 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40155ef5] 0x4015615d /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4015615d] 0x401576fa /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x401576fa] 0x401578d2 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x401578d2] 0x4072a845 /tmp/ruby-1.9.1-r25816/.ext/i686-linux/openssl.so [0x4072a845] 0x4013dce0 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4013dce0] 0x4013dfc8 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4013dfc8] 0x4014db63 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4014db63] 0x40143348 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40143348] 0x40147911 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40147911] 0x4014f398 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_yield+0x2c8) [0x4014f398] 0x40040df2 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_ary_each+0x52) [0x40040df2] 0x4013dcc5 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4013dcc5] 0x4013dfc8 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4013dfc8] 0x4014db63 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4014db63] 0x40143348 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40143348] 0x40147911 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40147911] 0x4014f398 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_yield+0x2c8) [0x4014f398] 0x40040df2 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_ary_each+0x52) [0x40040df2] 0x4013dcc5 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4013dcc5] 0x4013dfc8 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4013dfc8] 0x4014db63 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4014db63] 0x40143348 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40143348] 0x40147911 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x40147911] 0x4014a48c /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_vm_invoke_proc+0x27c) [0x4014a48c] 0x4006e916 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_proc_call+0x56) [0x4006e916] 0x4006a4f6 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_call_end_proc+0x26) [0x4006a4f6] 0x4006b3bf /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(rb_exec_end_proc+0x1df) [0x4006b3bf] 0x4006b446 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1 [0x4006b446] 0x4006b602 /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(ruby_cleanup+0x92) [0x4006b602] 0x4006b83e /tmp/ruby-1.9.1-r25816/libruby.so.1.9.1(ruby_run_node+0x5e) [0x4006b83e] 0x80487c4 ./ruby(main+0x74) [0x80487c4] 0x4026db36 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x4026db36] 0x80486b1 ./ruby [0x80486b1] [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] アボートしました -- ay