Your message dated Thu, 14 Jun 2012 09:02:16 +0000
with message-id <e1sf5ww-0004mi...@franck.debian.org>
and subject line Bug#676885: fixed in atlas 3.8.4-7
has caused the Debian Bug report #676885,
regarding libatlas3-base: Illegal instruction in dgetrf
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
676885: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676885
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libatlas3-base
Version: 3.8.4-6
Severity: grave
Justification: renders package unusable
I have a Core2 machine that doesn't have the latest FMA4 instructions. My
understanding that the libatlas3-base package from unstable shouldn't be doing
anything fancy and potentially cpu-specific unless the user rebuilds this
package themselves. I have the following trivial program:
#include <stdio.h>
int dgetrf_(int *m, int *n, double *a, int *lda, int *ipiv, int *info);
int main(void)
{
int three = 3;
int ipiv[3];
int info;
double A[9] = {1,2,5,2,3,4,5,4,3};
dgetrf_(&three, &three, A, &three,
ipiv, &info);
printf("info: %d\n", info);
return 0;
}
Session that shows the issue, with some useful diagnostics:
dima@shorty:/tmp$ gcc-4.7 -llapack -o tst tst.c
dima@shorty:/tmp$ ./tst
zsh: illegal hardware instruction (core dumped) ./tst
dima@shorty:/tmp$ ldd tst
linux-vdso.so.1 => (0x00007fff3bbff000)
liblapack.so.3 => /usr/lib/liblapack.so.3 (0x00007f3ff4f8e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3ff4c07000)
libblas.so.3 => /usr/lib/libblas.so.3 (0x00007f3ff453d000)
libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3
(0x00007f3ff4227000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f3ff4011000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f3ff3df4000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3ff3b72000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3ff5caf000)
libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0
(0x00007f3ff393d000)
dima@shorty:/tmp$ update-alternatives --display liblapack.so.3
liblapack.so.3 - auto mode
link currently points to /usr/lib/atlas-base/atlas/liblapack.so.3
/usr/lib/atlas-base/atlas/liblapack.so.3 - priority 35
slave liblapack.so.3gf: /usr/lib/atlas-base/atlas/liblapack.so.3
/usr/lib/lapack/liblapack.so.3 - priority 10
slave liblapack.so.3gf: /usr/lib/lapack/liblapack.so.3
Current 'best' version is '/usr/lib/atlas-base/atlas/liblapack.so.3'.
dima@shorty:/tmp$ dpkg -S /usr/lib/atlas-base/atlas/liblapack.so.3
libatlas3-base: /usr/lib/atlas-base/atlas/liblapack.so.3
dima@shorty:/tmp$ dpkg -l libatlas3-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=======================-=======================-==============================================================
ii libatlas3-base 3.8.4-6 Automatically Tuned Linear
Algebra Software, generic shared
dima@shorty:/tmp$ gdb tst core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/tst...(no debugging symbols found)...done.
[New LWP 30474]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./tst'.
Program terminated with signal 4, Illegal instruction.
#0 0x00007fa03d281bb7 in ATL_dgetrfC () from /usr/lib/liblapack.so.3
(gdb) disass
Dump of assembler code for function ATL_dgetrfC:
0x00007fa03d281950 <+0>: mov %rbx,-0x30(%rsp)
0x00007fa03d281955 <+5>: mov %rbp,-0x28(%rsp)
..........
0x00007fa03d281bb3 <+611>: lea (%r12,%rax,8),%rbx
=> 0x00007fa03d281bb7 <+615>: vmovsd (%rbx),%xmm1
0x00007fa03d281bbb <+619>: vucomisd 0x996ced(%rip),%xmm1 #
0x7fa03dc188b0
0x00007fa03d281bc3 <+627>: mov 0x38(%rsp),%r10d
..........
dima@shorty:/tmp$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
stepping : 6
cpu MHz : 2167.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips : 4322.43
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages libatlas3-base depends on:
ii libc6 2.13-33
ii libgcc1 1:4.7.0-12
ii libgfortran3 4.7.0-12
libatlas3-base recommends no packages.
Versions of packages libatlas3-base suggests:
ii liblapack3 3.4.1-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: atlas
Source-Version: 3.8.4-7
We believe that the bug you reported is fixed in the latest version of
atlas, which is due to be installed in the Debian FTP archive:
atlas_3.8.4-7.debian.tar.gz
to main/a/atlas/atlas_3.8.4-7.debian.tar.gz
atlas_3.8.4-7.dsc
to main/a/atlas/atlas_3.8.4-7.dsc
libatlas-base-dev_3.8.4-7_amd64.deb
to main/a/atlas/libatlas-base-dev_3.8.4-7_amd64.deb
libatlas-dev_3.8.4-7_all.deb
to main/a/atlas/libatlas-dev_3.8.4-7_all.deb
libatlas-doc_3.8.4-7_all.deb
to main/a/atlas/libatlas-doc_3.8.4-7_all.deb
libatlas-test_3.8.4-7_amd64.deb
to main/a/atlas/libatlas-test_3.8.4-7_amd64.deb
libatlas3-base_3.8.4-7_amd64.deb
to main/a/atlas/libatlas3-base_3.8.4-7_amd64.deb
libatlas3gf-base_3.8.4-7_amd64.deb
to main/a/atlas/libatlas3gf-base_3.8.4-7_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 676...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien.ville...@ens.fr> (supplier of updated atlas
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 13 Jun 2012 16:33:20 +0200
Source: atlas
Binary: libatlas3-base libatlas3gf-base libatlas-base-dev libatlas-dev
libatlas-test libatlas-doc
Architecture: source all amd64
Version: 3.8.4-7
Distribution: unstable
Urgency: low
Maintainer: Debian Science Team
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien.ville...@ens.fr>
Description:
libatlas-base-dev - Automatically Tuned Linear Algebra Software, generic static
libatlas-dev - Automatically Tuned Linear Algebra Software, C header files
libatlas-doc - Automatically Tuned Linear Algebra Software, documentation
libatlas-test - Automatically Tuned Linear Algebra Software, test programs
libatlas3-base - Automatically Tuned Linear Algebra Software, generic shared
libatlas3gf-base - Transitional package to libatlas3-base
Closes: 676885
Changes:
atlas (3.8.4-7) unstable; urgency=low
.
* Force generic x86 CPU when building a non-custom package on an x86 arch
(Closes: #676885)
* Force 2 threads when not building a custom package (as was the case up
to and including 3.8.3-30)
* Fix detection of some Intel Core i1 CPUs (corei1.diff)
Checksums-Sha1:
1b8410e10f9b028718d050639344604a45fc1e09 1727 atlas_3.8.4-7.dsc
25e525ba00ac8c299da5bef6211275c12ba92230 32866 atlas_3.8.4-7.debian.tar.gz
f6b9ecaae0c0186ee53acfb56726a45cacf61000 43378 libatlas-dev_3.8.4-7_all.deb
803b8d060f8750c368bf91d7c8b69f6f6fbc02c5 1142228 libatlas-doc_3.8.4-7_all.deb
3d1be4b205c4f46af13ed7cf8a568eb094bdac84 7127734
libatlas3-base_3.8.4-7_amd64.deb
6847d14f7991ac70650d004b30d4b3771d8202f6 33540
libatlas3gf-base_3.8.4-7_amd64.deb
141c6b7c920580e49d8eea5cdcb83628a62f6f09 8461186
libatlas-base-dev_3.8.4-7_amd64.deb
0eb415f2f4a76e01133153630512807f6cf57309 13905168
libatlas-test_3.8.4-7_amd64.deb
Checksums-Sha256:
5bd4f93f03afbf2653ccfa79147e3ddeaec5ba1f1f292a15ee5545bd1860b35c 1727
atlas_3.8.4-7.dsc
7524875a6fb2f2b579dff7600a629d265c9fc5979e8998e08f96fddfbd6b6506 32866
atlas_3.8.4-7.debian.tar.gz
89cf39cb4158b321ee84b88613e4b3f098237c1cd91e5f8a8a33640565b080c3 43378
libatlas-dev_3.8.4-7_all.deb
71c4c656db8238f21e547bfd4e143e2cfb9eb801987029c804c268d880af8ae2 1142228
libatlas-doc_3.8.4-7_all.deb
65bf3015017f45217899bbb1d62ee3cd2fec1289f1f7052b82cbe934e39f742c 7127734
libatlas3-base_3.8.4-7_amd64.deb
82ccb65010fa1d671f62dba03eb1ef59cf643bf69afcd77988ebc2550d987b2c 33540
libatlas3gf-base_3.8.4-7_amd64.deb
d249fe2538ae42ca9d3ee3deaf377025acda7b351fcb313ef1ff5511ac9e6c06 8461186
libatlas-base-dev_3.8.4-7_amd64.deb
c87922cefde1ffad2f670d907893ebf212403f694016c25fa8fbfac9d99d1358 13905168
libatlas-test_3.8.4-7_amd64.deb
Files:
e908cfdb82f6f8614ef50057b551104e 1727 devel optional atlas_3.8.4-7.dsc
6de99eb4526a99b0fa3e36989afbb052 32866 devel optional
atlas_3.8.4-7.debian.tar.gz
e7d5e7adc4f91a7e4c8612cf81ea0583 43378 libdevel optional
libatlas-dev_3.8.4-7_all.deb
cf4e6228a8fc0cc4b99cb598079ba81a 1142228 doc optional
libatlas-doc_3.8.4-7_all.deb
83ba19a626e5b566872d50f18f450ce3 7127734 libs optional
libatlas3-base_3.8.4-7_amd64.deb
8e3052a22e36aaee1664f14608b63921 33540 libs optional
libatlas3gf-base_3.8.4-7_amd64.deb
d6d6d82d7d0b5dbb330034030ab30b5a 8461186 libdevel optional
libatlas-base-dev_3.8.4-7_amd64.deb
8793163810e2f0dc0a4dc21fb31d01c8 13905168 devel optional
libatlas-test_3.8.4-7_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk/ZmBMACgkQiOXXM92JlhBlGgCgsALTWByBtAAdzTvOD+Xd1aqD
vb0An1YdBCBIq3mOAY++/Q0ZAd7VfCZU
=yttn
-----END PGP SIGNATURE-----
--- End Message ---