Problems with C API

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Mar 9 10:48:39 EST 2001


David OGwynn <dog at ERC.MsState.Edu> writes:

> Everything works fine. But, when I try to run the exact same code
> through a script file (or through pdb) it segfaults on me. I'm
> totally lost. I really need this functionality built into my Octree
> object, given the large (30M or more) size of the binary files...

My guess is that you made a refcounting error somewhere; this is the
most frequent bug in C modules. Try running Python in a C debugger and
see where it crashes.

Regards,
Martin




More information about the Python-list mailing list