What is the difference between the following error messages?
The instruction at "<address>" referenced memory at "<address>". The memory could not be "read"/"written".
<application name> has stopped working(assuming an access violation occurred; this message is used for any other program crash as well)
In both cases, the program has performed an invalid memory access (access violation, aka segmentation fault). What determines the exact error message displayed?