title: program crash due to ntdll.dll
body: <p>I've created a program (vs2010,c++,win7), it's a multithreaded and has  modules.
  The  program that communicates with some hardware. 
  I run this program  in a clean computer that has only win7 and the drivers of the hardware.
  After using my program for a while, one of the modules crashes.
  I tried to debug the program in the development computer and the call stack show me only calls to "ntdll.dll", i also tried to create a dump file from the program in the testing computer
  and I've got the same results.
  Usually the module crash when there is a lot of load on all the modules.
  I've no idea from where to start to debug this program, so I'm open to ideas.</p>
  
  <p><strong>EDIT:</strong>
  also i got the exception "0xc0000374 a heap has been been corrupted" </p>
  
  <p>tnx.</p>