When testing, also check the dmesg logs please. When nucleus debugging is off, you get only a kernel warning 'scheduling while atomic'.
- Could you replace MAXLONG on line 119 with TM_INFINITE and rerun the sem test (to avoid printf'ing) You can terminate with Ctrl+C.
- Could you try to run with tmax somewhat lower (to increase the load): e.g. ./sem 5.0e6 or so. Be careful not to starve Linux. I think 1.0e5 will be too low.
Crashes with me happen within the first 10 secs with 1.0e7Thanks,Jeroen.