Sign in to follow this  

SDL Segmentation Fault

This topic is 3100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

This topic is 3100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this