[PyQt] Segfault with PyQt 5.10.1 and Cura

Phil Thompson phil at riverbankcomputing.com
Wed Apr 4 21:52:03 BST 2018


On 4 Apr 2018, at 7:25 pm, Jelle van der Waa <jelle at vdwaa.nl> wrote:
> 
> On 04/01/18 at 10:13pm, Phil Thompson wrote:
>> On 1 Apr 2018, at 9:18 pm, Jelle van der Waa <jelle at vdwaa.nl> wrote:
>>> 
>>> Updating our PyQt 5 packages in Arch Linux, made Cura segfault. With the
>>> following backtrace. [1]
>>> 
>>> After some manually diffing and some trial and error (why is there no
>>> public Git repo?!). I've found that reverting the following change fixes
>>> the segfault introduced in 5.10.1.
>>> 
>>> I'm not sure what caused it or how to reproduce it without running cura.
>>> But can test out reproducers if needed.
>>> 
>>> [1] https://paste.kde.org/pvk28xuhr
>>> [2] http://pkgbuild.com/~jelle/0001-Revert-register-type-magic.patch
>> 
>> Can you try the current SIP and PyQt5 snapshots?
>> 
>> If the problem is still there then I will need a short, complete example that demonstrates the problem.
> 
> And it's resolved in PyQt5_gpl-5.10.2.dev1803281228.tar.gz, do you know
> which commit/patch might fix it?

It's more complicated than that. The rest of the current snapshot are a small number of simple bug fixes, so I'd recommend using that.

Phil


More information about the PyQt mailing list