Package: python3-numpy
Version: 1:2.4.6+ds-2
Severity: important
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: amd64

Found while trying to run binwalk on an AMD Athlon II X4 605e.

Reproducer
==========

$ python3.14 -c 'import numpy'
Illegal instruction        (core dumped) python3.14 -c 'import numpy'

$ python3.13 -c 'import numpy'
Illegal instruction        (core dumped) python3.13 -c 'import numpy'


dmesg
=====

[184905.408241] traps: python3.14[460732] trap invalid opcode ip:7f5053e2cf7f 
sp:7ffd9be970f0 error:0 in 
_multiarray_umath.cpython-314-x86_64-linux-gnu.so[2cf7f,7f5053e2a000+6f5000]
[184974.953226] traps: python3.13[460776] trap invalid opcode ip:7f8d88c2cf3f 
sp:7ffe523dd890 error:0 in 
_multiarray_umath.cpython-313-x86_64-linux-gnu.so[2cf3f,7f8d88c2a000+6f5000]


gdb for 3.14
============

#0  0x00007f5053e2cf7f in __static_initialization_and_destruction_0 () at 
../../../numpy/_core/src/multiarray/unique.cpp:527

⚠️ warning: 527 ../../../numpy/_core/src/multiarray/unique.cpp: No such file or 
directory
[Current thread is 1 (Thread 0x7f5054edf200 (LWP 460732))]
(gdb) disassemble 
Dump of assembler code for function __static_initialization_and_destruction_0():
Address range 0x7f5053e2cf20 to 0x7f5053e2d66f:
[...]
=> 0x00007f5053e2cf7f <+95>:    pinsrq $0x1,0x878eee(%rip),%xmm0        # 
0x7f50546a5e78


gdb for 3.13
============

#0  0x00007f8d88c2cf3f in __static_initialization_and_destruction_0 () at 
../../../numpy/_core/src/multiarray/unique.cpp:527

⚠️ warning: 527 ../../../numpy/_core/src/multiarray/unique.cpp: No such file or 
directory
[Current thread is 1 (Thread 0x7f8d89cce200 (LWP 460776))]
(gdb) disassemble
Dump of assembler code for function __static_initialization_and_destruction_0():
Address range 0x7f8d88c2cee0 to 0x7f8d88c2d62f:
[...]
=> 0x00007f8d88c2cf3f <+95>:    pinsrq $0x1,0x878f2e(%rip),%xmm0        # 
0x7f8d894a5e78



lspcu
=====

Architecture:                x86_64
  CPU op-mode(s):            32-bit, 64-bit
  Address sizes:             48 bits physical, 48 bits virtual
  Byte Order:                Little Endian
CPU(s):                      4
  On-line CPU(s) list:       0-3
Vendor ID:                   AuthenticAMD
  Model name:                AMD Athlon(tm) II X4 605e Processor
    CPU family:              16
    Model:                   5
    Thread(s) per core:      1
    Core(s) per socket:      4
    Socket(s):               1
    Stepping:                2
    Microcode version:       0x10000db
    CPU(s) scaling MHz:      35%
    CPU max MHz:             2300,0000
    CPU min MHz:             800,0000
    BogoMIPS:                4620,56
    Flags:                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt 
pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid 
extd_apicid pni monitor cx16 popcnt la
                             hf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv 
svm_lock nrip_save
Virtualization features:     
  Virtualization:            AMD-V
Caches (sum of all):         
  L1d:                       256 KiB (4 instances)
  L1i:                       256 KiB (4 instances)
  L2:                        2 MiB (4 instances)
NUMA:                        
  NUMA node(s):              1
  NUMA node0 CPU(s):         0-3
Vulnerabilities:             
  Gather data sampling:      Not affected
  Ghostwrite:                Not affected
  Indirect target selection: Not affected
  Itlb multihit:             Not affected
  L1tf:                      Not affected
  Mds:                       Not affected
  Meltdown:                  Not affected
  Mmio stale data:           Not affected
  Old microcode:             Not affected
  Reg file data sampling:    Not affected
  Retbleed:                  Not affected
  Spec rstack overflow:      Not affected
  Spec store bypass:         Not affected
  Spectre v1:                Mitigation; usercopy/swapgs barriers and __user 
pointer sanitization
  Spectre v2:                Mitigation; Retpolines; STIBP disabled; RSB 
filling; PBRSB-eIBRS Not affected; BHI Not affected
  Srbds:                     Not affected
  Tsa:                       Not affected
  Tsx async abort:           Not affected
  Vmscape:                   Not affected



-- System Information:
Debian Release: forky/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'testing'), (500, 'stable'), (400, 'unstable'), (100, 
'trixie-backports-staging'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-numpy depends on:
ii  dpkg                                   1.23.7
ii  libblas3 [libblas.so.3]                3.12.1-8
ii  libc6                                  2.42-17
ii  libgcc-s1                              16.1.0-2
ii  liblapack3 [liblapack.so.3]            3.12.1-8
ii  libopenblas0-pthread [liblapack.so.3]  0.3.33+ds-3
ii  libstdc++6                             16.1.0-2
ii  python3                                3.14.6-1
ii  python3-numpy-dev                      1:2.4.6+ds-2

python3-numpy recommends no packages.

Versions of packages python3-numpy suggests:
ii  gcc               4:15.2.0-5
pn  gfortran          <none>
pn  python-numpy-doc  <none>
pn  python3-dev       <none>
pn  python3-pytest    <none>

-- no debconf information

-- 
ceterum censeo microsoftem esse delendam.

Attachment: pgpTpVw273ZYL.pgp
Description: OpenPGP digital signature

Reply via email to