[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev:758

From: sheepman <sheepman sheepman.sakura.ne.jp>
Date: Fri, 30 Dec 2005 20:58:17 +0900
Subject: [yarv-dev:758] open> an access to undefined constants dumps core

こんばんは、sheepman です。
次ようにすると core を吐きます。

$ cat t.rb
C = 1
C::D

$ ./miniruby -v t.rb
ruby 1.9.0 (2005-11-18) [i686-linux]
YARVCore 0.3.3 (rev: 344) [opts: ]
warning: useless use of :: in void context
t.rb:2: -- stack frame ------------
0x402b1008 (0000): 00000001
0x402b100c (0001): 00000004
0x402b1010 (0002): 40298194
-- control frame ----------
c:0003 p:0012 s:0003 b:0003 l:-567 d:-567 TOP    i:<main>   s:         -
c:0002 p:-001 s:0001 b:0001 l:0000 d:0000 FINISH i:-        s:         -
c:0001 p:-001 s:0000 b:-001 l:0000 d:0000 ------ i:-        s:         -
---------------------------
[BUG] Segmentation fault
ruby 1.9.0 (2005-11-18) [i686-linux]

zsh: abort      ./miniruby -v t.rb


-- 
sheepman / TAMURA Takashi
sheepman sheepman.sakura.ne.jp http://sheepman.parfait.ne.jp/
   

-- 
ML: yarv-dev quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

->     758 2005-12-30 20:58 [sheepman sheepman.sa] open> an access to undefined constants dumps core
       760 2005-12-31 03:22 ┗[ko1 atdot.net       ]                                       
       761 2005-12-31 03:22  ┗[ko1 atdot.net       ] fixed> Re: open> an access to undefined constants dumps core
       764 2005-12-31 09:58   ┗[sheepman sheepman.sa] close> an access to undefined constants dumps core