[Python-modules-team] Bug#480296: Bug#480296: python-qt4-gl: Python scripts using this module segfault on exit

Sandro Tosi matrixhasu at gmail.com
Mon May 19 19:13:25 UTC 2008


Hi Sven,

On Fri, May 9, 2008 at 1:54 PM, Sven Marnach <sven at pantoffel-wg.de> wrote:
> Package: python-qt4-gl
> Version: 4.3.3-2
> Severity: normal
>
> Here's a simple example:
>
> sven at bagheera:~> cat test.py
> from PyQt4 import QtOpenGL
> print "Imported QtOpenGL"
> sven at bagheera:~> python test.py
> Imported QtOpenGL
> Segmentation fault
>
> I don't know who to blame for the segfault.  It doesn't hurt much
> anyway since it doesn't segfault until the script exits.

Here what happens here, with an up-to-date sid:

$ cat test.py
from PyQt4 import QtOpenGL
print "Imported QtOpenGL"
$ python2.4 test.py ; echo $?
Imported QtOpenGL
0
$ python2.5 test.py ; echo $?
Imported QtOpenGL
0

May you please try to update the system and try again? Depends info here are:

ii  libc6                         2.7-11     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.0-4  GCC support library
ii  libgl1-mesa-glx [libgl1]      7.0.3-1    A free implementation of the OpenG
ii  libglu1-mesa [libglu1]        7.0.3-1    The OpenGL utility library (GLU)
ii  libqt4-opengl                 4.4.0-2    Qt 4 OpenGL module
ii  libqtcore4                    4.4.0-2    Qt 4 core module
ii  libqtgui4                     4.4.0-2    Qt 4 GUI module
ii  libstdc++6                    4.3.0-4    The GNU Standard C++ Library v3
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-opengl                 3.0.0~b1-2 Python bindings to OpenGL
ii  python-qt4                    4.3.3-4    Python bindings for Qt4

but I think python-ctypes can count a little (4.3.3-4 version is
obtained from Debian Python Modules Team SVN repo).

Regards,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Python-modules-team mailing list