#0 0x0032d1e6 in glGetError () from /usr/lib/libGL.so.1 #1 0x00b67e7f in ffi_call_SYSV () at /build/buildd/python2.6-2.6.2/Modules/_ctypes/libffi/src/x86/sysv.S:61 No locals. #2 0x00b67cac in ffi_call (cif=0xbfc16fe0, fn=0x32d1e0 , rvalue=0xbfc16f70, avalue=0xbfc16f50) at /build/buildd/python2.6-2.6.2/Modules/_ctypes/libffi/src/x86/ffi.c:213 ecif = {cif = 0xbfc16fe0, rvalue = 0xbfc16f70, avalue = 0xbfc16f60} #3 0x00b6229d in _call_function_pointer (pProc=0x32d1e0 , argtuple=0xb804902c, flags=, argtypes=0x0, restype=0x94e94b4, checker=0x0) at /build/buildd/python2.6-2.6.2/Modules/_ctypes/callproc.c:815 error_object = 0x0 _save = 0x9442050 space = cif = {abi = FFI_SYSV, nargs = 0, arg_types = 0xbfc16f50, rtype = 0xb8059f54, bytes = 0, flags = 1} #4 _CallProc (pProc=0x32d1e0 , argtuple=0xb804902c, flags=, argtypes=0x0, restype=0x94e94b4, checker=0x0) at /build/buildd/python2.6-2.6.2/Modules/_ctypes/callproc.c:1162 i = argcount = argtype_count = 155459664 resbuf = 0xbfc16f70 pa = 0xbfc16f70 atypes = 0x9442050 rtype = 0x0 avalues = 0xbfc16f60 retval = #5 0x00b5a082 in CFuncPtr_call (self=0xb7ed391c, inargs=0xb804902c, kwds=0x0) at /build/buildd/python2.6-2.6.2/Modules/_ctypes/_ctypes.c:3857 restype = 0x94e94b4 converters = 0x0 checker = 0x0 argtypes = dict = 0xb7f8fdfc result = callargs = 0xb804902c errcheck = 0x0 pProc = 0x32d1e0 inoutmask = 0 outmask = 0 numretvals = 0 #6 0x080611ca in PyObject_Call (func=0xb7ed391c, arg=0xb804902c, kw=0x0) at ../Objects/abstract.c:2492 result = 0x0 call = 0xb59f90 #7 0x080db7ee in do_call (f=0x97c5d2c, throwflag=0) at ../Python/ceval.c:3924 callargs = 0xb804902c kwdict = 0x0 #8 call_function (f=0x97c5d2c, throwflag=0) at ../Python/ceval.c:3729 func = 0xb7ed391c w = nk = 0 n = -1207660500 pfunc = 0x97c5e7c #9 PyEval_EvalFrameEx (f=0x97c5d2c, throwflag=0) at ../Python/ceval.c:2389 sp = 0x97c5e80 stack_pointer = next_instr = 0x950999d "}\5" opcode = oparg = why = 3085777180 err = x = v = w = u = t = stream = freevars = 0x97c5e7c retval = 0x0 tstate = 0x9442050 co = 0x95214a0 instr_ub = -1 instr_lb = 0 instr_prev = first_instr = 0x9509994 "|" names = 0x952208c consts = 0x9520af4 #10 0x080dd992 in PyEval_EvalCodeEx (co=0x95214a0, globals=0x9513b54, locals=0x0, args=0xb803ce70, argcount=4, kws=0x0, kwcount=0, defs=0x9522618, defcount=2, closure=0x0) at ../Python/ceval.c:2968 f = 0x97c5d2c retval = freevars = 0x97c5e7c tstate = 0x9442050 x = u = #11 0x0815fa7c in function_call (func=0x951b64c, arg=0xb803ce64, kw=0x0) at ../Objects/funcobject.c:524 result = argdefs = d = 0x9522618 nk = nd = 2 #12 0x080611ca in PyObject_Call (func=0x951b64c, arg=0xb803ce64, kw=0x0) at ../Objects/abstract.c:2492 result = 0x3 call = 0x815f9e0 #13 0x0806844c in instancemethod_call (func=0xb7ee7504, arg=0xb803ce64, kw=0x0) at ../Objects/classobject.c:2579 self = 0x95226cc klass = 0x3 result = #14 0x08062537 in PyObject_Call (func=, arg=, kw=, func=, arg=, kw=) at ../Objects/abstract.c:2492 result = 0xb7ee7504 call = 0x80682f0 #15 0x0806456e in PyObject_CallFunctionObjArgs (callable=0xb7ee7504) at ../Objects/abstract.c:2723 args = 0x977f644 tmp = #16 0x00b5a0b9 in CFuncPtr_call (self=0x9799574, inargs=0xb808354c, kwds=0x0) at /build/buildd/python2.6-2.6.2/Modules/_ctypes/_ctypes.c:3869 v = restype = 0x8245f58 converters = checker = 0x0 argtypes = dict = 0x951eb8c result = callargs = 0xb808354c errcheck = 0xb7ee7504 pProc = 0x406f00 inoutmask = 0 outmask = 0 numretvals = 0 #17 0x080611ca in PyObject_Call (func=0x9799574, arg=0xb808354c, kw=0x0) at ../Objects/abstract.c:2492 result = 0x0 call = 0xb59f90 #18 0x080db7ee in do_call (f=0x94a6a9c, throwflag=0) at ../Python/ceval.c:3924 callargs = 0xb808354c kwdict = 0x0 #19 call_function (f=0x94a6a9c, throwflag=0) at ../Python/ceval.c:3729 func = 0x9799574 w = nk = 0 n = -1207421620 pfunc = 0x94a6bd4 #20 PyEval_EvalFrameEx (f=0x94a6a9c, throwflag=0) at ../Python/ceval.c:2389 sp = 0x94a6bd8 stack_pointer = next_instr = 0xb8068365 "\1e\b" opcode = oparg = why = 158963060 err = x = v = w = u = t = stream = freevars = 0x94a6bd4 retval = 0x0 tstate = 0x9442050 co = 0xb8021e30 instr_ub = -1 instr_lb = 0 instr_prev = first_instr = 0xb806832c "d" names = 0xb806bc34 consts = 0xb802de9c #21 0x080dd992 in PyEval_EvalCodeEx (co=0xb8021e30, globals=0xb807b1c4, locals=0xb807b1c4, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2968 f = 0xbfc179bc retval = freevars = 0x94a6bd4 tstate = 0x9442050 x = u = #22 0x080dda97 in PyEval_EvalCode (co=0xb8021e30, globals=0xb807b1c4, locals=0xb807b1c4) at ../Python/ceval.c:522 No locals. #23 0x080fa52f in run_mod (fp=0x9461510, filename=0xbfc186c7 "opengl-text.py", start=257, globals=0xb807b1c4, locals=0xb807b1c4, closeit=1, flags=0xbfc179bc) at ../Python/pythonrun.c:1335 co = 0xb8021e30 #24 PyRun_FileExFlags (fp=0x9461510, filename=0xbfc186c7 "opengl-text.py", start=257, globals=0xb807b1c4, locals=0xb807b1c4, closeit=1, flags=0xbfc179bc) at ../Python/pythonrun.c:1321 ret = mod = arena = 0x948bad0 #25 0x080fa722 in PyRun_SimpleFileExFlags (fp=0x9461510, filename=0xbfc186c7 "opengl-text.py", closeit=1, flags=0xbfc179bc) at ../Python/pythonrun.c:931 m = d = 0xb807b1c4 v = ext = set_file_name = 1 ret = #26 0x0805c898 in Py_Main (argc=2, argv=0xbfc17a84) at ../Modules/main.c:599 c = sts = 0 command = 0x0 filename = 0xbfc16f60 "\237\16%" module = 0x0 fp = 0x9461510 p = unbuffered = 1 skipfirstline = 0 stdin_is_interactive = 1 help = -1077836089 version = 1 saw_unbuffered_flag = 1 cf = {cf_flags = 0} #27 0x0805baab in main (argc=2, argv=0xbfc17a84) at ../Modules/python.c:23 No locals.