Public bug reported:

With stock ATLAS, Python, numpy from natty on x86-32, I get the
following behavior when trying to solve this least-squares problem:
http://math.nist.gov/MatrixMarket/data/Harwell-Boeing/lsq/well1850.html

$ python -c 'import cPickle; import gzip; import numpy as np; x, y = 
cPickle.load(gzip.open("well1850.pickle.gz")); np.linalg.lstsq(x, y)'
Illegal instruction

(Note that while this matrix is sparse, I have it stored in a dense
numpy array. The file 'well1850.pickle.gz' is attached to make it easier
to reproduce.)

Expected behavior: I wouldn't think you should ever get a SIGILL from
BLAS, no matter what you do.

I can't seem to find any dbgsym packages for ATLAS, but gdb says:

(gdb) r
Starting program: /usr/bin/python -c import\ cPickle\;\ import\ gzip\;\ import\ 
numpy\ as\ np\;\ x,\ y\ =\ 
cPickle.load\(gzip.open\(\"well1850.pickle.gz\"\)\)\;\ np.linalg.lstsq\(x,\ y\)
[Thread debugging using libthread_db enabled]

Program received signal SIGILL, Illegal instruction.
0x00704e89 in ATL_dupMBmm0_4_0_b0 () from /usr/lib/libblas.so.3gf
(gdb) bt
#0  0x00704e89 in ATL_dupMBmm0_4_0_b0 () from /usr/lib/libblas.so.3gf
#1  0x000002c8 in ?? ()
#2  0x0087b4f8 in ?? () from /usr/lib/libblas.so.3gf
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libatlas3gf-base 3.8.3-29
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu May  5 17:05:48 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: atlas
UpgradeStatus: Upgraded to natty on 2011-05-05 (0 days ago)

** Affects: atlas (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-numpy (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/778217

Title:
  "illegal instruction" crash when solving least-squares problem

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to