[PyQt] Segfault on exceptions in QNetworkAccessManager::createRequest

Florian Bruhin me at the-compiler.org
Tue Sep 16 19:00:33 BST 2014


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.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
             GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: networkmanager_segfault.py
Type: text/x-python
Size: 486 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140916/6a449988/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140916/6a449988/attachment.sig>


More information about the PyQt mailing list