On 14/03/09 at 19:48 -0000, Chiron wrote: > That doesn't crash in irb until I ^C the loop and type in 'exit' > > Running this as a script with ruby does make it crash, though: > > <---------> > require 'cairo' > require 'stringio' > > i = 0; > 1000.times do > output = StringIO.new > surface = Cairo::PDFSurface.new(output, 100, 100) > context = Cairo::Context.new(surface) > i += 1; > puts "***************** #{i} *********" if i%100 == 0; > end > <---------> > results in: > testcase.rb:5: [BUG] object allocation during garbage collection phase > ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] > > where line 5 is the "1000.times do" command
AH! thank you. I can see it now. Will investigate. -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | -- [BUG] object allocation during garbage collection phase https://bugs.launchpad.net/bugs/293464 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs