[PyQt] Crash with sip 4.19.8

Boudewijn Rempt boud at valdyas.org
Tue Mar 20 07:08:45 GMT 2018


On maandag 19 maart 2018 18:49:13 CET Phil Thompson wrote:
> On 19 Mar 2018, at 12:37 pm, Boudewijn Rempt <boud at valdyas.org> wrote:
> > Hi,
> > 
> > I'm not sure how to isolate or investigate this. I got this bug report:
> > 
> > https://bugs.kde.org/show_bug.cgi?id=391992
> > 
> > Which reports a crash that happens with sip 4.19.8, but not with 4.19.7.
> > I'm not sure what changed between the two versions either...
> 
> There was only one change which was related to crashes with highly threaded
> applications. The change itself is relatively small.

Hm, and this is just something that happens on shutting down the application. 
A singleton gets destructed and deletes the plugins it had loaded.

> When you change sip versions do you re-create the bindings? The change
> included a code generation change and maybe I screwed up the binary
> compatibility.

I actually haven't seen the crash myself, I only have what the bug reporters 
reported -- that downgrading sip and rebuilding Krita made the crash go away 
for them. That must mean they have rebuilt Krita's bindings, too.

> Of course the fix could have exposed a bug in your code...

That's always possible :-)

-- 
Boudewijn Rempt | https://www.valdyas.org | https://www.krita.org




More information about the PyQt mailing list