[#1147] Copying RVALUE — why the lucky stiff <ruby-core@...>

Hello, everyone. Hope you are all doing well.

18 messages 2003/06/17
[#1155] Re: Copying RVALUE — matz@... (Yukihiro Matsumoto) 2003/06/20

Hi,

[#1157] Re: Copying RVALUE — why the lucky stiff <ruby-core@...> 2003/06/20

Yukihiro Matsumoto (matz@ruby-lang.org) wrote:

[#1173] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...>

Hi, I'm new to this mailing list so I don't know the procedure for

15 messages 2003/06/22
[#1174] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1175] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/22

On Sun, 2003-06-22 at 05:36, nobu.nokada@softhome.net wrote:

[#1176] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1193] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/25

On Sun, 2003-06-22 at 07:41, nobu.nokada@softhome.net wrote:

[#1177] Re: In 1.8.0 nil.to_s is not the same as "" — ts <decoux@...>

14 messages 2003/06/22

Bus error in compiler

From: Dave Thomas <dave@...>
Date: 2003-06-18 14:51:47 UTC
List: ruby-core #1150
$ cat t.rb
     def method_missing(mname, *args)
         ae_send (mname[0,4], mname[4,4], *args)
     end
$ ruby -v t.rb
t.rb:2: [BUG] Bus Error
ruby 1.8.0 (2003-06-05) [powerpc-darwin6.6]

zsh: abort      ruby -v t.rb


The backtrace is:

Program received signal EXC_BAD_ACCESS, Could not access memory.
list_concat (head=0x249fc4, tail=0x249f38) at parse.y:4594
4594        last->nd_next = tail;
(gdb)
(gdb)
(gdb) bt
#0  list_concat (head=0x249fc4, tail=0x249f38) at parse.y:4594
#1  0x0002c358 in ruby_yyparse () at parse.y:1289
#2  0x0002dc2c in yycompile (f=0x302f30 
"/usr/local/lib/ruby/site_ruby/1.8/osx/aeosa/aedesc.rb", line=1) at 
parse.y:2529
#3  0x00052734 in load_file (fname=0x302f30 
"/usr/local/lib/ruby/site_ruby/1.8/osx/a





If you get rid of the space before the '(' the error goes away.



Cheers


Dave


In This Thread

Prev Next