Python 2.5 segmentation faulting importing random
Bagpussnz
bagpussnz at gmail.com
Sun Mar 9 22:00:26 EDT 2008
Hi,
Whenever I try to import random in a python module, I get a
segmentation fault.
I've traced it using,
import pdb
pdb.set_trace()
import random
When it gets to..
> /usr/lib/python2.5/random.py(57)<module>()
-> LOG4 = _log(4.0)
It seg faults.
I'm running on OpenSuse 10.2.
Linux devhost 2.6.18.8-0.7-bigsmp #1 SMP Tue Oct 2 17:21:08 UTC 2007
i686 i686 i386 GNU/Linux
The python header says..
Python 2.5 (r25:51908, May 25 2007, 16:14:04)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
Any ideas?
Regards,
Ian.
More information about the Python-list
mailing list