[PyQt] Segfault on exit with QSslSocket and qInstallMessageHandler

Florian Bruhin me at the-compiler.org
Fri Jun 2 20:20:05 BST 2017


Hi,

On Fri, Jun 02, 2017 at 07:18:27PM +0200, Hans-Peter Jansen wrote:
> If you really want Qt to behave SSL wise, you will want to build Qt with 
> OpenSSL 1.1 first (fingers crossed).

Qt doesn't support OpenSSL 1.1 yet:
https://codereview.qt-project.org/#/c/189399/

> I expect PyQt to behave, if you succeed with above...
> The backtrace seems to undergird my theory.

It doesn't. It crashes somewhere inside Python after PyQt's message
handler implementation, and it doesn't seem to be related to SSL at all.

I bet there is some way to reproduce it without involving OpenSSL, but
that was the easiest way I could find.

Florian

-- 
https://www.qutebrowser.org  | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170602/3931c6d1/attachment.sig>


More information about the PyQt mailing list