From: ts Date: 2004-12-28T19:25:29+09:00 Subject: Re: Garbage collection trouble >>>>> "A" == Alexander Kellett writes: A> it still crashes even with GC.disable A> therefore verifying that it isn't garbage collection causing the problem A> thanks for the response :) svg% tail -12 pull.rb reader = FastPull.new File.read(ARGV[0]) # GC.disable begin c = 0 while reader.pull # (C) GC.start # (B) p c+=1 end end svg% svg% ruby pull.rb a.xml > /dev/null (eval):5: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i686-linux] Aborted svg% svg% tail -12 pull.rb reader = FastPull.new File.read(ARGV[0]) GC.disable begin c = 0 while reader.pull # (C) GC.start # (B) p c+=1 end end svg% svg% svg% ruby pull.rb a.xml > /dev/null svg% svg% ls -l a.xml -rw-rw-r-- 1 ts ts 1837078 Dec 27 18:41 a.xml svg% Guy Decoux