title: Qt Gdb is crashing my application with exit code 1
body: <p>When I try debugging my Qt C++ application from within Qt Creator, it crashes consistently with the following error message:</p>
  
  <pre><code>**An unhandled win32 exception in gdb.exe**
  </code></pre>
  
  <p>However, when I try launching the same binary by double clicking it, it runs just fine.
  Also, I can also run my binary on gdb from the command line like this</p>
  
  <pre><code>C:\Users\CoolCast&gt;c:\MinGW4.4\bin\gdb.exe C:\QuiKast\git_apps_0_1\Server\MediaSt
  reamServer-build-Desktop-Debug\debug\CoolCast.exe
  GNU gdb 6.8
  Copyright (C) 2008 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "i686-pc-mingw32"...
  (gdb) run
  Starting program: C:\QuiKast\git_apps_0_1\Server\MediaStreamServer-build-Desktop
  -Debug\debug\CoolCast.exe
  [New thread 2112.0x1224]
  [New thread 2112.0x12c8]
  [New thread 2112.0xc00]
  [New thread 2112.0x1264]
  [New thread 2112.0x150c]
  ... and so on.
  </code></pre>
  
  <p>My environment and program versions are:</p>
  
  <pre><code>Windows 7
  Qt SDK 4.8.4
  MinGw 4.4
  GDB auto-detected under Mingw and set to C:\Mingw4.4\bin\gdb.exe
  </code></pre>