My program uses Fortran and C++ via VS2017. I spawn many processes with _spawnl(). The program runs and gets the right answers. But after many cycles, Windows seems to be corrupted. Some apps won't open or show a black screen, and even the power/restart menu item won't work.
Is there any diagnostic tool I can run when this happens, to look inside Windows and see if something is amiss? I have no clue what is wrong.