0

What is the difference between run time errors "Stack overflow.", "Access violation writing location 0x00000000." and "Stack around the variable 'w' was corrupted."

2
Contributors
1
Reply
13
Views
4 Years
Discussion Span
Last Post by deceptikon
0

Stack overflow is when you put too much stuff on the stack. It's usually triggered by excessive recursion. Access violation to 0x0 is when you try to write to a null pointer. Stack corruption is a little more subtle. It happens when you do someting like write beyond the bounds of an array and mess up bookkeeping information stored on the stack.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.