[Python-modules-team] Bug#811368: Illegal instruction on MIPS

Ole Streicher olebole at debian.org
Mon Jan 18 11:19:04 UTC 2016


Package: python-scipy
Version: 0.16.1-1
Severity: important

On MIPS, scipy stops with an illegal instruction when running the
build time tests for python-astropy , causing an FTBFS there [1].
I could trace this down to the "cephes_igam" function. The Bug is
reproducible by issuing the gammaincinv function:

$ python
Python 2.7.11 (default, Jan 11 2016, 21:04:40) 
[GCC 5.3.1 20160101] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.special import gammaincinv
>>> gammaincinv(2,0.5)
Illegal instruction (core dumped)

Looking into the core dump, I got

Program terminated with signal SIGILL, Illegal instruction.
#0  0x7424ffd4 in cephes_igam ()
   from /usr/lib/python2.7/dist-packages/scipy/special/_ufuncs.mips-linux-gnu.so
(gdb) where
#0  0x7424ffd4 in cephes_igam ()
   from /usr/lib/python2.7/dist-packages/scipy/special/_ufuncs.mips-linux-gnu.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Best regards

Ole


[1] https://buildd.debian.org/status/fetch.php?pkg=python-astropy&arch=mips&ver=1.1.1-2&stamp=1452829633



More information about the Python-modules-team mailing list