Comment 8 for bug 408212

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

reassigning to python-opengl.

on amd64:

$ python crash_opengl.py
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
GLUT font error 'NoneType' object has no attribute '_handle'
Traceback (most recent call last):
  File "crash_opengl.py", line 4, in <module>
    glutInit([''])
  File "/usr/lib/pymodules/python2.6/OpenGL/GLUT/special.py", line 316, in glutInit
    _base_glutInit( ctypes.byref(count), holder )
TypeError: 'NoneType' object is not callable

on i386:
Program received signal SIGSEGV, Segmentation fault.
0x008cc216 in glGetError () from /usr/lib/libGL.so.1
(gdb) bt
#0 0x008cc216 in glGetError () from /usr/lib/libGL.so.1
#1 0x00edce7f in ffi_call_SYSV () at /build/buildd/python2.6-2.6.2/Modules/_ctypes/libffi/src/x86/sysv.S:61
#2 0x00edccac in ffi_call (cif=0xbfffea30, fn=0x8cc210 <glGetError>, rvalue=0xbfffe9c0, avalue=0xbfffe9a0)
    at /build/buildd/python2.6-2.6.2/Modules/_ctypes/libffi/src/x86/ffi.c:213
#3 0x00ed729d in _call_function_pointer (pProc=0x8cc210 <glGetError>, argtuple=0xb7fa902c, flags=<value optimized out>, argtypes=0x0,
    restype=0x833d084, checker=0x0) at /build/buildd/python2.6-2.6.2/Modules/_ctypes/callproc.c:815
#4 _CallProc (pProc=0x8cc210 <glGetError>, argtuple=0xb7fa902c, flags=<value optimized out>, argtypes=0x0, restype=0x833d084, checker=0x0)
    at /build/buildd/python2.6-2.6.2/Modules/_ctypes/callproc.c:1162