python-opengl: OpenGL.Tk package segfaults at import

Bug #10667 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
pyopengl (Debian)
Fix Released
Unknown
pyopengl (Ubuntu)
Fix Released
High
Matthias Klose

Bug Description

Automatically imported from Debian bug report #282942 http://bugs.debian.org/282942

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #282942 http://bugs.debian.org/282942

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 24 Nov 2004 08:53:19 +0000
From: Jeff Epler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: python-opengl: OpenGL.Tk package segfaults at import

Package: python-opengl
Version: 2.0.1.08-5
Severity: grave
Tags: patch
Justification: renders package unusable

The OpenGL.Tk package in python-opengl segfaults at import.

The problem goes away when the following patch is applied, causing the
Togl extension to Tcl to build without the "stubs" mechanism:
------------------------------------------------------------------------
diff -ur PyOpenGL-2.0.1.09-orig/setup/togl_setup.py PyOpenGL-2.0.1.09/setup/togl_setup.py
--- PyOpenGL-2.0.1.09-orig/setup/togl_setup.py 2004-10-18 20:40:44.000000000 +0000
+++ PyOpenGL-2.0.1.09/setup/togl_setup.py 2004-11-24 08:39:17.000000000 +0000
@@ -200,8 +200,6 @@
    objects = self.compiler.compile (sources,
         output_dir=self.build_temp,
         macros=[
- ('USE_TCL_STUBS',1),
- ('USE_TK_STUBS',1),
         ],
         include_dirs=self.include_dirs,
         debug=self.debug,
------------------------------------------------------------------------
[Careful: the file has DOS-style line endings, and so the patch above
includes carriage return characters. I also just noticed that the patch
is against the wrong version of PyOpenGL, but the version of the file in
2.0.1.08 is essentially identical]

I can't tell whether this is really a tcl or tk packaging bug or a
PyOpenGL/Togl bug. Simple programs intended to test USE_TCL_STUBS
succeed, rather than segfaulting.

The same problem exists on at least Fedora Core 2 and Mandrake 10, and
has been reported upstream:
https://sourceforge.net/tracker/?func=detail&aid=1071058&group_id=5988&atid=105988

A project admin has followed-up by saying
> Date: 2004-11-22 09:55
> Sender: mcfletch
>
> Strangely, works OOTB on Gentoo AMD64 (or did last time I
> checked). What is going on with these consumer-oriented
> distributions lately? Seems like every time we turn around
> we've got another break on them. Sigh.

[Note: this system is a hard-drive install of BDI-46, a morphix-based CD
from the EMC project]
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-adeos
Locale: LANG=C, LC_CTYPE=C

Versions of packages python-opengl depends on:
ii python-numeric 23.6-2 Numerical (matrix-oriented) Mathem
ii python2.3-opengl 2.0.1.08-5 Python binding to OpenGL

-- no debconf information

Revision history for this message
In , Paul Brossier (piem) wrote : Fixed in NMU of pyopengl 2.0.1.08-5.1

tag 282942 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 28 Nov 2004 16:01:32 +0000
Source: pyopengl
Binary: python2.1-opengl python2.3-opengl python-opengl python2.2-opengl
Architecture: source i386 all
Version: 2.0.1.08-5.1
Distribution: unstable
Urgency: low
Maintainer: Jamie Wilkinson <email address hidden>
Changed-By: Paul Brossier <email address hidden>
Description:
 python-opengl - Python binding to OpenGL
 python2.1-opengl - Python binding to OpenGL
 python2.2-opengl - Python binding to OpenGL
 python2.3-opengl - Python binding to OpenGL
Closes: 282942
Changes:
 pyopengl (2.0.1.08-5.1) unstable; urgency=low
 .
   * NMU.
   * Removing USE_TCL_STUBS USE_TK_STUBS tests in togl_setup.py
     (closes: #282942).
Files:
 6e13bc390a5de2962fd7c8048a007b5a 944 python optional pyopengl_2.0.1.08-5.1.dsc
 ad9dfb463b645a373bced69c340b22a9 111853 python optional pyopengl_2.0.1.08-5.1.diff.gz
 000911483e112afbab7aaeed6fe457ff 84646 python optional python-opengl_2.0.1.08-5.1_all.deb
 2167ed1a773ad2901b72a022682d3727 2374580 python optional python2.1-opengl_2.0.1.08-5.1_i386.deb
 e1cde0db51fe7e5926a0e356c906dd40 2260920 python optional python2.2-opengl_2.0.1.08-5.1_i386.deb
 a2ab1fbe3f7143218ba9ebb26e807bac 2262646 python optional python2.3-opengl_2.0.1.08-5.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBqkCBK8hAFiBoeJURAtg1AKCG387ymhZ8aOK4PtVaEfFaqa4d1QCeLcGu
E2YhPkoJJqXo3K8ypwoyMP8=
=8rK3
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 28 Nov 2004 16:32:20 -0500
From: Paul Brossier <email address hidden>
To: <email address hidden>
Cc: Paul Brossier <email address hidden>, Jamie Wilkinson <email address hidden>
Subject: Fixed in NMU of pyopengl 2.0.1.08-5.1

tag 282942 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 28 Nov 2004 16:01:32 +0000
Source: pyopengl
Binary: python2.1-opengl python2.3-opengl python-opengl python2.2-opengl
Architecture: source i386 all
Version: 2.0.1.08-5.1
Distribution: unstable
Urgency: low
Maintainer: Jamie Wilkinson <email address hidden>
Changed-By: Paul Brossier <email address hidden>
Description:
 python-opengl - Python binding to OpenGL
 python2.1-opengl - Python binding to OpenGL
 python2.2-opengl - Python binding to OpenGL
 python2.3-opengl - Python binding to OpenGL
Closes: 282942
Changes:
 pyopengl (2.0.1.08-5.1) unstable; urgency=low
 .
   * NMU.
   * Removing USE_TCL_STUBS USE_TK_STUBS tests in togl_setup.py
     (closes: #282942).
Files:
 6e13bc390a5de2962fd7c8048a007b5a 944 python optional pyopengl_2.0.1.08-5.1.dsc
 ad9dfb463b645a373bced69c340b22a9 111853 python optional pyopengl_2.0.1.08-5.1.diff.gz
 000911483e112afbab7aaeed6fe457ff 84646 python optional python-opengl_2.0.1.08-5.1_all.deb
 2167ed1a773ad2901b72a022682d3727 2374580 python optional python2.1-opengl_2.0.1.08-5.1_i386.deb
 e1cde0db51fe7e5926a0e356c906dd40 2260920 python optional python2.2-opengl_2.0.1.08-5.1_i386.deb
 a2ab1fbe3f7143218ba9ebb26e807bac 2262646 python optional python2.3-opengl_2.0.1.08-5.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBqkCBK8hAFiBoeJURAtg1AKCG387ymhZ8aOK4PtVaEfFaqa4d1QCeLcGu
E2YhPkoJJqXo3K8ypwoyMP8=
=8rK3
-----END PGP SIGNATURE-----

Revision history for this message
Matthias Klose (doko) wrote :

fixed in imported version.

Revision history for this message
In , Jamie Wilkinson (jaq-spacepants) wrote : Bug#282942: fixed in pyopengl 2.0.1.09-1

Source: pyopengl
Source-Version: 2.0.1.09-1

We believe that the bug you reported is fixed in the latest version of
pyopengl, which is due to be installed in the Debian FTP archive:

pyopengl_2.0.1.09-1.diff.gz
  to pool/main/p/pyopengl/pyopengl_2.0.1.09-1.diff.gz
pyopengl_2.0.1.09-1.dsc
  to pool/main/p/pyopengl/pyopengl_2.0.1.09-1.dsc
pyopengl_2.0.1.09.orig.tar.gz
  to pool/main/p/pyopengl/pyopengl_2.0.1.09.orig.tar.gz
python-opengl_2.0.1.09-1_all.deb
  to pool/main/p/pyopengl/python-opengl_2.0.1.09-1_all.deb
python2.1-opengl_2.0.1.09-1_i386.deb
  to pool/main/p/pyopengl/python2.1-opengl_2.0.1.09-1_i386.deb
python2.2-opengl_2.0.1.09-1_i386.deb
  to pool/main/p/pyopengl/python2.2-opengl_2.0.1.09-1_i386.deb
python2.3-opengl_2.0.1.09-1_i386.deb
  to pool/main/p/pyopengl/python2.3-opengl_2.0.1.09-1_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jamie Wilkinson <email address hidden> (supplier of updated pyopengl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 24 Apr 2005 14:48:41 +1000
Source: pyopengl
Binary: python2.1-opengl python2.3-opengl python-opengl python2.2-opengl
Architecture: source i386 all
Version: 2.0.1.09-1
Distribution: unstable
Urgency: low
Maintainer: Jamie Wilkinson <email address hidden>
Changed-By: Jamie Wilkinson <email address hidden>
Description:
 python-opengl - Python binding to OpenGL
 python2.1-opengl - Python binding to OpenGL
 python2.2-opengl - Python binding to OpenGL
 python2.3-opengl - Python binding to OpenGL
Closes: 258480 282942
Changes:
 pyopengl (2.0.1.09-1) unstable; urgency=low
 .
   * New upstream release.
   * Acknowledge NMUs. (Closes: #282942, #258480)
   * Updated build dependencies for xlibmesa-dev split.
   * Cleaned out version control files from the diff.
   * Remove .cvsignore files from the packages.
Files:
 5790657f79de687f267a84ffc84fd1dd 972 python optional pyopengl_2.0.1.09-1.dsc
 505b5f28ea676194e2e10333c56d5936 2180479 python optional pyopengl_2.0.1.09.orig.tar.gz
 5d416dc37863b9beb0f3cf2f4052356a 81135 python optional pyopengl_2.0.1.09-1.diff.gz
 f901087fd4d3d5adfc3eb80b49af2709 85376 python optional python-opengl_2.0.1.09-1_all.deb
 d74d3c6250650ffd2581b46cd4015b10 2695794 python optional python2.1-opengl_2.0.1.09-1_i386.deb
 9bcb6c1922e7319c0bb5137fe3b515e5 2581978 python optional python2.2-opengl_2.0.1.09-1_i386.deb
 233f318cee55a92df2d6d1c9560d2a7f 2583300 python optional python2.3-opengl_2.0.1.09-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCa0Hk5u9oNyz9HDgRAmEpAKDHbvUD1xq/jyX/0aOkM9dk2ZljhACgoCIC
ePDzO5irot1uLZJ+1sXj0Mg=
=Vb7W
-----END PGP SIGNATURE-----

Changed in pyopengl:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.