[PyQt] Signal causes seg fault

Maxwell Grady max.grady at gmail.com
Thu Jan 12 17:52:30 GMT 2017


Should have added that I can confirm the attached code seg faults on OS
X.11.4 with PyQt5.7

On Thu, Jan 12, 2017 at 12:50 PM, Maxwell Grady <max.grady at gmail.com> wrote:

> Not sure if its relevant - but You'll get a seg fault in PyQy5 anytime
> there's an un-handled exception, to my knowledge. (I think this is
> different compared to PyQt4)
>
> On Thu, Jan 12, 2017 at 12:43 PM, Cody Scott <cody at perspexis.com> wrote:
>
>> I'm getting a seg fault when a child class calls a method of a parent
>> class which emits a signal (also of the parent class).
>>
>> If you run this example file and click the button it will cause a
>> segfault. If nothing is bound to "customType.count" then it will not
>> segfault.
>>
>> The gist and the attached file are the same.
>>
>> https://gist.github.com/Siecje/4a99c2c76f65f39a57c168da10407
>> e7f#file-signalemit-py-L19
>>
>>
>>
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>
>
>
> --
> University of New Hampshire
> Department of Physics
> Pohl Group
> DeMeritt Hall 119
> ---
> Síocháin agus Grá
>



-- 
University of New Hampshire
Department of Physics
Pohl Group
DeMeritt Hall 119
---
Síocháin agus Grá
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170112/62143d2f/attachment-0001.html>


More information about the PyQt mailing list