debug assertion failed?!?

OK, so I'm working on a checkers ai that works by getting all the possible boards a certain number of turns out and playing towards the best one. My code doesn't get any compile time errors, just this weird "debug assertion failed" error that I've never seen before. Does anyone know what this means or how I can fix it? thx