Mike C. Fletcher wrote:
>We could work around it by disabling GLUT error checking entirely, but that 
>seems a bit of a nuclear option, as it would >change the API. Instead I'm 
>thinking we'll disable error checking *just* for the GLUT functions commonly 
>called before >the GLUT context is created. I've checked in changes to bzr 
>head to implement this. Please do the following and report >whether the bug is 
>fixed for you:
>
>    bzr branch lp:pyopengl
>    # add pyopengl/OpenGL to your PYTHONPATH
>
>then run the test script.

I just tested this and it still results in the same backtrace as before
(I added pyopengl/OpenGL to Python path using "export PYTHONPATH=<path
to branch>/pyopengl/OpenGL" on terminal.).

Interestingly pyglet (http://www.pyglet.org/) gives the exact same
backtrace! I tested this importing (import hello_world) the Hello World!
example (http://www.pyglet.org/doc/programming_guide/hello_world.py)
from Pyglet documentation into my gdb Python session.

-- 
Segmentation fault on amd64 in glutInitDisplayMode()
https://bugs.launchpad.net/bugs/289925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to