2.0*4 ==> Bus error on IRIX 6.5

Steve ROBBINS stever at bic.mni.mcgill.ca
Wed Apr 17 09:59:49 EDT 2002


Hello,

I just built python 2.1.3 on an IRIX 6.5 machine (Origin 200) using MIPSpro
compilers (Version 7.30) and the test suite fails.

It turns out that multiplying a float by an integer causes a
bus error:

  $ ./python
  Python 2.1.3 (#2, Apr 17 2002, 09:37:30) [C] on irix646
  Type "copyright", "credits" or "license" for more information.
  >>> 2.0*4 
  Bus error (core dumped)


[Oddly, it works if you multiply two floats or two integers]

>From the core dump, I see that the fault happens here:

  #0  0x1004fd7c in float_mul () at floatobject.c:382
  382             CONVERT_TO_DOUBLE(v, a);


I looked on the python.org web pages, FAQs, etc and didn't
find any similar problem reported.  I couldn't find the way to
search the python bug tracker, so I had a quick look at the
summary lines.  There was one about alignment that caught my eye
(#472568) but the workaround suggested there does not ameliorate
the situation.

Help?






More information about the Python-list mailing list