Bug 370998

Summary: the python interfaces to KApplication and KConfigSkeleton stopped working with sip 4.18
Product: [Unmaintained] bindings Reporter: Wolfgang Rohdewald <wolfgang>
Component: pykdeAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: grave CC: wolfgang
Priority: NOR    
Version: 4.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug2
bug3
valgrind output

Description Wolfgang Rohdewald 2016-10-17 11:06:31 UTC
The attached scripts work fine with Kubuntu 16.04 but not with 16.10. They crash but drkonqi does not give useful information. I am attaching part of valgrind output.

If I install the packages python-qt4 and python-sip from 16.04 on 16.10, they work.
If I install the packages python-qt4 and python-sip from 16.10 on 16.04, they do not work.

But I cannot reproduce any bugs without using pykde.

This means kajongg does no longer run on Kubuntu using PyKDE4. However it can emulate most of what it needs from PyKDE4 when started with --nokde. I will have to commit a change which lets kajongg always run with --nokde until this bug is fixed.




Reproducible: Always

Steps to Reproduce:
1. python2 bug2.py ; python2 bug3.py

Actual Results:  
segfault

Expected Results:  
no segfault
Comment 1 Wolfgang Rohdewald 2016-10-17 11:07:29 UTC
Created attachment 101598 [details]
bug2
Comment 2 Wolfgang Rohdewald 2016-10-17 11:07:56 UTC
Created attachment 101599 [details]
bug3
Comment 3 Wolfgang Rohdewald 2016-10-17 11:08:31 UTC
Created attachment 101600 [details]
valgrind output
Comment 4 Luca Beltrame 2016-10-17 18:21:27 UTC
The Python bindings for kdelibs are completely unmaintained and I don't think this is going to be fixed, ever, unless someone works on it.
Comment 5 Wolfgang Rohdewald 2016-10-18 19:00:01 UTC
According to Rex Dieter, this works on Fedora 24 which uses essentially the same upstream versions. See Bug 253123.

I just installed F24 myself.
bug2.py crashes with python2 and works with python3
bug3.py crashes with both python2 and python3

About bug2: 
installed are:
sip-4.18-1.fc24.x86_64
python3-sip-4.18-2.fc24.x86_64

Is there a difference between sip 4.18-1 and 4.18-2?
Comment 6 Andrew Crouthamel 2018-11-17 05:29:53 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.