From: noreply@... Date: 2004-11-08T03:22:35+09:00 Subject: [ ruby-Bugs-1028 ] ruby crash while installing rake gem Bugs item #1028, was opened at 2004-11-07 10:22 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1028&group_id=426 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matt Armsrong (matta) Assigned to: Nobody (None) Summary: ruby crash while installing rake gem Initial Comment: 1) setup a Debian linux system :-) 2) Build ruby from CVS (I tested ruby 1.9.0 (2004-11-06) [i686-linux]) 3) Download rubygems and "ruby install.rb" rubygems 4) type "gem install rake" We crash in st_lookup. It looks like table->type is bogus in st_lookup: (gdb) print *table->type $9 = {compare = 0x401afc88 <__after_morecore_hook+864>, hash = 0x401afc88 <__after_morecore_hook+864>} Here is more of the backtrace: (gdb) bt #0 0x401afc99 in __after_morecore_hook () from /lib/tls/libc.so.6 #1 0x080b48b7 in st_lookup (table=0x81d3168, key=2969, value=0xbfff50a8) at st.c:258 #2 0x080545d3 in search_method (klass=1079450916, id=2969, origin=0xbfff50d4) at eval.c:380 #3 0x08054629 in rb_get_method_body (klassp=0xbfff5130, idp=0xbfff5114, noexp=0xbfff5118) at eval.c:401 #4 0x0805e96a in rb_call (klass=1079450916, recv=1079450976, mid=2969, argc=1, argv=0xbfff5184, scope=1) at eval.c:5703 #5 0x0805ee3a in rb_funcall2 (recv=136130920, mid=1075453187, argc=1075453187, argv=0x401a1d03) at ruby.h:633 #6 0x08061618 in rb_obj_call_init (obj=1075453187, argc=1075453187, argv=0x401a1d03) at eval.c:7148 #7 0x401e9b8d in syck_parser_new (argc=1075453187, argv=0x401a1d03, class=1075453187) at rubyext.c:800 #8 0x0806a81a in call_cfunc (func=0x401e9ae0 , recv=1075532812, len=136130920, argc=135260600, argv=0x0) at eval.c:5365 #9 0x0805e767 in rb_call0 (klass=1075532792, recv=1075532812, id=3377, oid=1075453187, argc=0, argv=0x0, body=0x401b51a0, nosuper=0) at eval.c:5506 #10 0x0805ea18 in rb_call (klass=1075532792, recv=1075532812, mid=3377, argc=0, argv=0x0, scope=0) at eval.c:5727 #11 0x08059888 in rb_eval (self=1075536212, n=0x401a1d03) at ruby.h:633 #12 0x0805975b in rb_eval (self=1075536212, n=0x401a1d03) at eval.c:3194 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1028&group_id=426