[ragel-users] Re: rlgen-ruby / ruby 1.9 incompatibilities, possiblefixes, and offer to patch

Adrian Thurston thurs... at cs.queensu.ca
Sat Jan 5 21:19:23 UTC 2008


When I run the attached ruby program with 1.9 I get the following.
Anyone know if this is an issue that will get ironed out, or something
I'm doing wrong?

-Adrian

[thurston at reaves] test: ruby atoi1_ruby.rb
1
ACCEPT
atoi1_ruby.rb:265: -- control frame ----------
c:0007 p:0648 s:0040 b:0039 l:000038 d:000038 METHOD atoi1_ruby.rb:265
c:0006 p:0018 s:0014 b:0014 l:000006 d:000013 BLOCK  atoi1_ruby.rb:287
c:0005 p:---- s:0013 b:0012 l:000011 d:000011 FINISH :attr_accessor
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :each
c:0003 p:0243 s:0007 b:0007 l:000006 d:000006 TOP    atoi1_ruby.rb:286
c:0002 p:---- s:0003 b:0003 l:000002 d:000002 FINISH :inherited
c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------
---------------------------
DBG> : "atoi1_ruby.rb:287:in `block in <main>'"
DBG> : "atoi1_ruby.rb:286:in `each'"
DBG> : "atoi1_ruby.rb:286:in `<main>'"
-- backtrace of native function call (Use addr2line) --
0xb7f44544
0xb7e7369a
0xb7e73776
0xb7f3df09
0xb7f41d7a
0xb7f3a73d
0xb7f3a819
0xb7e7adf5
0xb7e7ae3b
0xb7e5e977
0xb7e7b672
0xb7e5ea2d
0xb7f39995
0xb7f41b83
0xb7f416f1
0xb7f3db9a
0xb7f41d7a
0xb7f423f3
0xb7e79d9d
0xb7e79e39
0x80486ad
0xb7c9f050
0x8048601
-------------------------------------------------------
[BUG] Stack consistency error (sp: 40, bp: 39)
ruby 1.9.0 (2007-08-30) [i486-linux]

Aborted (core dumped)
[thurston at reaves] test:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atoi1_ruby.rb
Type: application/x-ruby
Size: 5174 bytes
Desc: not available
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20080105/0252599e/attachment-0001.rb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20080105/0252599e/attachment-0001.sig>


More information about the ragel-users mailing list