matcatc / Test_Parser

parses and displays the output from test logs
http://matcatc.github.com/Test_Parser
GNU General Public License v3.0
1 stars 0 forks source link

QtView rerun seg fault #31

Closed matcatc closed 14 years ago

matcatc commented 14 years ago

When QTView's rerun is activated, it leads to a seg-fault.

But if the program is being run through alleyoop, no seg-fault occurs.

According to debug prints, the seg-fault occurs after it leaves QtView's reRun(). At which point it is returning to the caller who initiated the rerun (i.e: Qt / MainWindow.ui code.)

Running the program through pdb, trips over something else entirely.

matcatc commented 14 years ago

Commenting out self.model.runPrevious() in reRun(), causes the seg-fault to go away, so we know that its somehow related to our code. Perhaps some sort of complication.

matcatc commented 14 years ago

Know that it has something to do with the code in _updateTreeWidget() being run again (during the reRun().)

matcatc commented 14 years ago

Commenting out tree.clear() fixes the seg-fault. So its probably some sort of side effect of clear().

Pretty sure that QtGui.QTreeWidgetItem(tree) is causing the problem b/c its using tree.

matcatc commented 14 years ago

fixed reRun() seg-fault

Now clearing treeWidget by hand, instead of using clear()

closed by d9bc244c274b8341f16c449cccebe634a600753f