[Python-Dev] python 2.5.3 segmentation fault with gcc 4.1.2

Stijn De Weirdt stijn.deweirdt at ugent.be
Sun Dec 21 17:35:38 CET 2008


hi all,

i'm trying to build python 2.5.3 on centos5.2 x86_64 (base gcc is
4.1.2) 

output of env, configure, make -j and make test at
http://users.ugent.be/~stdweird/python-gcc-seg.tar.gz


this all seems ok (at least to me ;)
but the following code gives a segfault instead of an IOerror
fname='test123'
f=open(fname,'w')
f.read()

(test123 doesn't exists. it is a reduced problem from a scipy unittest).

with system python (2.4.3) i get:
IOError: [Errno 9] Bad file descriptor

any hints what might cause this (or how i can figure it out). i have a
coredump, but have no clue what to look for.

many thanks,

stijn
-- 
The system will shutdown in 5 minutes.



More information about the Python-Dev mailing list