(I’m not sure if this is a programming issue or a setup issue, since I haven’t been able to narrow it down at all.)
My application is crashing my main development system. It always happens: when processing starts, mouse clicks and the keyboard don’t do anything for about ten seconds (the mouse cursor moves), then the system hard freezes (the mouse cursor stops moving). This started happening after coming back from a couple weeks hiatus on this project, so I don’t know what changed to cause it.
I’ve tried narrowing down the cause, which became very confusing:
- I reinstalled Windows 7 from scratch. The issue still happened.
- I put my GPU into another Windows 7 PC. The issue didn’t happen. (This suggests an issue other than the GPU.)
- I put my newly installed Windows 7 drive into the other PC. The crash is happening again.
This doesn’t make any sense. It seems like a software issue, since the crash follows the Windows installation around, but it’s a brand new installation.
I’m at a loss here. I’m on a new PC now, and I may need to do yet another complete reinstallation, but that’s grasping at straws and could be a big waste of time. There’s no system crash, so there are no system crash logs/bugchecks to look at. The application works perfectly fine on the other PC with its original Windows installation, so I don’t think it’s an issue with my application.
The Windows watchdog timer is disabled. That does cause a hard crash if it triggers, but I know what that crash looks like (two of my monitors flashing black and green to give me a seizure, speakers blaring in a DMA loop, followed by a hard crash–that’s not this crash).
If it helps: When I tried stepping through my code until I hit the crash, it happened when I wrote to managed memory. However, it didn’t always happen in the same place. I didn’t try this too many times, since single stepping a crash that freezes the whole system is incredibly painful and didn’t look like it was helping.
Any suggestions to track this down? I have to switch systems to do any CUDA development, which is bringing my project to a halt.