Bug#676885: [libatlas3-base] Also breaks python-numpy and python-matplotlib if installed
Dietrich Brunn
Dietrich.Brunn at web.de
Mon Jun 11 19:05:43 UTC 2012
Package: libatlas3-base
Version: 3.8.4-6
--- Please enter the report below this line. ---
Hi,
I have the same problem: If installed, it also breaks python-numpy and python-matplotlib.
Doing
gdb --args /usr/bin/python -c "import numpy as np; A = np.ones((10,10)); B=np.dot(A,A)"
gives:
Starting program: /usr/bin/python -c import\ numpy\ as\ np\;\ A\ =\ np.ones\(\(10,10\)\)\;\ B=np.dot\(A,A\)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00007ffff5b642b8 in cblas_dgemm () from /usr/lib/libblas.so.3gf
#0 0x00007ffff5b642b8 in cblas_dgemm () from /usr/lib/libblas.so.3gf
#1 0x00007ffff5dc7bc0 in dotblas_matrixproduct (__NPY_UNUSED_TAGGEDdummy=<optimized out>,
args=<optimized out>, kwargs=<optimized out>) at numpy/core/blasdot/_dotblas.c:798
#2 0x00000000004eaa3b in PyEval_EvalFrameEx ()
#3 0x00000000004f1db0 in PyEval_EvalCodeEx ()
#4 0x00000000004ea6f6 in PyRun_StringFlags ()
#5 0x00000000004f3089 in PyRun_SimpleStringFlags ()
#6 0x00000000004da1a4 in Py_Main ()
#7 0x00007ffff6976ead in __libc_start_main (main=<optimized out>, argc=<optimized out>,
ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=
0x7fffffffe278) at libc-start.c:228
#8 0x000000000041e131 in _start ()
Dump of assembler code for function cblas_dgemm:
0x00007ffff5b64280 <+0>: mov %rbx,-0x30(%rsp)
0x00007ffff5b64285 <+5>: mov %rbp,-0x28(%rsp)
0x00007ffff5b6428a <+10>: mov %r12,-0x20(%rsp)
0x00007ffff5b6428f <+15>: mov %r13,-0x18(%rsp)
0x00007ffff5b64294 <+20>: mov %r14,-0x10(%rsp)
0x00007ffff5b64299 <+25>: mov %r15,-0x8(%rsp)
0x00007ffff5b6429e <+30>: sub $0x88,%rsp
0x00007ffff5b642a5 <+37>: mov %edi,%ebx
0x00007ffff5b642a7 <+39>: mov %esi,0x1c(%rsp)
0x00007ffff5b642ab <+43>: mov %edx,0x20(%rsp)
0x00007ffff5b642af <+47>: mov %ecx,%r12d
0x00007ffff5b642b2 <+50>: mov %r8d,%ebp
0x00007ffff5b642b5 <+53>: mov %r9d,%r13d
=> 0x00007ffff5b642b8 <+56>: vmovsd %xmm0,0x48(%rsp)
0x00007ffff5b642be <+62>: mov 0x90(%rsp),%rax
0x00007ffff5b642c6 <+70>: mov %rax,0x28(%rsp)
0x00007ffff5b642cb <+75>: mov 0x98(%rsp),%r14d
My machine (cat /proc/cpuinfo):
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
stepping : 2
microcode : 0xc
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 4788.79
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Cheers, dietrich
--- System information. ---
Architecture: amd64
Kernel: Linux 3.2.0-2-amd64
Debian Release: wheezy/sid
500 unstable ftp.de.debian.org
500 testing ftp.de.debian.org
500 stable repository.spotify.com
1 experimental ftp.de.debian.org
--- Package information. ---
Depends (Version) | Installed
=============================-+-=============
libc6 (>= 2.3.2) | 2.13-33
libgcc1 (>= 1:4.1.1) | 1:4.7.0-12
libgfortran3 (>= 4.6) | 4.7.0-12
Package's Recommends field is empty.
Suggests (Version) | Installed
=========================-+-===========
liblapack3 | 3.4.1-1
More information about the debian-science-maintainers
mailing list