[PyQt] Segfault on exceptions in QNetworkAccessManager::createRequest
Phil Thompson
phil at riverbankcomputing.com
Mon Sep 22 18:03:54 BST 2014
On 16/09/2014 7:00 pm, Florian Bruhin wrote:
> I noticed I get a segfault when there's an exception in
> QNetworkAccessManager::createRequest.
>
> Is this a bug in PyQt? Or is it just a tricky situation maybe (wild
> guesses following) because the code there is running in another
> thread, and Qt expects to get a proper QNetworkRequest?
>
> An example script is attached.
I think it's just that Qt expects a QNetworkRequest and doesn't handle a
NULL pointer.
Phil
More information about the PyQt
mailing list