title: How to interpret linux kernel trap error line?
body: <p>I have a socket application written in C++ which runs on Linux. It crashed this morning and when I check the /var/log/messages I see the following line at the time of the crash:</p>
  
  <pre><code>kernel: traps: LogProcessor[9364] general protection ip:4f2555 sp:7fbd529b1670 error:0 in MyPrg[400000+21a000]
  </code></pre>
  
  <p>I want to dig into the code and find the reason but I don't know how to interpret the values in the error line.<br>
  Does it mean the error is caused by LogProcessor? What are the values "ip", "sp", "error:0", MyPrg[400000+21a000] ?</p>