SDL Segmentation Fault

Started by
1 comment, last by CHG-Swampert 14 years, 10 months ago
What's a segmentation fault anyway... Here's the creepy memory addresses #0 00402AB9 ??() (??:??) #1 00402C47 ??() (??:??) #2 0000005A ??() (??:??) #3 7FFDC000 ??() (??:??) #4 0022FFB0 ??() (??:??) #5 0040122A ??() (??:??) #6 0022FFB0 ??() (??:??) #7 00401222 ??() (??:??) #8 00409004 ??() (??:??) #9 00409000 ??() (??:??) #10 0022FFA4 ??() (??:??) #11 FFFFFFFF ??() (??:??) #12 0022FFA8 ??() (??:??) #13 00000000 ??() (??:??) These things make me want to bang my head against a wall. What is it and how do I fix it?
hmm html ftw?
Advertisement
A segmentation fault is what happens when you try to access invalid memory. Usual causes are things like dereferencing null or uninitialized pointers, indexing arrays out of bounds, accessing objects after deletion and other memory related errors. To fix a segfault you generally would use a debugger to track down the location of the memory error and remedy the cause.
thanks. fixed
hmm html ftw?

This topic is closed to new replies.

Advertisement