On Sun, 27 Mar 2011 19:07:08 -0400 (EDT) "David E. Cross" <cro...@cs.rpi.edu> wrote: > Trying to compile and install Python 2.7 on irix 6.5.22 IP22 (N32 ABI > model), Using gcc-4.5.1 and binutils 2.20.1. Everything goes well (I > applied th patches listed at: > http://bugs.python.org/file15915/python-2.7-irix.patch ) > > It compiles and the test mostly work except for the callback ctypes > (libffi) test where it segfaults on a pyDECREFF. Digging in, the O_get > call is returning a NULL pointer (and pyDECREF is understandably choking > on that). > > Since I am very new to python, I am at a bit of a loss to tracing the C > code back through this particulat section of code to see why the PyOBJECT > isn't being assigned here. Any help would be welomed.
One thing you might find useful is to instrument gdb to display more information about Python objects (the opaque PyObject pointers). See: http://docs.python.org/devguide/gdb.html Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com