title: Finding heap corruption reason with Application Verifier
body: <p>I'm having some issues with my C++ application.
  When I use Clion's debugger - everything works great.
  but whe I take the compiled executable (under windows) and try to run it <em>with the same input file</em> as I did in debugging mode - the application crush.
  since I cant find the crush reason in dubugging - some search in the internet got me to find the Application Verifier tool by microsoft.</p>
  
  <p>It can diagnoze the crash + show the stacktrace but my problem is that I can't convert the names in the stacktrace to method names in c++</p>
  
  <p>this is the error part (my app name is gridSolver):</p>
  
  <pre><code>    &lt;avrf:logEntry Time="2017-03-30 : 02:52:53" LayerName="Heaps" StopCode="0x13" Severity="Error"&gt;
          &lt;avrf:message&gt;First chance access violation for current stack trace.&lt;/avrf:message&gt;
          &lt;avrf:parameter1&gt;7838000 - Invalid address causing the exception.&lt;/avrf:parameter1&gt;
          &lt;avrf:parameter2&gt;7fefe9f1151 - Code address executing the invalid access.&lt;/avrf:parameter2&gt;
          &lt;avrf:parameter3&gt;2280b0 - Exception record.&lt;/avrf:parameter3&gt;
          &lt;avrf:parameter4&gt;227bc0 - Context record.&lt;/avrf:parameter4&gt;
          &lt;avrf:stackTrace&gt;
              &lt;avrf:trace&gt;vrfcore!VerifierDisableVerifier+950 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;ntdll!RtlApplicationVerifierStop+d3 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;vfbasics!+7fed38d26c5 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;vfbasics!+7fed38d4606 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;vfbasics!+7fed38d3c4a ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;ntdll!vsprintf_s+12b ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;ntdll!RtlUnwindEx+852 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;ntdll!KiUserExceptionDispatcher+2e ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;msvcrt!memcpy+71 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+4314fa ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+43171c ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+44bb29 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+420a85 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+402e4b ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+4013b5 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;gridSolver!+4014e8 ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;KERNEL32!BaseThreadInitThunk+d ( @ 0)&lt;/avrf:trace&gt;
              &lt;avrf:trace&gt;ntdll!RtlUserThreadStart+21 ( @ 0)&lt;/avrf:trace&gt;
          &lt;/avrf:stackTrace&gt;
      &lt;/avrf:logEntry&gt;
  </code></pre>
  
  <p>Can please someone assist?
  maybe there is an other way to solve this issue?</p>