Jump to content
  • Advertisement
Sign in to follow this  
CHG-Swampert

SDL Segmentation Fault

This topic is 3313 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
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!