Why is a segmentation fault not recoverable?
When exactly does segmentation fault happen (=when is SIGSEGV sent)? When you attempt to access memory you don’t have access to, such as accessing an array out of bounds or dereferencing an invalid pointer. The signal SIGSEGV is standardized but different OS might implement it differently. “Segmentation fault” is mainly a term used in *nix … Read more