Python 2.5 segmentation faulting importing random

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bagpussnz

    Python 2.5 segmentation faulting importing random

    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)<m odule>()
    -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.
Working...