by Tdarcos » Fri Sep 28, 2012 3:48 pm
All of a sudden the compiler has stopped working. I've compiled this game probably a hundred times, and the usual compile time is about 1 second. Except if I've forgotten to close the running executable, in which case it's on the order of about ten seconds, which I recognize instantly and because it takes me about 8 seconds to close the game and confirm I want to quit.
Now, all of a sudden for no reason, the compiler gets stuck somehow. It just sits there and won't compile. I'm not sure if I've created something defined recursively, but it all of a sudden just locks up and does not compile.
Found the problem. Eventually - about 30 seconds later - it finally comes back with a message it can't write "\\buffalo\programming\zenith\tripkey\tripkey.lst". Somehow the files on the directory on the file server got marked read only, and for some reason the executable was doing a "stay behind" when killed. This is a problem when running 32-bit applications on 64-bit Windows 7, some applications - notably Word Perfect 8 - fail to terminate cleanly when closed, and sometimes hold onto whatever files were open as a zombie process I have to terminate from Task Manager.
Usually I don't have a problem because I never usually close the compiler, I leave it running all the time while I'm working, make a change to the game source, recompile, play the game to see if the fix works, quit, make another change to the game source, recompile, play the game again, quit, make another fix, etc.
All of a sudden the compiler has stopped working. I've compiled this game probably a hundred times, and the usual compile time is about 1 second. Except if I've forgotten to close the running executable, in which case it's on the order of about ten seconds, which I recognize instantly and because it takes me about 8 seconds to close the game and confirm I want to quit.
Now, all of a sudden for no reason, the compiler gets stuck somehow. It just sits there and won't compile. I'm not sure if I've created something defined recursively, but it all of a sudden just locks up and does not compile.
Found the problem. Eventually - about 30 seconds later - it finally comes back with a message it can't write "\\buffalo\programming\zenith\tripkey\tripkey.lst". Somehow the files on the directory on the file server got marked read only, and for some reason the executable was doing a "stay behind" when killed. This is a problem when running 32-bit applications on 64-bit Windows 7, some applications - notably Word Perfect 8 - fail to terminate cleanly when closed, and sometimes hold onto whatever files were open as a zombie process I have to terminate from Task Manager.
Usually I don't have a problem because I never usually close the compiler, I leave it running all the time while I'm working, make a change to the game source, recompile, play the game to see if the fix works, quit, make another change to the game source, recompile, play the game again, quit, make another fix, etc.