>>>>> "D" == Daniel Berger <djberg96 / hotmail.com> writes: D> Unfortunately, this didn't make any difference, either. It still D> dumps core. D> Any other ideas? no, but I've an old ruby nasun% make ; cp kstat.so solaris ; ruby b.rb gcc -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -DHAVE_KSTAT_H -c rkstat.c gcc -Wl,-G -L"/usr/local/lib" -o kstat.so rkstat.o -lkstat -ldl -lcrypt -lm -lc Loaded suite b Started ..b.rb:21: [BUG] rb_gc_mark(): unknown data type 0x28(0xffbec018) non object ruby 1.8.1 (2003-12-25) [sparc-solaris2.8] Abort (core dumped) nasun% nasun% diff -u rkstat.c~ rkstat.c --- rkstat.c~ Wed Sep 29 16:54:15 2004 +++ rkstat.c Wed Sep 29 16:55:00 2004 @@ -97,7 +97,7 @@ VALUE ks_record(VALUE self){ VALUE rbMHash, rbIHash, rbNHash; - VALUE rbSHash; + volatile VALUE rbSHash; KstatStruct* ptr; kstat_io_t kio; nasun% make ; cp kstat.so solaris ; ruby b.rb gcc -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -DHAVE_KSTAT_H -c rkstat.c gcc -Wl,-G -L"/usr/local/lib" -o kstat.so rkstat.o -lkstat -ldl -lcrypt -lm -lc Loaded suite b Started .... Finished in 0.152439 seconds. 4 tests, 6 assertions, 0 failures, 0 errors nasun% Guy Decoux