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

Simon Urbanek simon.urbanek at math.uni-augsburg.de
Mon Nov 1 20:59:03 CET 2004


On Nov 1, 2004, at 2:12 PM, Byron Ellis wrote:

> 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:'

It's not quite clear what happens there - I can reproduce this on my 
PowerBook, too. However, it's not really a show-stopper, because 
hitting <Esc> will give you console back and everything is OK again.

It's hard to tell if this is related to the timer (we're using a 
one-shot timer to start the REPL), or something else ... I'll keep on 
digging ...

Simon



More information about the R-SIG-Mac mailing list