Why would this simple code hang after 10 cycles:

Printable View