Interrupt key not stopping infinte loops?

Doug Way dway at mailcan.com
Sun Apr 11 00:02:03 UTC 2004


This is a bug which was present in 3.7a-5816, but has since been fixed 
in the current 3.7b-5878 image.  (It was fixed in update 5864.)  So go 
ahead and load updates to fix this problem.  (help.../load updates from 
server)

- Doug


On Saturday, April 10, 2004, at 07:10 PM, Peter William Lount wrote:

> Hi,
>  
> I'm using squeak 3.7a-5816 on windows and unix. I ran into an infinite 
> loop bug with some network/graph code and my image "froze" and was 
> using up all the cpu cycles.
>  
> This web page, http://minnow.cc.gatech.edu/squeak/899 , describes the 
> Squeak Interrupt key to stop run away squeak images. 
> http://minnow.cc.gatech.edu/squeak/2168 is also helpful.
>  
> When the image is idle pressing "alt-dot" brings up a debugger on a 
> "user interrupt" exception. So obviously my image is properly handling 
> these "alt-dot" commands some of the time (and likely all the time).
>  
> As a test case I tried the following do it:
>  
> [true] whileTrue: [].
>  
> The image dutifully exectued this and became unresponsive to any 
> attempts to interrupt it with "alt-dot".
>  
> Can anyone explain what is going on? Why can't I interrupt run away 
> loops? Is there anything that I can do to ensure that I can get in 
> there and debug or stop these loops?
>  
> Cheers,
>  
> peter
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2058 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040410/1d9802d0/attachment.bin


More information about the Squeak-dev mailing list