[R-SIG-Mac] weird race condition bug.

Byron Ellis bellis at hsph.harvard.edu
Mon Nov 1 20:12:51 CET 2004


There appears to be a race condition in console output event. For 
instance, typing 'help' to show the function as the first command after 
loading on my Powerbook results in double output (half black, half 
blue) that kills the console for further input and the following error 
in the console:

2004-11-01 11:06:56.372 R[681] *** NSTimer discarding exception 
'NSRangeException' (reason '*** NSRunStorage, _NSBlockNumberForIndex(): 
index (2919) beyond array bounds (2000)') that raised during firing of 
timer with target 3ace80 and selector 'runRELP:'


However, doing some stuff and then trying the same command doesn't 
result in the same problem. Either its just the particular timing of 
the event or something about the startup process that causes the 
problem. In any case, I expect it will be hard to replicate, but a 
showstopper when it happens to people. Just a heads up.



---
Byron Ellis (ellis at stat.harvard.edu)
"Oook" -- The Librarian



More information about the R-SIG-Mac mailing list