We are passing almost all of the tests running in the kernel with 1 CPU and 1MB RAM, except bigfork, which I only ran twice because it takes ~forever~, and both times we got this error, like 10 minutes into the test, mind you:
Stage 5 #59 done: 62977821
…panic: Assertion failed: !curthread->t_in_interrupt, at …/…/thread/thread.c:1043 (wchan_sleep)
In thread.c there is a comment that tells us what this assert means:
/* may not sleep in an interrupt handler */
However, I’m having a very difficult time tracking down what in my code could be causing this. Has anybody else wrestled with this issue and, if so, what was it? What are some tips you could give me? Thanks.