------art_3402_1613276.1149742963776
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi all,

Ruby 1.8.4, 64 bit, built with --enable-pthread - no other special options
Suse Linux 9.3

It's late and I'm tired, so maybe I'm doing something dumb here, but this
code segfaults:

/* foo.c */
#include "ruby.h"
VALUE v_my_struct;

void Init_foo(){
   v_my_struct rb_struct_define("MyStruct", "fee", "fi", "fo", "alpha", "beta",
"gamma", 0);
}

# extconf.rb
require 'mkmf'
create_makefile('foo')

# test.rb
$:.unshift Dir.pwd
require 'foo'

Take away any one member, and it works.  Any more than five and it
segfaults.  What gives?

Thanks,

Dan

------art_3402_1613276.1149742963776--