Re: [libxml-devel] [Fwd: [ruby-core:17694] Mark functions not called on exit]

2008-07-09 Thread Charlie Savage
Sean Chittenden wrote: After puzzling over it for a bit, I realized the problem is that Mark functions for C objects are not being called when Ruby exits. In the meantime, curious if anyone has any ideas on how to solve the issue. Ready for a gross solution? Force the garbage collector t

Re: [libxml-devel] [Fwd: [ruby-core:17694] Mark functions not called on exit]

2008-07-09 Thread Sean Chittenden
After puzzling over it for a bit, I realized the problem is that Mark functions for C objects are not being called when Ruby exits. In the meantime, curious if anyone has any ideas on how to solve the issue. Ready for a gross solution? Force the garbage collector to run via an atexit(3)

[libxml-devel] [Fwd: [ruby-core:17694] Mark functions not called on exit]

2008-07-09 Thread Charlie Savage
Hi everyone, Going through the tests, I've run into one that causes segmentation faults (libxml-ruby/trunk/test/ets_copy_bug2.rb). After puzzling over it for a bit, I realized the problem is that Mark functions for C objects are not being called when Ruby exits. I've posted a note to ruby-c