title: After setting a breakpoint in Qt, gdb says: "Error accessing memory address"
body: <p><strong>I wrote a very simple Qt program here:</strong></p>
  
  <pre><code>int main(int argc, char* argv[])
  {
      QApplication app(argc, argv);
  
      QTableView table(&amp;frame);
      table.resize(100, 100);
      table.show();
  
      return app.exec();
  }
  </code></pre>
  
  <p><strong>And when I try to set a breakpoint where the table gets clicked, I get this error from gdb:</strong></p>
  
  <pre><code>(gdb) symbol-file /usr/lib/libQtGui.so.4.4.3.debug 
  Load new symbol table from "/usr/lib/libQtGui.so.4.4.3.debug"? (y or n) y
  Reading symbols from /usr/lib/libQtGui.so.4.4.3.debug...done.
  (gdb) br 'QAbstractItemView::clicked(QModelIndex const&amp;)'
  Breakpoint 1 at 0x5fc660: file .moc/release-shared/moc_qabstractitemview.cpp, line 313.
  (gdb) run
  Starting program: ./qt-test
  Warning:
  Cannot insert breakpoint 1.
  Error accessing memory address 0x5fc660: Input/output error.
  </code></pre>
  
  <p><strong>Does anyone know why the breakpoint can't be inserted?</strong></p>