BeAMan Posted March 12, 2010 Share Posted March 12, 2010 What is meant by a segmentation fault? Why does it happen? And how can it be fixed? Quote Link to comment Share on other sites More sharing options...
Sparda Posted March 12, 2010 Share Posted March 12, 2010 http://en.wikipedia.org/wiki/Segmentation_Fault Quote Link to comment Share on other sites More sharing options...
BeAMan Posted March 12, 2010 Author Share Posted March 12, 2010 I had read the wikipedia article before posting here. I thought the folks over here would be having more information. Quote Link to comment Share on other sites More sharing options...
Sparda Posted March 12, 2010 Share Posted March 12, 2010 What is meant by a segmentation fault? It's a runtime error that occurs when the program does some thing in memory that is impossible or tries to operate in memory in a way the operating system does not allow. Why does it happen? The program tried to do some thing silly (some thing impossible, some thing the OS doesn't allow) And how can it be fixed? Fix the code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.