On Mon, 2006-02-20 at 07:47 +0900, Danie Roux wrote:
> Hi all,
> 
> Long (and tiring) story short:
> 
> I have an extension that is 40 lines* in total, the C code and Ruby
> code that exercise it. It core dumps, while I repeatedly call a method
> that just returns Qtrue.

Please try making this change:

--- buzz-orig.c 2006-02-19 23:01:22.000000000 +0000
+++ buzz.c      2006-02-19 23:01:56.000000000 +0000
@@ -8,7 +8,7 @@

 static VALUE initialize(VALUE self)
 {
-    rb_iv_set(self, "@v", 100);
+    rb_iv_set(self, "@v", INT2FIX(100));

     return self;
 }

-- 
Ross Bamford - rosco / roscopeco.REMOVE.co.uk