I've been seeing this all over the internet and the mailing list for a
while but I haven't really seen a fix yet. I'm running Ubuntu Jaunty
and I have an AMD 9000 Radeon FireGL. I understand that Ubuntu Jaunty
and AMD chips are the biggest problems so I thought this might be
relevant. I get a segmentation fault after a call to window.Window()
and my backtrace is here.

#0  0xb7d13276 in glGetString () from /usr/lib/libGL.so
#1  0xb7d82107 in ffi_call_SYSV () at /build/buildd/python2.6-2.6.2/
Modules/_ctypes/libffi/src/x86/sysv.S:61
#2  0xb7d81f46 in ffi_call (cif=0x0, fn=0xb7d13270 <glGetString>,
rvalue=0x4, avalue=0xbf842430)
    at /build/buildd/python2.6-2.6.2/Modules/_ctypes/libffi/src/x86/
ffi.c:213
#3  0xb7d7c64a in _CallProc (pProc=0xb7d13270 <glGetString>,
argtuple=0x9cfcf6c, flags=<value optimized out>,
    argtypes=0xb79e702c, restype=0x9b96404, checker=0x0) at /build/
buildd/python2.6-2.6.2/Modules/_ctypes/callproc.c:815
#4  0xb7d73f49 in CFuncPtr_call (self=0xb79e577c, inargs=0x9cfcf6c,
kwds=0x0)
    at /build/buildd/python2.6-2.6.2/Modules/_ctypes/_ctypes.c:3857
#5  0x0806111a in PyObject_Call (func=0xb79e577c, arg=0x9cfcf6c,
kw=0x0) at ../Objects/abstract.c:2492
#6  0x080dcfea in PyEval_EvalFrameEx (f=0xa0dd124, throwflag=0) at ../
Python/ceval.c:3917
#7  0x080df587 in PyEval_EvalFrameEx (f=0xa0dce24, throwflag=0) at ../
Python/ceval.c:3792
#8  0x080df587 in PyEval_EvalFrameEx (f=0xa0dcb3c, throwflag=0) at ../
Python/ceval.c:3792
#9  0x080df587 in PyEval_EvalFrameEx (f=0xa0d5784, throwflag=0) at ../
Python/ceval.c:3792
#10 0x080df587 in PyEval_EvalFrameEx (f=0x9c36134, throwflag=0) at ../
Python/ceval.c:3792
#11 0x080e00b8 in PyEval_EvalCodeEx (co=0xb7e060f8,
globals=0xb7d2eb54, locals=0x0, args=0xb77e2598, argcount=1,
    kws=0x9c35720, kwcount=3, defs=0xb7881e90, defcount=12,
closure=0x0) at ../Python/ceval.c:2968
#12 0x081688c6 in function_call (func=0xb77d9ca4, arg=0xb77e258c,
kw=0x9d7e8ac) at ../Objects/funcobject.c:524
#13 0x0806111a in PyObject_Call (func=0xb77d9ca4, arg=0xb77e258c,
kw=0x9d7e8ac) at ../Objects/abstract.c:2492
#14 0x080db1cd in PyEval_EvalFrameEx (f=0x9ca0384, throwflag=0) at ../
Python/ceval.c:4005
#15 0x080e00b8 in PyEval_EvalCodeEx (co=0xb77e1e30,
globals=0xb787ca44, locals=0x0, args=0xb77e2558, argcount=1,
    kws=0x9c98d98, kwcount=3, defs=0x0, defcount=0, closure=0x0) at ../
Python/ceval.c:2968
#16 0x081688c6 in function_call (func=0x9d3d3e4, arg=0xb77e254c,
kw=0x9d7e824) at ../Objects/funcobject.c:524
#17 0x0806111a in PyObject_Call (func=0x9d3d3e4, arg=0xb77e254c,
kw=0x9d7e824) at ../Objects/abstract.c:2492
#18 0x0806801a in instancemethod_call (func=0x9d3d3e4, arg=0xb77e254c,
kw=0x9d7e824) at ../Objects/classobject.c:2579
#19 0x0806111a in PyObject_Call (func=0xb77cc6e4, arg=0xb7e1102c,
kw=0x9d7e824) at ../Objects/abstract.c:2492
#20 0x080b2c8e in slot_tp_init (self=0xb77e288c, args=0xb7e1102c,
kwds=0x9d7e824) at ../Objects/typeobject.c:5632
#21 0x080ab6c1 in type_call (type=0x9ca993c, args=0xb7e1102c,
kwds=0x9d7e824) at ../Objects/typeobject.c:745
#22 0x0806111a in PyObject_Call (func=0x9ca993c, arg=0xb7e1102c,
kw=0x9d7e824) at ../Objects/abstract.c:2492
#23 0x080dcfea in PyEval_EvalFrameEx (f=0x9d17304, throwflag=0) at ../
Python/ceval.c:3917
#24 0x080df587 in PyEval_EvalFrameEx (f=0x9b824e4, throwflag=0) at ../
Python/ceval.c:3792
#25 0x080e00b8 in PyEval_EvalCodeEx (co=0xb7d349b0,
globals=0xb7d2eb54, locals=0xb7d2eb54, args=0x0, argcount=0, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:
2968
#26 0x080e0217 in PyEval_EvalCode (co=0xb7d349b0, globals=0xb7d2eb54,
locals=0xb7d2eb54) at ../Python/ceval.c:522
#27 0x080f21a9 in PyImport_ExecCodeModuleEx (name=0xbf847237
"pyglet.window", co=0xb7d349b0,
    pathname=0xbf844127 "/var/lib/python-support/python2.6/pyglet/
window/__init__.pyc") at ../Python/import.c:680
#28 0x080f301d in load_source_module (name=0xbf847237
"pyglet.window",
    pathname=0xbf844127 "/var/lib/python-support/python2.6/pyglet/
window/__init__.pyc", fp=<value optimized out>)
    at ../Python/import.c:1016
#29 0x080f3827 in load_package (name=0xbf847237 "pyglet.window",
pathname=<value optimized out>) at ../Python/import.c:1072
#30 0x080f3e19 in import_submodule (mod=0xb7e11464, subname=0xbf84723e
"window", fullname=0xbf847237 "pyglet.window")
    at ../Python/import.c:2590
#31 0x080f40ba in load_next (mod=0xb7e11464, altmod=0xb7e11464,
p_name=<value optimized out>,
    buf=0xbf847237 "pyglet.window", p_buflen=0xbf847230) at ../Python/
import.c:2410
#32 0x080f46e0 in import_module_level (name=0x0, globals=<value
optimized out>, locals=<value optimized out>, fromlist=0x0,
    level=-1) at ../Python/import.c:2139
#33 0x080f4c52 in PyImport_ImportModuleLevel (name=0xb7e02a0c
"pyglet.window", globals=0x0, locals=0x0, fromlist=0x0,
    level=-1) at ../Python/import.c:2183
#34 0x080d8464 in builtin___import__ (self=0x0, args=0xb7dffccc,
kwds=0x0) at ../Python/bltinmodule.c:48
#35 0x080de562 in PyEval_EvalFrameEx (f=0x9b65424, throwflag=0) at ../
Python/ceval.c:3706
#36 0x080e00b8 in PyEval_EvalCodeEx (co=0xb7df7338,
globals=0xb7df879c, locals=0x0, args=0xb7dff2f8, argcount=2, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:
2968
#37 0x081687df in function_call (func=0xb7d2f144, arg=0xb7dff2ec,
kw=0x0) at ../Objects/funcobject.c:524
#38 0x0806111a in PyObject_Call (func=0xb7d2f144, arg=0xb7dff2ec,
kw=0x0) at ../Objects/abstract.c:2492
#39 0x0806801a in instancemethod_call (func=0xb7d2f144,
arg=0xb7dff2ec, kw=0x0) at ../Objects/classobject.c:2579
#40 0x08065b21 in PyObject_CallFunctionObjArgs (callable=0xb7de0fa4)
at ../Objects/abstract.c:2492
#41 0x080b0d44 in slot_tp_getattr_hook (self=0xb7e034ec,
name=0xb7dff1a0) at ../Objects/typeobject.c:5410
#42 0x080dccc6 in PyEval_EvalFrameEx (f=0x9b00ccc, throwflag=0) at ../
Python/ceval.c:2059
#43 0x080e00b8 in PyEval_EvalCodeEx (co=0xb7e3f608,
globals=0xb7e350b4, locals=0xb7e350b4, args=0x0, argcount=0, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:
2968
#44 0x080e0217 in PyEval_EvalCode (co=0xb7e3f608, globals=0xb7e350b4,
locals=0xb7e350b4) at ../Python/ceval.c:522
#45 0x080fe0e1 in PyRun_FileExFlags (fp=0x9b06fa8, filename=0xbf8497b7
"pyglet_example.py", start=257, globals=0xb7e350b4,
    locals=0xb7e350b4, closeit=1, flags=0xbf848dd8) at ../Python/
pythonrun.c:1335
#46 0x080fe43a in PyRun_SimpleFileExFlags (fp=0x9b06fa8,
filename=0xbf8497b7 "pyglet_example.py", closeit=1,
    flags=0xbf848dd8) at ../Python/pythonrun.c:931
#47 0x0805c882 in Py_Main (argc=1, argv=0xbf848ea4) at ../Modules/
main.c:599
#48 0x0805b972 in main (argc=Cannot access memory at address 0x0
) at ../Modules/python.c:23

Not sure how a call to glGetString() would cause this issue, but i'm
really really want to try pyglet, and i'm willing to try any sort of
work arounds, short of changing my video driver.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to