yarv-dev-en:8
From: gabriele renzi <surrender_it yahoo.it>
Date: Sat, 24 Dec 2005 06:58:14 -0800 (PST)
Subject: [yarv-dev-en:8] open> segfault with delegate.rb tests
tested with both gcc 3.4 on win32 and gcc4.0.2 on
ubuntu:
rff@UltimaThule:~/yarv$ ./miniruby lib/delegate.rb
Array
[25]
lib/delegate.rb:208: DBG> : "lib/delegate.rb:129:in
`initialize'"
DBG> : "lib/delegate.rb:320:in `new'"
DBG> : "lib/delegate.rb:320:in `<main>'"
-- stack frame ------------
0xb7ccc008 (0000): 00000001
0xb7ccc00c (0001): b7de6500
0xb7ccc010 (0002): b7de6424
0xb7ccc014 (0003): 00000004
0xb7ccc018 (0004): 00000004
0xb7ccc01c (0005): 00000001
0xb7ccc020 (0006): b7d5e9c0
0xb7ccc024 (0007): b7de6424
0xb7ccc028 (0008): 00000001
0xb7ccc02c (0009): 00000001
0xb7ccc030 (0010): b7de6424
0xb7ccc034 (0011): 00000004
0xb7ccc038 (0012): 00000001
0xb7ccc03c (0013): b7de6384
0xb7ccc040 (0014): b7de6424
0xb7ccc044 (0015): 00000004
0xb7ccc048 (0016): 00000001 <- lfp <- dfp
0xb7ccc04c (0017): b7de6384 <- bp
0xb7ccc050 (0018): b7de6424
-- control frame ----------
c:0007 p:0009 s:0019 b:0017 l:0016 d:0016 METHOD
i:__setobj__ s:
c:0006 p:0009 s:0013 b:0013 l:0012 d:0012 METHOD
i:initialize s: -
c:0005 p:-001 s:0009 b:0010 l:0009 d:0009 FINISH i:-
s: -
c:0004 p:-001 s:0009 b:0009 l:0008 d:0008 CFUNC i:new
s:
c:0003 p:0167 s:0006 b:0006 l:0005 d:0005 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]
Aborted
This problem seems related to changes in revision
321.
In revision 320 the result is:
Array
[25]
lib/delegate.rb:321:in `test': wrong number of
arguments (ArgumentError)
from lib/delegate.rb:321:in `<main>'
which is not the correct output but at least does not
cause a crash :)
PS
Merry christmas !
--
icq: #69488917
blog: http://riffraff.blogsome.com
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml
-> 8 2005-12-24 23:58 [surrender_it yahoo.i] open> segfault with delegate.rb tests 9 2005-12-27 02:13 ┗[ko1 atdot.net ] fixed> Re: open> segfault with delegate.rb tests