ok, that's not the problem....but the program still crashes on classy =
rb_const_get(rb_cObject,rb_intern("A")); in exactly the same way even when I
try the protection code you posted earlier.  I really can't see what's wrong
at all :(

Jamie