[PyQt] Fwd: "pydoc3 PyQt4.QtCore" segfaults

Baz Walter bazwal at ftml.net
Tue Sep 30 19:06:53 BST 2014

On 30/09/14 06:20, Antony Lee wrote:
> Hi,
> I have observed that "pydoc3 PyQt4.QtCore" segfaults.  This is on Arch
> Linux with Python 3.4.1 and PyQt4 4.11.2 or 4.10.4 (both fail).
> Can anyone confirm the issue?  Is it known?

To rule out the possibility of issues with the Arch packages themselves, 
I rebuilt everything from source and can confirm the issue with the 
following versions:

     python 3.4.1, qt 4.8.6, sip 4.16.3, pyqt 4.11.2

For example:

Python 3.4.1 (default, Sep 30 2014, 17:10:21)
[GCC 4.9.1 20140903 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtGui
>>> help(QtGui.QWidget)
Segmentation fault (core dumped)

However, this test doesn't fail for me when using:

     python 3.4.1, qt 4.8.6, sip 4.16.2, pyqt 4.11.1

So it looks like there may be a problem with the sip python module.


For Arch users, you should be able to confirm this by temporarily 
downgrading the python-sip or python2-sip package, e.g.:

     sudo pacman -U python-sip-4.16.2-1-x86_64.pkg.tar.xz

Baz Walter

More information about the PyQt mailing list