title: troubleshooting error code 1000 application crash
body: <p>Problem solved alert. Read the final update first.
  .................................................</p>
  
  <p>I have vb6 application that calls a c# library via COM</p>
  
  <p>The C# library is Framework 4.5.2</p>
  
  <p>If I build the COM library on a particular machine running VS2017 15.5.6 I don't have a problem.</p>
  
  <p>If I checkout the same code and build it on a different machine ( I tried 2 of them) with vS2017 15.5.2 in a particular record I get an application crash.</p>
  
  <p>The error occurs on the line of code</p>
  
  <p>if (edge.Extra == null)   // given edge is not null and Extra is a property</p>
  
  <p>In the Windows Event log there is</p>
  
  <pre><code>Faulting application name: jtJobTalk.exe, version: 1.0.0.0, time stamp: 0x5a9f5b1c
  Faulting module name: ntdll.dll, version: 6.3.9600.18895, time stamp: 0x5a4b127e
  Exception code: 0xc00000fd
  Fault offset: 0x0006d46c
  Faulting process ID: 0xb74
  Faulting application start time: 0x01d3b5c77355520d
  Faulting application path: C:\jobtalk\jtJobTalk.exe
  Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
  Report ID: d1374fd2-21ba-11e8-8272-d050999dc03c
  </code></pre>
  
  <p>I tried sfc scan and no problems were reported.</p>
  
  <p>On yet another computer (running Windows 7) I get the error</p>
  
  <pre><code>A new guard page for the stack cannot be created
  </code></pre>
  
  <p>How can I further troubleshoot this issue?</p>
  
  <p>I am afraid to update the VS version on the good machine in case this causes me to be unable to release.</p>
  
  <p>[Update]</p>
  
  <p>After putting in some calls to MessageBox.Show I have established that the error was caused by an object referencing itself from within it's own constructor.</p>
  
  <p>It has taken me a day at least to find this out. I am looking for any pearls of wisdom that could have helped me diagnose the issue in an easier way.</p>