Why stack overflow on some machines, but segmentation fault on another?
Why is it I get segmentation faults instead? The segmentation fault, what you’re seeing, is a side-effect of the stack overflow. The reason is stack overflow, the result is segmentation fault. From the wikipedia article for “stack overflow” (emphasis mine) …. When a program attempts to use more space than is available on the call … Read more