[Python-3000] ctype crashes
Jeremy Hylton
jeremy at alum.mit.edu
Wed Aug 29 18:49:08 CEST 2007
I'm seeing a bunch of C extensions crash on my box. I'm uncertain
about a few issues, but I think I'm running 32-bit binary on a 64-bit
linux box. The crash I see in ctypes is the following:
#0 0x080a483e in PyUnicodeUCS2_FromString (u=0x5 <Address 0x5 out of bounds>)
at ../Objects/unicodeobject.c:471
#1 0xf7cd4f8e in z_get (ptr=0x0, size=4)
at /usr/local/google/home/jhylton/python/py3k/Modules/_ctypes/cfield.c:1380
#2 0xf7ccdbb5 in Simple_get_value (self=0xf7ba8a04)
at /usr/local/google/home/jhylton/python/py3k/Modules/_ctypes/_ctypes.c:3976
#3 0x0807f218 in PyObject_GenericGetAttr (obj=0xf7ba8a04, name=0xf7e26ea0)
at ../Objects/object.c:1098
#4 0x080b63da in PyEval_EvalFrameEx (f=0x81ca8fc, throwflag=0)
at ../Python/ceval.c:1937
I'll look at this again sometime this afternoon, but I'm headed for lunch now.
Jeremy
More information about the Python-3000
mailing list