From: Eugene Scripnik Date: 2003-07-04T22:23:27+09:00 Subject: Re: warning in ruby extension eats memory ts wrote: >>>>>>"E" == Eugene Scripnik writes: > > > E> The question is: why I experience this problem but others do not, and > > This is the beauty of the GC :-))) > > E> how to solve it? > > Well, I'm trying to see why it can't detect a stack limit in this case. > > On linux, when I force ((struct RFile *)rb_deferr)->basic.flags = 0, ruby > don't crash but stop because it has found too many calls. > > Why in your case, it can't do the same ??? That is the question! You are ruby hacker, not me :) BTW thank you for teaching me to work with gdb, now I understand more and more of ruby internals and can write extensions easily. -- Eugene Scripnik IT Group Software Architect Tel./Fax +380 (372) 58-43-10 email: Eugene.Scripnik@itgrp.net http://www.itgrp.net/