[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Looping then crash



When I do long loops in Goo 140 using the Win32 build I eventually get
a crash. I also get the crash doing the same loops on the 133 build
using the cygwin build. I can't test a 140 build under cygwin or linux
where I am and I was wondering if anyone can confirm the behaviour on
those systems.

On the 133 cygwin build the following code:

  (let ((i 0)) (while #t (msg out "%s\n" (incf i))))

Crashes after about 2,700 iterations with:

      0 [main] goo 553 handle_exceptions: Exception:
      STATUS_ACCESS_VIOLATION

Same with code like:

  (rep loop ((i 0)) (msg out "%s\n" i) (loop (+ i 1)))

On the Win32 build I did for the 140 distribution it's the same, but
after only 1700 repetitions or so. Can someone try on a Linux or cygwin
build?

Chris.
-- 
  Chris Double
  chris.double@double.co.nz