Computer Science Canada What does segmentation violation mean? |
Author: | LadyFlamestress [ Tue Dec 29, 2009 4:24 pm ] |
Post subject: | What does segmentation violation mean? |
I'm just curious cause my program keeps saying it. I use a lot of pictures, so I'm thinking it's a memory thing. But how do I fix it? |
Author: | ecookman [ Tue Dec 29, 2009 5:05 pm ] |
Post subject: | RE:What does segmentation violation mean? |
ive never heard of it but I will look into it. |
Author: | [Gandalf] [ Tue Dec 29, 2009 7:01 pm ] |
Post subject: | RE:What does segmentation violation mean? |
That's a useless post if there ever was one, ecookman... http://en.wikipedia.org/wiki/Segmentation_fault |
Author: | rdrake [ Tue Dec 29, 2009 7:58 pm ] |
Post subject: | Re: RE:What does segmentation violation mean? |
Gandalf @ Tue Dec 29, 2009 7:01 pm wrote: That's a useless post if there ever was one, ecookman...
QFT.
http://en.wikipedia.org/wiki/Segmentation_fault It basically means you're touching memory not allocated to you. Stop that. |
Author: | andrew. [ Tue Dec 29, 2009 8:05 pm ] |
Post subject: | RE:What does segmentation violation mean? |
Sounds like you are using so much memory that it tries to write over a section where it's not allowed to. |
Author: | Tony [ Tue Dec 29, 2009 8:25 pm ] |
Post subject: | RE:What does segmentation violation mean? |
Except that this is Turing, so chances are it's some internal error. There was another thread recently, where loading a faulty .gif file caused segmentation faults. As with most bugs -- try to isolate where in your program this fault occurs. |