From: Brian Candler Date: 2008-11-07T06:14:43+09:00 Subject: Re: Garbage collector segmentation fault Henrik Zagerholm wrote: > I get this every now and then when running some ruby / c++ methods from > within rails. What do you mean by "ruby / c++ methods"? Have you written your own extension to Ruby, or used someone elses? What does $LOADED_FEATURES.grep(/\.so/) show? > It looks like ruby's garbage collector once again makes bad decisions... > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 47432141183712 (LWP 30617)] > garbage_collect () at gc.c:1184 > 1184 if (!(p->as.basic.flags & FL_MARK)) { Or it could be bad setup of data structures from some extension library, or incorrect handling of mark/sweep by that library, causing objects which are still live to be garbage collected. -- Posted via http://www.ruby-forum.com/.