title: How do you read a segfault kernel log message
body: <p>This can be a very simple question, I'm am attempting to debug an application which generates the following segfault error in the <code>kern.log</code></p>
  
  <p><code>kernel: myapp[15514]: segfault at 794ef0 ip 080513b sp 794ef0 error 6 in myapp[8048000+24000]</code></p>
  
  <p>Here are my questions: </p>
  
  <ol>
  <li><p>Is there any documentation as to what are the diff error numbers on segfault, in this instance it is error 6, but i've seen error 4, 5</p></li>
  <li><p>What is the meaning of the information <code>at bf794ef0 ip 0805130b sp bf794ef0 and myapp[8048000+24000]</code>?</p></li>
  </ol>
  
  <p>So far i was able to compile with symbols, and when i do a <code>x 0x8048000+24000</code> it returns a symbol, is that the correct way of doing it? My assumptions thus far are the following:</p>
  
  <ul>
  <li>sp = stack pointer?</li>
  <li>ip = instruction pointer</li>
  <li>at = ????</li>
  <li>myapp[8048000+24000] = address of symbol?</li>
  </ul>