Bug 487124 - Unhandled instruction bytes amd64 CentOS 7
Summary: Unhandled instruction bytes amd64 CentOS 7
Status: RESOLVED DUPLICATE of bug 383010
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: 3.23.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-16 23:16 UTC by Ferenc Lengyel
Modified: 2024-05-17 10:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferenc Lengyel 2024-05-16 23:16:44 UTC
SUMMARY
Unhandled instruction bytes amd64 CentOS 7

valgrind exits saying "Illegal instruction" and the log file contains the following:

vex amd64->IR: unhandled instruction bytes: 0x62 0xF1 0x6D 0x48 0xEF 0xD2 0xC5 0xFB 0x10 0x44
vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==308== valgrind: Unrecognised instruction at address 0x1079664e.
==308==    at 0x1079664E: MPL_wtime_init (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libmpi.so.12.1.11)
==308==    by 0x105DD469: MPIR_Init_thread (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libmpi.so.12.1.11)
==308==    by 0x105DDA00: PMPI_Init_thread (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libmpi.so.12.1.11)
==308==    by 0x6DEA320: PetscInitialize.part.2 (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libpetsc.so.3.16.5)
==308==    by 0x6DEA577: PetscInitializeNoArguments (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libpetsc.so.3.16.5)
==308==    by 0x4110F0: dream_initialize(int*, char***) (Init.cpp:18)
==308==    by 0x4110D1: dream_initialize() (Init.cpp:14)
==308==    by 0x40AB0F: main (Main.cpp:174)
...
==308== Process terminating with default action of signal 4 (SIGILL)
==308==  Illegal opcode at address 0x1079664E
==308==    at 0x1079664E: MPL_wtime_init (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libmpi.so.12.1.11)
==308==    by 0x105DD469: MPIR_Init_thread (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libmpi.so.12.1.11)
==308==    by 0x105DDA00: PMPI_Init_thread (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libmpi.so.12.1.11)
==308==    by 0x6DEA320: PetscInitialize.part.2 (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libpetsc.so.3.16.5)
==308==    by 0x6DEA577: PetscInitializeNoArguments (in /gss_efgw_work/work/g2fleng/petsc/linux-c-opt/lib/libpetsc.so.3.16.5)
==308==    by 0x4110F0: dream_initialize(int*, char***) (Init.cpp:18)
==308==    by 0x4110D1: dream_initialize() (Init.cpp:14)
==308==    by 0x40AB0F: main (Main.cpp:174)
==308== 
==308== HEAP SUMMARY:
==308==     in use at exit: 596,839 bytes in 3,826 blocks
==308==   total heap usage: 3,841 allocs, 15 frees, 632,975 bytes allocated
==308== 
==308== LEAK SUMMARY:
==308==    definitely lost: 0 bytes in 0 blocks
==308==    indirectly lost: 0 bytes in 0 blocks
==308==      possibly lost: 0 bytes in 0 blocks
==308==    still reachable: 596,839 bytes in 3,826 blocks
==308==         suppressed: 0 bytes in 0 blocks


SOFTWARE/OS VERSIONS
CentOS Linux 7.4.1708


ADDITIONAL INFORMATION
CPU information

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                48
On-line CPU(s) list:   0-47
Thread(s) per core:    1
Core(s) per socket:    24
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Platinum 8160 CPU @ 2.10GHz
Stepping:              4
CPU MHz:               1500.023
CPU max MHz:           3700.0000
CPU min MHz:           1000.0000
BogoMIPS:              4200.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              33792K
NUMA node0 CPU(s):     0-23
NUMA node1 CPU(s):     24-47
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 pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req
Comment 1 Paul Floyd 2024-05-17 04:59:06 UTC
I believe that this is vpxord which is avx512.

*** This bug has been marked as a duplicate of bug 383010 ***