On Sun, 06 Aug 2006 20:10:19 -0700, James Liggett wrote:
so I suspect that this has something to do with stack problem
More likely it's a speed issue - logging slows the code down a lot which could "fix" a race condition. X is sort of susceptible to this kind of thing it seems.