Hi folks.
Unfortunately, this has to be a very general question because I have no idea where in my code this error might be from. The project is pretty large, too, but if anyone can point me to the
kind of code that might produce the error, I can post code, hopefully.
I have a program that I have made that is basically a level-editor for a game that I am making. Every once in a while when I test the level (in other words, run my Game class and give it the level data, opening a new sf::RenderWindow) I get a blue screen of death with the error "DRIVER_IRQL_NOT_LESS_OR_EQUAL (dxgmms1.sys). It also happens sometimes when I dereference the Game instance and close the second RenderWindow.
Apparently this kind of error results from:
This indicates that a kernel-mode driver attempted to access pageable memory at a process IRQL that was too high. This appears to be a typical software driver bug and is not likely to be caused by a hardware problem.
(Taken from an example dump file, not mine).
Suggested fixes for this problem have been "uninstall and reinstall your graphics driver," which I have done and it does not solve the problem. I imagine it is that my code is interacting with DirectX or openGL in some way and doing some sort of bad memory access, and I worry that when I release the game, this might happen to a user, which would be very bad.
When this first happened, I checked my code and discovered some memory leaks, which I have now mostly tracked down (still leaking 1mb or so every time I test the game), but my last crash happened with only 43% memory usage.
I have the bad feeling that it is my fault and not my driver... does anyone have any ideas?
EDIT: Just thought I'd mention I'm running Windows 8.1