[Kde-bindings] [Bug 262035] New: PyKDE4: Calling value() on a KConfigSkeleton.ItemIntList object results in a segfault

Dennis Malcorps dennis.malcorps at gmail.com
Tue Jan 4 04:35:36 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=262035

           Summary: PyKDE4: Calling value() on a
                    KConfigSkeleton.ItemIntList object results in a
                    segfault
           Product: bindings
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: dennis.malcorps at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list