Segmentation fault on amd64 in glutInitDisplayMode()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyOpenGL |
Unknown
|
Unknown
|
|||
pyopengl (Debian) |
New
|
Unknown
|
|||
pyopengl (Ubuntu) |
Triaged
|
Low
|
Srijan Tiwari |
Bug Description
Here is an example
cheetah:
Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenGL.GL import *
>>> from OpenGL.GLU import *
>>> from OpenGL.GLUT import *
>>> glutInit([''])
['']
>>> glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB)
Segmentation fault
This is with Version: 3.0.0~b1-0ubuntu4 of python-opengl.
There is a similar bug reported upstream:
http://
Seems like several other distributions are affected. All of them are 64-bit. Yet, one of the posters (mcfletch) reports things as working, so it may be that either pyopengl or one of dependencies are not up-to-date.
My ubuntu version:
cheetah:
Description: Ubuntu 8.04.1
Release: 8.04
Changed in pyopengl: | |
status: | Incomplete → New |
Changed in pyopengl: | |
status: | Incomplete → Confirmed |
Changed in pyopengl: | |
status: | Unknown → New |
Changed in pyopengl (Ubuntu): | |
assignee: | nobody → Srijan Tiwari (srijantiwari1) |
Can you test with the Intrepid version? This is version 3.0.0~b3.
I've been able to run successfully your example, without segfault, on an amd64: fabrice- desktop: ~/temp/ PyOpenGL- Demo-3. 0.0b6/PyOpenGL- Demo$ python
fabrice@
Python 2.5.2 (r252:60911, Oct 5 2008, 19:29:17)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenGL.GL import *
>>> from OpenGL.GLU import *
>>> from OpenGL.GLUT import *
>>> glutInit([''])
['']
>>> glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB)
>>>