1. 10
  1.  

  2. 4

    For the curious, if you want to actually recover the address that caused the fault (say, because you’re doing something evil with a shared memory space on a distributed system >_>;;) you can recover that by using siginfo_t (http://www.mkssoftware.com/docs/man5/siginfo_t.5.asp) and sigaction (http://www.mkssoftware.com/docs/man3/sigaction.3.asp).