Bug 247194

Summary: python bindings handles KJob.discription not correct
Product: [Developer tools] bindings Reporter: Sandro Knauß <sknauss>
Component: generalAssignee: kde-bindings
Status: RESOLVED FIXED    
Severity: crash CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.0
Attachments: A file to show the bug (line 16)

Description Sandro Knauß 2010-08-10 02:33:39 UTC
Created attachment 49956 [details]
A file to show the bug (line 16)

Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

If I try to emit the discription signal for KJob.discription. python crashes with an segfault.

Reproducible: Always

Steps to Reproduce:
run: 
job.discription.emit(job,'title','field1',,'value1','field2','value2')

Actual Results:  
I'm getting a segfault

Expected Results:  
set the description ;)

Maybe it is a promlem in handling qMakePair?

Here the links to the api:
* http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKJob.html
* http://api.kde.org/pykde-4.3-api/kdecore/KJob.html#obj174455468

(the python sites in the api hasn't correct python code)
Comment 1 Sandro Knauß 2010-08-10 02:35:40 UTC
tried on a debian unstable and a gentoo machine. I also wrote the same lines in C++ and got a nice running programm
Comment 2 Christoph Feck 2013-09-12 21:47:46 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 3 Sandro Knauß 2014-12-12 23:37:30 UTC
The attached python file now works with 4.14.0.