[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Crash when sending None in a str signal
From:       Florian Bruhin <me () the-compiler ! org>
Date:       2016-06-20 8:43:49
Message-ID: 20160620084349.yqljc7alspwajrua () tonks
[Download RAW message or body]

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

[Attachment #2 (multipart/signed)]
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.


* Julien Duponchelle <julien@gns3.net> [2016-06-20 08:35:25 +0000]:
> Hi,
> 
> If you send None instead of a str to a signal the application will
> segfault.

I think this is the same as this which will be fixed in
PyQt 5.6.1/5.7:

https://www.riverbankcomputing.com/pipermail/pyqt/2016-April/037375.html
https://www.riverbankcomputing.com/pipermail/pyqt/2016-April/037399.html

> I know the error is from me but due to the fact it's a segfault it's hard
> to locate the issue. It would be easier if a Python exception was raised.

It's not an error I believe, as there's a difference on the Qt side
between an empty and a null QString.

Florian

-- 
http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic