Hi,

At Fri, 20 Jun 2003 18:13:30 +0900,
Han Holl wrote:
> bug.rb:7: [BUG] Segmentation fault
> ruby 1.8.0 (2003-03-03) [i686-linux]
> Aborted

Try this patch.


Index: object.c =================================================================== RCS file: /cvs/ruby/src/ruby/object.c,v retrieving revision 1.119 diff -u -2 -p -r1.119 object.c --- object.c 26 May 2003 08:22:28 -0000 1.119 +++ object.c 20 Jun 2003 10:06:56 -0000 @@ -789,5 +789,5 @@ rb_to_id(name) switch (TYPE(name)) { case T_STRING: - return rb_intern(RSTRING(name)->ptr); + return rb_str_intern(name); case T_FIXNUM: rb_warn("do not use Fixnums as Symbols");
-- Nobu Nakada