[#41278] [BUG:1.9] BINARY should not be ASCII-compatible — Yugui <yugui@...>

WXVndWkbJEIkRyQ5ISMbKEIKCgo+IBskQiRHISIkKiQqJGAkTSQzJDMkXiRHJE41RE9AJEclKyVQ

15 messages 2010/05/11

[#41407] [Bug #3339] win32ole test failure — Usaku NAKAMURA <redmine@...>

Bug #3339: win32ole test failure

20 messages 2010/05/25
[#41411] Re: [Bug #3339] win32ole test failure — Masaki Suketa <masaki.suketa@...> 2010/05/25

助田です。

[#41412] Re: [Bug #3339] win32ole test failure — "U.Nakamura" <usa@...> 2010/05/25

こんにちは、なかむら(う)です。

[ruby-dev:41324] Re: test-all 中にアボート

From: "KISHIMOTO, Makoto" <ksmakoto@...4u.or.jp>
Date: 2010-05-16 05:43:43 UTC
List: ruby-dev #41324
きしもとです

> 手元の 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 `<main>'
-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 でも同じです。

In This Thread

Prev Next