<DIV>Hi John<BR><BR>>Mmm, I seem to recall Dan Ingalls, Bill Shauck, Samuel S. Shuster and I<BR>>were in there a few years back to<BR>>prove that the clock roll over logic had a bug where it wouldn't reset<BR>>the resumption time correctly in certain cases. Leaving<BR>>Dan's weather station software hung.<BR><BR>>Assuming we are talking about SuspendedDelays which is created as:<BR>>SuspendedDelays _<BR>>SortedCollection sortBlock:<BR>>[:d1 :d2 | d1 resumptionTime <= d2 resumptionTime].<BR><BR>>I would suggest you look at all users of SuspendedDelays in your image<BR>>and confirm that it's protected by<BR>>AccessProtect. In a quick look before adequate coffee I don't see why<BR>>it's broken if I assume something is altering<BR>>SuspendedDelays as the add: logic is running. You might need to look<BR>>at callers of certain methods to find the wrapping<BR>>critical: block.<BR><BR>** here is where the stack trace
show the error<BR>this colaboration occurs into AccesProtect critical<BR><BR>Delay>>schedule<BR><BR>schedule<BR> "Private! Schedule this Delay, but return immediately rather than waiting.<BR>The receiver's semaphore will be signalled when its delay duration has<BR>elapsed."<BR><BR> beingWaitedOn ifTrue: [self error: 'This Delay has already been<BR>scheduled.'].<BR> AccessProtect critical: [<BR> beingWaitedOn _ true.<BR> resumptionTime _ Time millisecondClockValue + delayDuration.<BR> ActiveDelay == nil<BR> ifTrue: [self activate]<BR> ifFalse: [<BR> resumptionTime < ActiveDelay resumptionTime<BR> ifTrue: [<BR> SuspendedDelays add: ActiveDelay.<BR> self activate]<BR> ifFalse: [SuspendedDelays add: self (** HERE FIRE ERROR ) ]]].<BR><BR><BR>Best regards
<BR> MDC<BR><BR></DIV><p><br><hr size=1>
<a href="http://ar.rd.yahoo.com/mail/welcome/*http://ar.autos.yahoo.com"><img src="http://eur.i1.yimg.com/eur.yimg.com/i/fr/icon/car.gif" width=16 height=16 border=0></a> <b>¿Buscás un auto?</b><br>
Encontralo en <a href="http://ar.rd.yahoo.com/mail/welcome/*http://ar.autos.yahoo.com"><B>Yahoo! Autos</B></a><br><font color=#FF6600><B>¡Más de 4000 clasificados todos los días!</B></font><br>
<small><a href="http://ar.rd.yahoo.com/mail/welcome/*http://yahoo.deautos.com/usados">Usados</a> - <a href="http://ar.rd.yahoo.com/mail/welcome/*http://yahoo.deautos.com/ofertas">0 km</a> - <a href="http://ar.rd.yahoo.com/mail/welcome/*http://ar.autos.yahoo.com/vender/">Vendé el tuyo</a></small>