From: newbie Date: 2005-11-08T18:57:11+09:00 Subject: Re: crash of extension on rb_str_new2 Thanks for the quick reply! Sorry for the confusing of "void", I just show my code conceptaully. In fact it is some thing like this, VALUE create_instance(int argc, VALUE *argv, VALUE self) and I create it in the class as rb_define_method(cMyXXXX, "create_instance", (ruby_method*)&create_instance, -1); I think your local array stands also. I have tested with the option of static char p[256]; But, too bad, it's still the same. Rdgs.