From: ts Date: 2001-06-27T01:28:23+09:00 Subject: [ruby-talk:16912] Re: rb_define_method when argc is -1 >>>>> "L" == Laurent Julliard writes: L> The problem I have is that after playing a couple of seconds with irb I L> always have an error message and ruby aborts. Here is a sample session L> (Foo is a dumb Objective C class with 3 little methods in it) Well, it's difficult to say with only this information. You have a problem with the GC and you see it the first time that it run L> Jun 26 17:34:33 irb[26026] Request to register ObjC Class NSObject L> (0x40446d60) [...] L> irb.rb:248: [BUG] rb_gc_mark(): unknown data type 0x20(0x40446d60) non L> object Apparently the GC want to manage this object and this is not a ruby object, without the source of the extension difficult to know why. Guy Decoux