[Bug 408212] Re: python2.6 crashed with SIGSEGV in glGetError()

Matthias Klose matthias.klose at canonical.com
Mon Sep 14 06:07:55 UTC 2009


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


** Package changed: python2.6 (Ubuntu) => pyopengl (Ubuntu)

** Changed in: pyopengl (Ubuntu)
       Status: New => Confirmed

-- 
python2.6 crashed with SIGSEGV in glGetError()
https://bugs.launchpad.net/bugs/408212
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list