[Python-modules-team] Bug#671371: python3-pyqt4: Segfault for simpe canvas view program

Achim Gaedke Achim.Gaedke at vuw.ac.nz
Thu May 3 15:15:27 UTC 2012


Package: python3-pyqt4
Version: 4.9.1-2
Severity: normal

the example program fails with a segmentation fault, when the window is closed:

#python3 /usr/share/doc/python-qt4-doc/examples/graphicsview/anchorlayout.py 
Segmentation fault

A stripped down version comes to the same result:
(that's why it is probably not an error of the doc package)

# python3 canvas_test.py 
Segmentation fault

import sys
from PyQt4 import QtCore, QtGui
app = QtGui.QApplication(sys.argv)
scene = QtGui.QGraphicsScene()
scene.setSceneRect(0, 0, 800, 480)
view = QtGui.QGraphicsView(scene)
view.setRenderHints(QtGui.QPainter.Antialiasing)
view.show()
sys.exit(app.exec_())

(sorry for not appending more coredump and debug output... in the moment no good internet connection to download dbg packages.)

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_NZ.utf8, LC_CTYPE=en_NZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3-pyqt4 depends on:
ii  libc6                         2.13-30
ii  libgcc1                       1:4.7.0-3
ii  libqt4-dbus                   4:4.8.0-1
ii  libqt4-declarative            4:4.8.0-1
ii  libqt4-designer               4:4.8.0-1
ii  libqt4-help                   4:4.8.0-1
ii  libqt4-network                4:4.8.0-1
ii  libqt4-script                 4:4.8.0-1
ii  libqt4-scripttools            4:4.8.0-1
ii  libqt4-svg                    4:4.8.0-1
ii  libqt4-test                   4:4.8.0-1
ii  libqt4-xml                    4:4.8.0-1
ii  libqt4-xmlpatterns            4:4.8.0-1
ii  libqtassistantclient4         4.6.3-3
ii  libqtcore4                    4:4.8.0-1
ii  libqtgui4                     4:4.8.0-1
ii  libqtwebkit4                  2.2.0-3
ii  libstdc++6                    4.7.0-3
ii  python3                       3.2.3~rc1-2
ii  python3-sip [sip-py3api-8.1]  4.13.2-1

python3-pyqt4 recommends no packages.

Versions of packages python3-pyqt4 suggests:
pn  python3-pyqt4-dbg  <none>

-- no debconf information





More information about the Python-modules-team mailing list