
-----------------------------------
LadyFlamestress
Tue Dec 29, 2009 4:24 pm

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?

-----------------------------------
ecookman
Tue Dec 29, 2009 5:05 pm

RE:What does segmentation violation mean?
-----------------------------------
ive never heard of it but I will look into it.

-----------------------------------
[Gandalf]
Tue Dec 29, 2009 7:01 pm

RE:What does segmentation violation mean?
-----------------------------------
That's a useless post if there ever was one, ecookman...

http://en.wikipedia.org/wiki/Segmentation_fault

-----------------------------------
rdrake
Tue Dec 29, 2009 7:58 pm

Re: RE:What does segmentation violation mean?
-----------------------------------
That's a useless post if there ever was one, ecookman...

QFT.

It basically means you're touching memory not allocated to you.  Stop that.

-----------------------------------
andrew.
Tue Dec 29, 2009 8:05 pm

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.

-----------------------------------
Tony
Tue Dec 29, 2009 8:25 pm

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.
