[ZODB-Dev] Latest news: core dump with small change to POSException.py

Jeremy Hylton jeremy@zope.com
Tue, 25 Sep 2001 17:56:21 -0400 (EDT)


One more piece of information would be helpful. That gdb stack trace
isn't all that helpful by itself.  Can you get the following
information out of the local variables:

  for PyEval_EvalCodeEx grab the co->co_name value (*)
  for eval_frame grab the f->f_lineno value

That information for the top frame or two may help.

In the mean time, I'll try to reproduce the error.  May not get to it
until tomorrow.

Jeremy

* The co_name value is a PyStringObject so you need to do some ugly
  casts to get the successive values of ob_sval.  Probably something
  like: print ((PyStringObject *)co->co_name)->ob_sval[0]