title: Runtime fatal error - possibly CLR bug
body: <p>I would like some insight into an error I'm receiving:</p>
  
  <blockquote>
    <p>Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\app.exe'. Additional Information: The runtime has encountered a fatal error... This error may be a bug in the CLR or in the unsafe or non-verifiable portions of the user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack."</p>
  </blockquote>
  
  <p>I would like to understand not only the error itself, but what/how CLR may play a part, and I've never really heard of COM-intercop or PInvoke are.. so some insight into those would also be helpful.</p>
  
  <p>Also, the really odd part of it all is that if I continue through the breakpoints and <strong>do not step into or over, I do not see the error</strong>. However, if I <strong>step through line by line, the error pops up</strong>! Can anyone explain why I only see it while stepping through?</p>
  
  <p>Not sure what other information would be useful.. please let me know (nicely of course!) what I could add.</p>
  
  <p>Thank you in advance! :)</p>