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

2012-05-03 Thread Achim Gaedke
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-declarative4:4.8.0-1
ii  libqt4-designer   4:4.8.0-1
ii  libqt4-help   4:4.8.0-1
ii  libqt4-network4:4.8.0-1
ii  libqt4-script 4:4.8.0-1
ii  libqt4-scripttools4:4.8.0-1
ii  libqt4-svg4:4.8.0-1
ii  libqt4-test   4:4.8.0-1
ii  libqt4-xml4:4.8.0-1
ii  libqt4-xmlpatterns4:4.8.0-1
ii  libqtassistantclient4 4.6.3-3
ii  libqtcore44:4.8.0-1
ii  libqtgui4 4:4.8.0-1
ii  libqtwebkit4  2.2.0-3
ii  libstdc++64.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



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


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

2012-05-03 Thread Scott Kitterman
The examples are meant to be run from examples/demos/qtdemo/qtdemo.py.  It's 
not been ported to python3 yet, so there's not a good way to do this as 
provided from upstream.

If I run graphicsview/anchorlayout.py with python2.7 I also get a segmentation 
fault, so there is something worth looking into here.  I'm not sure if it's 
python/python3 or PyQt at fault though.

signature.asc
Description: This is a digitally signed message part.
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team