[snake-farm] Re: [Python-Dev] Snake farm
Guido van Rossum
guido@python.org
Mon, 11 Nov 2002 09:38:20 -0500
> > So it looks like PyOblect_Free() was called with 0x800 as an argument,
> > which is a bogus pointer value. Can you go up one stack level and see
> > what the value of k in function_call() is?
> 713 if (ADDRESS_IN_RANGE(p, pool->arenaindex)) {
> (gdb) up
> #1 0x080dfef4 in function_call (func=0x826317c, arg=0x8256aac,
> kw=0x8269bdc) at Objects/funcobject.c:481
> 481 PyMem_DEL(k);
> (gdb) p k
> $1 = (struct _object **) 0x800
Well, then maybe you can follow MvL's suggestion and find out how come
this value was returned by PyMem_NEW(PyObject *, 2*nk)???
--Guido van Rossum (home page: http://www.python.org/~guido/)