In Linux:
What is a segmentation fault? I know it crashes programs, but is that some sort of memory leak problem, or something completely unrelated? Also, how do you
A 'segfault' is when a program accesses protected or invalid memory; usually due to poor memory management or buggy pointer manipulation.
The OS detects invalid memory access and crashes the app.