Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 7
    It's also worth noting that SIGSEGV can be handled/ignored. So it's possible to write a program that doesn't get terminated by it. The Java Virtual Machine is one notable example that uses SIGSEGV internally for different purposes, as mentioned here: stackoverflow.com/questions/3731784/… Commented Jan 25, 2016 at 22:53
  • 2
    Likewise, on Windows, .NET doesn't bother adding null pointer checks in most cases - it just catches access violations (equivalent to segfaults). Commented Jan 25, 2016 at 23:44