Bug 247194 - python bindings handles KJob.discription not correct
Summary: python bindings handles KJob.discription not correct
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 02:33 UTC by Sandro Knauß
Modified: 2014-12-12 23:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.0


Attachments
A file to show the bug (line 16) (1.79 KB, text/x-python)
2010-08-10 02:33 UTC, Sandro Knauß
Details

Note You need to log in before you can comment on or make changes to this bug.
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.