Yes, making the code look like this, completely resolves this
segmentation fault problem:

        GLUT.glutInit(sys.argv)
        GLUT.glutCreateWindow('foobar') # required to be a line before 
glutInitDisplay
        GLUT.glutInitDisplayMode(GLUT.GLUT_RGBA | GLUT.GLUT_DOUBLE)

(thanks to: http://henryestaescrevendo.blogspot.com/2009/03/pyopengl-
segmentation-fault.html and a ~gibbsrc comment above)

Sorry for the big number of comments

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to