Bug#690671: libatlas3-base: /usr/lib/atlas-base/atlas/libblas.so.3.0: Illegal instruction ATL_dJIK52x52x52TN52x52x0_a1_b1 on i686: Intel Core Duo
Control: tags -1 + moreinfo Le mardi 16 octobre 2012 à 04:48 -0500, Russell Haley a écrit : Package: libatlas3-base Version: 3.8.4-9 Severity: important Matrix multiplication fails with an illegal instruction for matricies larger than 51x51. The python script detect_cpu_extensions (http://projects.scipy.org/scipy/attachment/ticket/1170/detect_cpu_extensions) reports use of 3dnow, which my CPU does not support. ATLAS 3.10 has just been uploaded to unstable, and it is supposed to be much better at avoiding illegal instructions in the generic package. Can you please give it a try on the machine where you got the problem, and tell me whether this is now fixed? -- .''`.Sébastien Villemot : :' :Debian Developer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594 signature.asc Description: This is a digitally signed message part
Bug#690671: libatlas3-base: /usr/lib/atlas-base/atlas/libblas.so.3.0: Illegal instruction ATL_dJIK52x52x52TN52x52x0_a1_b1 on i686: Intel Core Duo
Russell Haley bog...@tamu.edu writes: Package: libatlas3-base Version: 3.8.4-9 Followup-For: Bug #690671 I would like to replicate your test environment. Your chroot is built with debootstrap, I presume? If there's any further information necessary to replicate, please provide it. I would also be testing with the Debian Sid provided kernel. I have also tried to replicate the crash using QEMU/KVM, by running your program in an environment with the worst possible CPU (486) and then with a CPU close to yours (Intel Core Duo). I could not replicate the crash in either case. For the moment I unfortunately have no clue about your problem. -- .''`.Sébastien Villemot : :' :Debian Developer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594 pgplF1Kr95qzw.pgp Description: PGP signature
Bug#690671: libatlas3-base: /usr/lib/atlas-base/atlas/libblas.so.3.0: Illegal instruction ATL_dJIK52x52x52TN52x52x0_a1_b1 on i686: Intel Core Duo
Package: libatlas3-base Version: 3.8.4-9 Followup-For: Bug #690671 I would like to replicate your test environment. Your chroot is built with debootstrap, I presume? If there's any further information necessary to replicate, please provide it. I would also be testing with the Debian Sid provided kernel. The problem did not occur with the package built from the apt-get source atlas sources with dpkg-buildpackage. detect_cpu_extensions reports mmx, sse, and sse2. The CPU on which this bug occurs is a Core Duo without AMD64 extensions. Thanks, Russell Haley -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#690671: libatlas3-base: /usr/lib/atlas-base/atlas/libblas.so.3.0: Illegal instruction ATL_dJIK52x52x52TN52x52x0_a1_b1 on i686: Intel Core Duo
Package: libatlas3-base Version: 3.8.4-9 Severity: important Dear Maintainer, Matrix multiplication fails with an illegal instruction for matricies larger than 51x51. The python script detect_cpu_extensions (http://projects.scipy.org/scipy/attachment/ticket/1170/detect_cpu_extensions) reports use of 3dnow, which my CPU does not support. See following simple program to replicate the problem, detect_cpu_extensions output, gdb output, and /proc/cpuinfo. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.6.2ghasthawk-custom-1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libatlas3-base depends on: ii libc6 2.13-35 ii libgcc1 1:4.7.2-4 ii libgfortran3 4.7.2-4 libatlas3-base recommends no packages. Versions of packages libatlas3-base suggests: ii liblapack3 3.4.1-6 -- no debconf information *** /tmp/octave-bench/blastest/blastest.c #includecblas.h #define N 52 int main() { double A[N*N],B[N*N],C[N*N]; cblas_dgemm(CblasColMajor,CblasNoTrans,CblasNoTrans,N,N,N,1.0,A,N,B,N,1.0,C,N); return 0; } *** /tmp/octave-bench/bugreport/cpu-extensions.txt /usr/lib/atlas-base/atlas/libblas.so.3: 3dnow mmx sse sse2 *** /tmp/octave-bench/bugreport/gdb.txt $ gdb ./blastest 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 i486-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /tmp/octave-bench/blastest/blastest...done. (gdb) run Starting program: /tmp/octave-bench/blastest/blastest [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/i386-linux-gnu/i686/cmov/libthread_db.so.1. Program received signal SIGILL, Illegal instruction. 0xb7d76fc9 in ATL_dJIK52x52x52TN52x52x0_a1_b1 () from /usr/lib/libblas.so.3 *** /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2050 @ 1.60GHz stepping: 8 microcode : 0x39 cpu MHz : 1600.000 cache size : 2048 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no 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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor est tm2 xtpr pdcm dtherm bogomips: 3193.02 clflush size: 64 cache_alignment : 64 address sizes : 32 bits physical, 32 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2050 @ 1.60GHz stepping: 8 microcode : 0x39 cpu MHz : 1600.000 cache size : 2048 KB physical id : 0 siblings: 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no 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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor est tm2 xtpr pdcm dtherm bogomips: 3193.02 clflush size: 64 cache_alignment : 64 address sizes : 32 bits physical, 32 bits virtual power management: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#690671: libatlas3-base: /usr/lib/atlas-base/atlas/libblas.so.3.0: Illegal instruction ATL_dJIK52x52x52TN52x52x0_a1_b1 on i686: Intel Core Duo
Russell Haley bog...@tamu.edu writes: Package: libatlas3-base Version: 3.8.4-9 Severity: important Matrix multiplication fails with an illegal instruction for matricies larger than 51x51. The python script detect_cpu_extensions (http://projects.scipy.org/scipy/attachment/ticket/1170/detect_cpu_extensions) reports use of 3dnow, which my CPU does not support. I tried to replicate your problem using an i386 chroot on an Intel Core Duo machine (a setup which is close to yours), and I don't get a crash (even though my CPU does not have 3dnow either). The fact that the ATLAS binary contains 3dnow instructions (as well as other specific extensions) is not per se a problem: the binary incorporates several kernels for different CPUs, and the selection is done at runtime. Your crash probably indicates a bug in the selection process for your specific CPU, but this needs to be investigated more. -- .''`.Sébastien Villemot : :' :Debian Developer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594 pgpk37iyF8tYR.pgp Description: PGP signature