[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Python 2.5 segmentation faulting importing random

Bagpussnz

3/10/2008 2:00:00 AM

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.