[PyQt] segmentation faults common when using QWebView

Phil Thompson phil at riverbankcomputing.com
Tue Nov 30 09:43:35 GMT 2010


On Mon, 29 Nov 2010 17:05:57 -0500, Brandon Craig Rhodes
<brandon at rhodesmill.org> wrote:
> "Hans-Peter Jansen" <hpj at urpla.net> writes:
> 
>> Why not trigger the timer from the loadFinished signal. That way, you
>> get the best of both worlds ;)
> 
> That's a good idea!  I promise to try it, just as soon as I can stop the
> script from giving me a segmentation fault every time that I run it. :-)
> 
> If no one who has the development version of PyQt4 installed gets the
> chance to try my script, then I should have time on Wednesday to sit
> down and install the alternate development packages and attempt to
> produce a traceback.  But before going through all of that I wanted to
> see if there was something I was obviously doing wrong with pointers or
> something in my code.

I can confirm the crash with current snapshots, but nothing from the
traceback suggests a PyQt problem. It smells like a Qt problem triggered by
unorthodox use.

Phil


More information about the PyQt mailing list