Coredumps (Python 1.4)

Anton Graph aglyportREMOvethispart at
Fri Sep 6 00:21:03 EDT 2002

Skip Montanaro wrote:
>     Anton> ... I coredump on this line ever since I linked with Electric
>     Anton> Fence memory debugging lib. Any ideas why? 
> Not off the top of my head...
>     Anton> This is with Python 1.4 on SCO. Any know issues with memory
>     Anton> allocation there? I'm building 2.2 now, but it will take a while.
> Give up on 1.4.  It took me awhile (an hour or so) several months ago to get
> Python 2.1 (I think) to build on SCO.  You'll be better off solving 2.2
> build problems than struggling with what might be a bug in 1.4.

The problem was in my code. I've included a header before 
#include<Python.h> that had this define in it:

#define DEBUG(a) { fprintf(stderr,"DEBUG: %s",a); }

which caused the crashes, duh. Once I removed it my program stopped 
So, I'll keep 1.4 on SCO and simply wait for SCO to die off
instead of wasting my time trying to get 2.2 to build on SCO.

More information about the Python-list mailing list