1A segmentation fault (aka segfault) is a common condition that causes programs
2to crash; they are often associated with a file named core.
3
4Segfaults are caused by a program trying to read or write an illegal memory
5location
1Segfaults are caused by a program trying to read or write an illegal memory location
1## Segmentation Fault ##
2
3when it will come ? READ Conditions below ...
4
5- segmentation fault comes when you have an array of 10 size and
6 you are accessing the arr[12] so you are accessing the unknown memory
7 which is not yours so it will gives you error...
8
9- If you are asking for memory but it doesnt have any memory left so error...
10
11...so both conditions above will gives you error as segmentation fault.
1Core Dump/Segmentation fault is a specific kind of error caused by
2accessing memory that “does not belong to you.”
3In C++ this can be caused by:
4~Accessing an address that is freed
5~Accessing out of array index bounds
6~Stack Overflow
7~Dereferencing uninitialized pointer
1If your not using a lot of ram, your probobly
2indexing WAY out of bounds on a vertex or array. C++ btw.