[BUG] Passing a LargeInteger to primSignal:atMilliseconds: hangs the VM

Avi Bryant avi at beta4.com
Mon Jan 26 22:01:53 UTC 2004


Easy way to freeze Squeak:

(Delay forMilliseconds: 100 factorial) wait.

The primitive fails (which is fine), a notifier comes up, and then the 
VM hangs (which isn't).

This was uncovered by Radoslav Hodnicak due to a bug in the PostgreSQL 
Client (which was using Socket standardDeadline where it should have 
been using Socket standardTimeout - possibly a common gotcha for people 
converting to the Network Rewrite).

Avi




More information about the Squeak-dev mailing list