[#41918] [Feature #3647] Array#sample(n, replace=false) — Kenta Murata <redmine@...>

Feature #3647: Array#sample(n, replace=false)

11 messages 2010/08/03

[#41966] [Bug #3673] PTY.getpty with IO.pipe doesn't finish on FreeBSD — Yui NARUSE <redmine@...>

Bug #3673: PTY.getpty with IO.pipe doesn't finish on FreeBSD

9 messages 2010/08/10

[#41969] [Feature #3675] String#prepend, String#>> — Sora Harakami <redmine@...>

Feature #3675: String#prepend, String#>>

15 messages 2010/08/10
[#41976] Re: [Feature #3675] String#prepend, String#>> — Yukihiro Matsumoto <matz@...> 2010/08/10

まつもと ゆきひろです

[#41974] Re: [ruby-cvs:36157] Ruby:r28955 (trunk): * complex.c (nucomp_to_[ifr]): don't allow complex with in-exact — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

7 messages 2010/08/10

[#42003] WEBrickに関するセキュリティ修正 (CVE-2010-0541) — Hideki Yamane <henrich@...>

12 messages 2010/08/11

[#42090] Math::atan2(0, 0) on ruby 1.9.2 — KUBO Takehiro <kubo@...>

久保です。

18 messages 2010/08/22
[#42092] Re: Math::atan2(0, 0) on ruby 1.9.2 — Kenta Murata <muraken@...> 2010/08/22

むらたです。

[#42166] Ruby'sライセンスの、BSDLとのデュアルライセンスへの変更 — "NARUSE, Yui" <naruse@...>

Ruby's ライセンスは BSDL と Ruby's のデュアルライセンスになります。

14 messages 2010/08/31

[ruby-dev:41954] Re: [bug:trunk] call File.lchmod via rb_funcall [BUG] vm_call0: unsupported method type (7)

From: Tanaka Akira <akr@...>
Date: 2010-08-07 00:51:30 UTC
List: ruby-dev #41954
2010年8月7日9:40 Tanaka Akira <akr@fsij.org>:
> unimplemented method を rb_funcall で呼び出すと [BUG] になるようです。
>
> pathname で Pathname#lchmod を実装するのに File.lchmod を呼び出そうとして
>  rb_funcall(rb_cFile, rb_intern("lchmod"), 2, mode, get_strpath(self))
> としたら、File.lchmod が unimplemented method な GNU/Linux では、以下のように
>  [BUG] vm_call0: unsupported method type (7)
> となりました。

pathname を使わずに [BUG] を起こすなら例えば以下のようにできます。

% ./ruby -e '
class << File
  alias hash lchmod
end
{File => 0 }
'
-e:5: [BUG] vm_call0: unsupported method type (7)
ruby 1.9.3dev (2010-08-07 trunk 28891) [i686-linux]

-- control frame ----------
c:0003 p:0028 s:0008 b:0006 l:000ff4 d:00078c EVAL   -e:5
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000ff4 d:000ff4 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
-e:5:in `<main>'

-- C level backtrace information -------------------------------------------
./ruby [0x8155332]
./ruby [0x818a7cf]
./ruby(rb_bug+0x36) [0x818a82a]
./ruby [0x814d630]
./ruby [0x814e404]
./ruby [0x814e357]
./ruby(rb_funcall+0xa2) [0x814e4ae]
./ruby(rb_hash+0x22) [0x80660bb]
./ruby [0x8066184]
./ruby(st_insert+0x10e) [0x80f31e4]
./ruby(rb_hash_aset+0x64) [0x8067833]
./ruby [0x814447c]
./ruby [0x81526b6]
./ruby [0x8152e8f]
./ruby [0x805b262]
./ruby(ruby_exec_node+0x1c) [0x805b36b]
./ruby(ruby_run_node+0x3b) [0x805b33f]
./ruby [0x8059d88]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7505455]
./ruby [0x8059c81]

[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
-- 
[田中 哲][たなか あきら][Tanaka Akira]

In This Thread