I can confirm this bug still exists with the latest version of PyOpenGL from their bzr site:
>>> import OpenGL >>> print OpenGL.__version__ 3.0.0b6 >>> >>> from OpenGL import GLUT >>> GLUT.glutInitDisplayMode(GLUT.GLUT_RGBA | GLUT.GLUT_DOUBLE) Segmentation fault with the following backtrace Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7ebe6c0 (LWP 7060)] 0xb7c9c196 in glGetError () from /usr/lib/libGL.so.1 (gdb) backtrace #0 0xb7c9c196 in glGetError () from /usr/lib/libGL.so.1 #1 0xb7d06107 in ffi_call_SYSV () from /usr/lib/python2.6/lib-dynload/_ctypes.so #2 0xb7d05f46 in ffi_call () from /usr/lib/python2.6/lib-dynload/_ctypes.so #3 0xb7d0064a in _CallProc () from /usr/lib/python2.6/lib-dynload/_ctypes.so #4 0xb7cf7f49 in ?? () from /usr/lib/python2.6/lib-dynload/_ctypes.so #5 0x0806111a in PyObject_Call () #6 0x080dcfea in PyEval_EvalFrameEx () #7 0x080e00b8 in PyEval_EvalCodeEx () #8 0x081687df in ?? () #9 0x0806111a in PyObject_Call () #10 0x0806801a in ?? () #11 0x08065b21 in PyObject_CallFunctionObjArgs () #12 0xb7cf7f83 in ?? () from /usr/lib/python2.6/lib-dynload/_ctypes.so #13 0x0806111a in PyObject_Call () #14 0x080dcfea in PyEval_EvalFrameEx () #15 0x080e00b8 in PyEval_EvalCodeEx () #16 0x080e0217 in PyEval_EvalCode () #17 0x080fdc45 in PyRun_InteractiveOneFlags () #18 0x080fded8 in PyRun_InteractiveLoopFlags () #19 0x080fe716 in PyRun_AnyFileExFlags () #20 0x0805c882 in Py_Main () #21 0x0805b972 in main () After I disable error checking it works fine. -- 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
