the problem is that it is unable to read the memory in the executable for some reason and in the process of reporting the error, it crashes. the workaround is to change the debugging-exe-mode to 0.