I have a program that I open a dialog to show a listing of files and the user chooses some files to open. I read in some data from the files and populate a QTable with a bunch of QVariant data and after filling the table, I return out of the function. Whenever I try to return, my program Segmentation Faults and when I run the program in DBX, the stack says it dies on the return call, and then in QString::~QString(this = 0xffbedf18) at line 846 and then in QShared::deref( this = 0x303000a8) at line 50. I only create 4 QStrings in the entire function, 2 when I create a QProgressDialog as the first 2 arguments, and 2 towards the end of my document when I say
I have printed out the string these hold and the addresses of the QStrings and they are all valid, so I don't think I have invalid addresses anywhere. Does anyone have any idea why I would be crashing? Thanks!Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks