[Python-Dev] python2.1.1 SEGV in GC on Solaris 2.7

Barry A. Warsaw barry@zope.com
Thu, 18 Oct 2001 11:25:56 -0400


    NS> The ob_type pointer must be getting cleared after the object
    NS> has been added to the GC lists.  The PyObject_IS_GC call in
    NS> _PyGC_Insert would have segfaulted otherwise.  Knowing the
    NS> type of the object would be helpful in debugging the problem.
    NS> I suggest reconsidering Martin's printf idea.  You could add
    NS> something like this to _PyGC_Insert:

Do you know about _PyObject_Dump() and _PyGC_Dump()?  See also
Misc/gdbinit.

-Barry