From: matz@... (Yukihiro Matsumoto) Date: 2002-07-31T09:43:28+09:00 Subject: Re: Segmentation Fault - Ruby Garbage Collection Hi, In message "Re: Segmentation Fault - Ruby Garbage Collection" on 02/07/31, Bill Tj writes: |Now, clearly the symptom is like this. If I disable garbage collecter |by invoking "GC.disable", my program runs without any problem. |Otherwise, I get segmentation fault. Does this give a clue that the |problem is very likely to be in my mark functions? Are there any more |rules on how to invoke rb_gc_mark in the mark functions beside just |calling rb_gc_mark for every Ruby objects inside a structure? The |function prototype in Ruby 1.6.7 is rb_gc_mark (void) (what is the |correct prototype? And should I recompile my Ruby installation?); can |this be a source of problem? Show me the code, at least your mark function. matz.