Summary: | KConfigSkeleton segfaults with PyQt4 API version 2 | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Wolfgang Rohdewald <wolfgang> |
Component: | pykde | Assignee: | kde-bindings |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | adaptee, lbeltrame, rdieter, simon, stasnel, wolfgang |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Wolfgang Rohdewald
2010-10-03 15:00:33 UTC
this bug still exists with python-kde4 4.8.3 I wasn't aware of this issue (I use API version 1 with a KConfigSkeleton subclass). I followed up on the PyQt mailing list. If a theoretical solution is envisioned (my C++ and SIP knowledge are too limited to do that by myself) I can try implementing it in PyKDE4 (assuming the bug is there and not elsewhere). this bug still exists with python-kde 4.11.1 both with python 2.7.4 and 3.3.1 This bug still exists with python3-PyKDE4 from KDE 4.14.1. It makes central parts of PyKDE4 unusable. For kajongg this means it cannot use PyKDE4 until this is fixed. Until then, when running under Python3, it behaves like a simple Qt application (I wrote some simple replacements). I will sooner or later stop supporting Python2, so kajongg will stop behaving like a KDE application unless PyKF5 will be implemented without this bug. Status: confirmed again and again by myself. For python3 the test script is shorter: from PyKDE4.kdeui import KConfigSkeleton a = KConfigSkeleton() name = 'tilesetName' value = 'I am a value' s = a.addItemString(name, value) print(s.value()) The main problem is that: a. I don't really know where to look; b. I need to check how much Python code is inside the KConfigSkeleton SIP implementation I'll try to take a look soon, time permitting. I added Simon to the CC, hopefully he can give some pointers. Fwiw, I cannot reproduce the issue (on fedora 24) with the test-case code posted here, https://www.riverbankcomputing.com/pipermail/pyqt/2016-October/038212.html The test in the original comment does crash though (using python2) What versions does Fedora 24 use? python, sip, qt4, pyqt4, pykde $ rpm -q sip PyQt4 pykde4 qt python python3 sip-4.18-2.fc24.x86_64 PyQt4-4.11.4-14.fc24.x86_64 pykde4-4.14.3-12.fc24.x86_64 qt-4.8.7-18.fc24.x86_64 python-2.7.12-6.fc24.x86_64 python3-3.5.2-3.fc24.x86_64 On Kubuntu 16.10, the python3 script still exhibits this bug. python-kde 4.14.12 and 4.14.13 are identical. python-sip 4.18.1+dfsg-1 python-qt4 4.11.4+dfsg-2 python-kde4 4.14.2-0ubuntu6 libqtg4 4.8.7+dfsg-7ubuntu1 python 2.7.12-3build1 python 3.5.2-6 One thing I make sure to do in fedora, is that all sip-related bindings packages were rebuilt against sip-4.18 Hrm, I did test with sip-4.18, not 4.18.1 as you did, I wonder if that makes a difference Hello, unfortunately this bug is being closed as unmaintained, per request of einar77. |