[CM] CLM Minimal loop -> bomb

Bret Battey bbattey@u.washington.edu
Wed, 8 Oct 2003 20:04:06 -0700


I'm currently trying to debug a CLM instrument that was working fine 
until a month or two ago -- now just bombs when it is run. In the 
process of stripping out code until I isolated the bomb, I finally 
ended up with:

(definstrument autoc ()
   (run
    (loop for i from 0 to 127 do
          (+ i 1)
          )
    )
   )

Which bombs MCL quite handily.

Note that looping only up to 126 doesn't bomb:

(definstrument autoc ()
   (run
    (loop for i from 0 to 126 do
          (+ i 1)
          )
    )
   )

I suspect this is not actually the bug that is ailing me, but 
unfortunately with this problem occurring, it is hard for me to figure 
out where my 'real' bug really is.

Running on Mac OS9, MCL.  Downloaded the latest CLM (revised sep 27) 
last night and tried with that.


Bret Battey                                     http://BatHatMedia.com
----------------------------------------------------------------------
Research Associate
Center for Digital Arts and Experimental Media
University of Washington, Seattle    http://www.washington.edu/dxarts/