From: Kazuhiro NISHIYAMA Date: 2009-11-21T20:51:37+09:00 Subject: [ruby-dev:39750] Re: ruby 1.9.1p339がtest-allでsegv 西山和広です。 At Wed, 18 Nov 2009 12:45:31 +0900, akira yamada / やまだあきら wrote: > > Ruby 1.9.1p339(r25816)でmake test-allを実行したところ > 手元の環境ではsegvしてしまいました。 > 手元の環境に問題があるかもしれませんが、 > 詳しく確認する時間を今すぐにはとれないので > とりあえず報告だけしておきます。 こちらのsid環境での現象と同じなら、test/dl/test_cptr.rb の CPtr が GC されるときに Segmentation fault になっています。 trunk の r25747 と同じ修正をすると落ちなくなるようです。 % ./r/bin/testrb test/dl/test_cptr.rb Loaded suite test_cptr Started .... Finished in 0.035632 seconds. 4 tests, 3 assertions, 0 failures, 0 errors, 0 skips
: [BUG] Segmentation fault ruby 1.9.1p339 (2009-11-17 revision 25816) [i686-linux] -- control frame ---------- c:0001 p:0000 s:0002 b:0002 l:001724 d:001724 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- -- C level backtrace information ------------------------------------------- 0x8129418 test_cptr.rb(rb_vm_bugreport+0x48) [0x8129418] 0x81573ee test_cptr.rb [0x81573ee] 0x8157468 test_cptr.rb(rb_bug+0x28) [0x8157468] 0x80d5516 test_cptr.rb [0x80d5516] 0xb780a40c [0xb780a40c] 0xb71960dd /lib/libc.so.6(cfree+0x6d) [0xb71960dd] 0xb72797eb /tmp/ruby-1.9.1-r25816/r/lib/ruby/1.9.1/i686-linux/dl.so [0xb72797eb] 0x8063211 test_cptr.rb [0x8063211] 0x806338c test_cptr.rb [0x806338c] 0x8063571 test_cptr.rb(rb_gc_call_finalizer_at_exit+0x181) [0x8063571] 0x805e70b test_cptr.rb(ruby_cleanup+0x10b) [0x805e70b] 0x805e87e test_cptr.rb(ruby_run_node+0x4e) [0x805e87e] 0x805bfa0 test_cptr.rb(main+0x60) [0x805bfa0] 0xb7649b35 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7649b35] 0x805bea1 test_cptr.rb [0x805bea1] [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html -- |ZnZ(ゼット エヌ ゼット) |西山和広(Kazuhiro NISHIYAMA)