Closed matcatc closed 14 years ago
It is possible that rerun doesn't actually introduce the problem, but only exacerbates it enough that it becomes visible or leads to a seg-fault. Ie: rerun could stress PyQt in just the right way, that it leads to a problem.
Try isolating what function is causing the segfault.
It appears to occur after the end of QtView.reRun(), which is in code that we don't have any control over. It is possible that its in code generated by MainWindow.ui, but based on the stack trace mentioned above, I think that is even unlikely.
Try updating PyQt to most recent version.
Updated to most recent version. Now /usr/lib/python3.1/dist-packages/sip.so is causing a segfault, so the program won't even start.
I'm considering dropping PyQt based development for the moment.
Seg fault might be due to the threading. After disabling threading, (this problem)[] when away. Also right after reenabling threading, I had a seg-fault. But I was able to rerun MANY times without a seg-fault when threading was disabled.
Document and close
added ViewFactory and threading information
closed by eb95cbf86ae6c1d2973b6abcdd61f7dcec403adf closed by eb95cbf86ae6c1d2973b6abcdd61f7dcec403adf closed by eb95cbf86ae6c1d2973b6abcdd61f7dcec403adf
The introduction of auto-expand has led to an intermittent seg-fault.
It has something to do with PyQt (libqt.so) according to
gdb backtrace
.Question is, what do we do? Its not exactly our fault, but we don't want to release code that seg-faults (see this also.)