I found the problem.

I had a currentCellChanged() event that was being called.

Passing me currentRow = -1.

I was then doing the following, which I think crashed it.

Qt Code:
  1. QLabel* lbl = (QLabel *) endpoint_table->cellWidget(currentRow, ENDPOINT_DATA_COL);
To copy to clipboard, switch view to plain text mode