Bug 262035

Summary: PyKDE4: Calling value() on a KConfigSkeleton.ItemIntList object results in a segfault
Product: [Developer tools] bindings Reporter: Dennis Malcorps <dennis.malcorps>
Component: pykdeAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: wolfgang
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis Malcorps 2011-01-04 05:35:35 UTC
Version:           unspecified (using KDE 4.5.4) 
OS:                Linux



Reproducible: Always

Steps to Reproduce:
>>> from PyKDE4 import kdeui
>>> reference = []
>>> item = kdeui.KConfigSkeleton.ItemIntList('group', 'key', reference)
>>> item.value()


Actual Results:  
The Python interpreter just dies with a segfault, no traceback or anything...


Expected Results:  
an empty Python list


trying the following:

>>> from PyKDE4 import kdeui
>>> reference = []
>>> item = kdeui.KConfigSkeleton.ItemIntList('group', 'key', reference)
>>> item.setValue([1,2,3,4])
>>> item.value()

prints '[1,2,3,4]'

calling
>>> item.value()
again leads to this:
*** glibc detected *** python: malloc(): smallbin double linked list corrupted: 0x08310528 ***

and I must kill the python process afterwards...


python-qt4
version: 4.8.2-60.1

python-kde4
version: 4.5.4-18.7

python-sip
version: 4.12-51.1
Comment 1 Andrew Crouthamel 2018-10-31 04:12:55 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Wolfgang Rohdewald 2018-10-31 04:38:21 UTC
PyKDE4 has been unsupported for years, no bug fixes. So you can safely assume that all PyKDE4 bugs are still valid.