Run-Time Check Failure #2 - Stack around the variable '...' was corrupted.

Oct 24, 2009 at 2:32am
Does anyone know what a message like this may mean:
Run-Time Check Failure #2 - Stack around the variable 'aaAvatar' was corrupted.


It happens every time that I EXIT my program, by breaking a while look by pressing ESC, the program always crashes (hasn't always, but has since changes this morning and I FAIL for not going back and fixing it then).

I'm using c++, windows console application, allegro libraries. If any more info would be useful please let me know. Thank you!
Oct 24, 2009 at 3:11am
You probably have written out of bounds on one of your arrays.
Oct 24, 2009 at 4:19am
Paste up some of your code if firedracos way doesn't fix it.
Topic archived. No new replies allowed.