This is because you are accessing invalid memory. Run the program under the debugger, and the debugger will stop where the crash occurs, so you can determine how to proceed with fixing the bug.
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.