Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006857 [Squeak] Network major random 01-15-08 04:37 02-06-11 23:47
Reporter alnr View Status public  
Assigned To cdegroot
Priority normal Resolution fixed  
Status closed   Product Version 3.9
Summary 0006857: Socket>>#waitForDataFor:ifClosed:ifTimedOut: large delay hangs process
Description this method can cause very large delay or an exception due to a too-large delay, because this method does not account for the millisecond clock rolling over.
Additional Information see http://lists.squeakfoundation.org/pipermail/squeak-dev/2008-January/124118.html [^]

"On rare occasions I've seen
Socket>>#waitForDataFor:ifClosed:ifTimedOut: (3.9 svp 7/27/2003 00:16)
pass a very large duration to readSemaphore waitTimeoutMSecs:. Large
enough to either hang the process for days, or cause Delay to complain
that delays cant exceed Note: 0000006 days. (when the duration should have been a
max of 300 seconds)."

Keithy wrote:

"In 3.10 there is a timeout calculating function which does take roll
over into account."

however upon checking 3.10.gamma.7159 the method is the same exact version as above.
Attached Files

- Relationships
related to 0007343closed cdegroot Socket clock rollover issues 

- Notes
(0013951 - 23 - 23 - 23 - 23 - 23 - 23)
leves
11-25-10 23:12

Fixed in Network-ul.99.
 

- Issue History
Date Modified Username Field Change
01-15-08 04:37 alnr New Issue
01-15-08 04:37 alnr Status new => assigned
01-15-08 04:37 alnr Assigned To  => cdegroot
11-25-10 23:12 leves Relationship added related to 0007343
11-25-10 23:12 leves Status assigned => resolved
11-25-10 23:12 leves Fixed in Version  => trunk
11-25-10 23:12 leves Resolution open => fixed
11-25-10 23:12 leves Note Added: 0013951
02-06-11 23:47 leves Status resolved => closed


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
51 total queries executed.
40 unique queries executed.
Powered by Mantis Bugtracker