Pretty much what the title says. My program has been stopping at a certain point inexplicably. When I ran my program in debug mode and it reached that point, a window popped up saying: "An Access Violation (Segmentation Fault) raised in your program". What could this mean? Many things? One thing?
Also, in the compiler's debug output, it has many lines with:
"error-begin
Error: dll starting at 0x4ab71000 not found.
error
frames invalid"
And then continuing using different addresses than above. I would post the output here, but for some reason my compiler won't allow me to copy it. I'm using Dev-C++ 4.9.9.2, which I think is kind of an old compiler and has a few glitches.
Anyways, if anyone had some insight on what the pop-up might mean, or what the debug output might mean, I would much appreciate it :) I believe that the bug might have something to do with vectors, if that's any help.
This usually means that you are trying to read from, or write to, memory that the operating system thinks you shouldn't.
Common causes are dereferencing a NULL pointer, or a pointer with a garbage value in it, or reading too far off the end of an array (or some other such object, such as a vector).
This kind of problem is easily fixed with a debugger. Get a debugger, build with debug symbols, and run it under the debugger. The debugger will identify the exact line where you do this. Spending an hour now learning to use a simple debugger will save you thousands of hours in the future.