I have a d3d program, that if I run it and leave it alone it will render a scene and wait for keyboard input but in a few minutes will come up with an unhandled exception (access violation) calling a particular d3d method. The reason isn't obvious as the program works well otherwise and the method's parameters are not variable.