From: "KISHIMOTO, Makoto" Date: 2010-05-16T14:43:43+09:00 Subject: [ruby-dev:41324] Re: test-all 中にアボート きしもとです > 手元の AMD64 FreeBSD8 で、trunk のリビジョン 27716 以降で test-all 中に > アボートします。 再現させるおそらくほぼ最小のサンプルまで絞り込めました。 以下のようになります。 $ ruby19 -e 'method(:p).to_proc.binding' -e:1: [BUG] Segmentation fault ruby 1.9.3dev (2010-05-16 trunk 27802) [x86_64-freebsd8.0] -- control frame ---------- c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :binding c:0003 p:0023 s:0006 b:0006 l:002708 d:001b28 EVAL -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:002708 d:002708 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- -e:1:in `
' -e:1:in `binding' [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Abort trap: 6 (core dumped) Method#to_proc で作った Proc の binding を呼ぶと落ちます。 p は名前が短いので使ったまでで他のメソッドの Method でも同じです。