[Zope-Coders] Zope 2.5 instability problems

Guido van Rossum guido@python.org
Mon, 10 Dec 2001 13:28:55 -0500


> > Here's the top of one gdb 'bt':
> >
> > #0  0x400505bc in PyTuple_New () from /usr/lib/libpython2.1.so.0.0
> > #1  0x40050bfd in PyTuple_SetItem () from /usr/lib/libpython2.1.so.0.0
> > #2  0x40033b5d in PySequence_GetSlice () from usr/lib/libpython2.1.so.0.0
> > #3  0x4005cc8b in _PyBuiltin_Init () from /usr/lib/libpython2.1.so.0.0
> > ...
> 
> I'm afraid the traceback literally makes no sense:  PyTuple_SetItem never
> calls PyTuple_New, nor vice versa.  Ditto the other adjacent pairs.  The
> addresses may be correct, but the reported function names are wrong.

Good eye.  I think this happens when the only symtable info gdb can
see is the list of external names for the linker -- then it maps all
static functions to the nearest non-static function defined earlier in
memory. :-(

--Guido van Rossum (home page: http://www.python.org/~guido/)