Closed rrnewton closed 10 years ago
By adding a little extra debug print, we can see that, indeed, main_cpu
has a wrong value:
\4| [dbg-lvish] (main tid ThreadId 9) Wait on at least one async to complete..
\3| wrkr0 [dbg-lvish] Auxillary worker #0 starting (main cpu 3).
\3| wrkr2 [dbg-lvish] Auxillary worker #2 starting (main cpu 3).
\3| wrkr1 [dbg-lvish] Auxillary worker #1 starting (main cpu 3).
When we run
STRESSTESTS=N
whereN>1
, then we see tests hanging right now. Looking at the debug log output we see this. On he first run(s), we start up two auxiliary workers and one main thread:But on the last run where we hang, ALL THREE threads decide that they are auxillary workers:
Something is wrong....