title: qt creator under linux, how to debug
body: <p>I am using qt creator under linux with GDB.
  I found even if I write really dumb error like this</p>
  
  <pre><code>int main(int argc, char *argv[])
  {
      QApplication app(argc, argv);
      int *a;
      a[12]=1;
      ...
  }
  </code></pre>
  
  <p>The program do crash as expected, but unlike under Windows (I use Visual Studio a lot in the past). I did not really find the program 'stop' at the crashing line, nor anywhere tells me which line crashes the program.</p>
  
  <p>When it crash, there is just an application output says: <code>Inconsistency detected by ld.so: dl-load.c: 2325: _dl_map_object: Assertion nsid &lt; _rtld_local._dl_nns failed!</code> The application just exit, instead of stop and let me get a call stack. </p>
  
  <p>How could I tell which line crashes my program under qtcreator?</p>