title: "This application has requested the Runtime to terminate it in an unusual way."
body: <p>My Qt program (g++ 4.4.0) is giving me the Microsoft Visual C++ Runtime Library error "This application has requested the Runtime to terminate it in an unusual way" when I close it. But when I run it in the debugger, I don't get the error message. Does anybody know a way to get some information about the crash? The message box just has an OK button.</p>
  
  <p><strong>Edited to add:</strong> Following Wimmel's advice, I attached to the debugger. There are two threads left alive, with ThreadID 1 and 3. The stacks look like this:</p>
  
  <pre><code>Level Function              File                           Line Address
  0     VTagOutput            C:\Windows\syswow64\user32.dll 0    0x7529438d  
  1     VTagOutput            C:\Windows\syswow64\user32.dll 0    0x7529438d  
  2     USER32!EmptyClipboard C:\Windows\syswow64\user32.dll 0    0x752a2674  
  3     ??                                                   0
  
  Level Function                                    File                          Line Address
  0     ntdll!LdrFindResource_U                     C:\Windows\SysWOW64\ntdll.dll 0   0x76f5000d  
  1     ntdll!LdrSetAppCompatDllRedirectionCallback C:\Windows\SysWOW64\ntdll.dll 0   0x76fdfabe  
  2     ??                                                                        0    0x7b9609b5 
  3     ??                                                                        0
  </code></pre>
  
  <p>Perhaps the second thread is displaying the error message? The first is a little strange: the top two rows are identical. I have nothing in my code that has <code>TagOutput</code> in its name, and neither does Qt as far as I can tell.</p>