[Pyrex] Pyrex 0.9: Compiled code produces segmentation fault

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Jan 28 02:33:25 CET 2004


Paul Prescod <paul at prescod.net>:

> It seems to me that by the time Python calls the iterator object's 
> tp_dealloc function, the object has already been freed.

This might not be what's really happening -- it might just
be a symptom of the heap having been corrupted by something
else.

When you're dealing with C, all you can *really* be sure
of from things like this is "something went wrong". :-(

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list