Sign in to follow this  
sipickles

Strange error returning from function!

Recommended Posts

That is most likely a Segmentation fault. That is, through a pointer or array, you exploded your program.

To fix it, you should (as said above), debug your program. Look at the stack trace (the list of functions your program was inside when it blew up). The ones at the top will probably be system-level code (ignore it) and the topmost function that you wrote is going to be the culprit. See if you can't figure out which pointer/array caused the problem.

Share this post


Link to post
Share on other sites

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