[PyQt] regression with sip 4.18 in kubuntu 16.10

Wolfgang Rohdewald wolfgang.kde at rohdewald.de
Mon Oct 17 12:10:36 BST 2016


Am Montag, 17. Oktober 2016, 12:44:59 CEST schrieb Wolfgang Rohdewald:
> Am Montag, 17. Oktober 2016, 11:22:11 CEST schrieb Phil Thompson:
> > On 17 Oct 2016, at 9:59 am, Wolfgang Rohdewald
> > <wolfgang.kde at rohdewald.de>
> wrote:
> > > I have not been able to reduce it to qt4-only,
> > 
> > Can you provide examples that don't rely on PyKDE?
> > 
> > Phil
> 
> No, sorry.

but I do have some valgrind output, and I also opened
a KDE bug: https://bugs.kde.org/show_bug.cgi?id=370998

==18549== Memcheck, a memory error detector
==18549== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==18549== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright 
info
==18549== Command: python2 bug2.py

...

==18549== Jump to the invalid address stated on the next line
==18549==    at 0x0: ???
==18549==    by 0x65AF1C9: sip_api_get_cpp_ptr (in /usr/lib/python2.7/dist-
packages/sip.x86_64-linux-gnu.so)
==18549==    by 0x65B51AF: ??? (in /usr/lib/python2.7/dist-packages/
sip.x86_64-linux-gnu.so)
==18549==    by 0x6986FA2: ??? (in /usr/lib/python2.7/dist-packages/PyQt4/
QtCore.x86_64-linux-gnu.so)
==18549==    by 0x1EE20B: _PyObject_GenericGetAttrWithDict (in /usr/bin/
python2.7)
==18549==    by 0x2A1C8D: ??? (in /usr/bin/python2.7)
==18549==    by 0x202787: PyEval_EvalFrameEx (in /usr/bin/python2.7)
==18549==    by 0x200B84: PyEval_EvalCodeEx (in /usr/bin/python2.7)
==18549==    by 0x200928: PyEval_EvalCode (in /usr/bin/python2.7)
==18549==    by 0x23004E: ??? (in /usr/bin/python2.7)
==18549==    by 0x22AB71: PyRun_FileExFlags (in /usr/bin/python2.7)
==18549==    by 0x2292FD: PyRun_SimpleFileExFlags (in /usr/bin/python2.7)
==18549==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==18549==    
==18549==    
==18549== Process terminating with default action of signal 11 (SIGSEGV): 
dumping core
==18549==  Bad permissions for mapped region at address 0x0
==18549==    at 0x0: ???
==18549==    by 0x65AF1C9: sip_api_get_cpp_ptr (in /usr/lib/python2.7/dist-
packages/sip.x86_64-linux-gnu.so)
==18549==    by 0x65B51AF: ??? (in /usr/lib/python2.7/dist-packages/
sip.x86_64-linux-gnu.so)
==18549==    by 0x6986FA2: ??? (in /usr/lib/python2.7/dist-packages/PyQt4/
QtCore.x86_64-linux-gnu.so)
==18549==    by 0x1EE20B: _PyObject_GenericGetAttrWithDict (in /usr/bin/
python2.7)
==18549==    by 0x2A1C8D: ??? (in /usr/bin/python2.7)
==18549==    by 0x202787: PyEval_EvalFrameEx (in /usr/bin/python2.7)
==18549==    by 0x200B84: PyEval_EvalCodeEx (in /usr/bin/python2.7)
==18549==    by 0x200928: PyEval_EvalCode (in /usr/bin/python2.7)
==18549==    by 0x23004E: ??? (in /usr/bin/python2.7)
==18549==    by 0x22AB71: PyRun_FileExFlags (in /usr/bin/python2.7)
==18549==    by 0x2292FD: PyRun_SimpleFileExFlags (in /usr/bin/python2.7)
~                                                                           

--
Wolfgang


More information about the PyQt mailing list