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

yarv-dev:800

From: sheepman <sheepman sheepman.sakura.ne.jp>
Date: Thu, 2 Feb 2006 22:12:54 +0900
Subject: [yarv-dev:800] open> the redefinition of constants dumps core

こんばんは sheepman です。
まだ core を吐きます。
module でもチェックが必要なようです。

On Sun, 29 Jan 2006 11:50:51 +0900
SASADA Koichi <ko1 atdot.net> wrote:

>  ささだです.
> 
>  遅くなりましたが fix しました.エラー出すようにしただけ.
> 

$ cat t.rb
B = 1
module B
  p B
end

$ ./miniruby -v t.rb
ruby 1.9.0 (2005-11-18) [i686-linux]
YARVCore 0.3.3 (rev: 358) [opts: ]
t.rb:3: DBG> : "t.rb:2:in `<main>'"
-- stack frame ------------
0x402b1008 (0000): 00000001
0x402b100c (0001): 00000004
0x402b1010 (0002): 40297ff0
0x402b1014 (0003): 00000004
0x402b1018 (0004): 08140bbf <- lfp <- dfp
0x402b101c (0005): 00000003 <- bp
-- control frame ----------
c:0004 p:0006 s:0006 b:0005 l:0004 d:0004 CLASS  i:<module:B> s:         -
c:0003 p:0009 s:0003 b:0003 l:-131 d:-131 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

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

       781 2006-01-10 20:53 [sheepman sheepman.sa] an redefinition of constants dumps core 
       782 2006-01-10 20:55 ┗[sheepman sheepman.sa] open> an redefinition of constants dumps core
       783 2006-01-29 11:50  ┗[ko1 atdot.net       ] fixed> Re: open> an redefinition of constants dumps core
->     800 2006-02-02 22:12   ┣[sheepman sheepman.sa] open> the redefinition of constants dumps core
       803 2006-02-04 08:50   ┃┗[ko1 atdot.net       ] fixed> Re: open> the redefinition of constants dumps core
       811 2006-02-05 00:31   ┃ ┗[sheepman sheepman.sa] close> Re: open> the redefinition of constants dumps core
       810 2006-02-05 00:30   ┗[sheepman sheepman.sa] close> Re: open> an redefinition of constants dumps core