https://bugs.kde.org/show_bug.cgi?id=461855

            Bug ID: 461855
           Summary: (wine xsavec64) vex amd64->IR: unhandled instruction
                    bytes: 0x48 0xF 0xC7 0xA1 0xC0 0x0 0x0 0x0 0x48 0xF
    Classification: Developer tools
           Product: valgrind
           Version: 3.19.0
          Platform: PCLinuxOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: jrei...@bitwagon.com
  Target Milestone: ---

Created attachment 153757
  --> https://bugs.kde.org/attachment.cgi?id=153757&action=edit
Hacked and reduced test case based on wine/dlls/ntdll/unix/signal_x86_64.c

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Valgrind complains "unhandled instruction bytes" when running wine (the
environment for running Microsoft Windows apps on Linux).

STEPS TO REPRODUCE
1. gcc -c wine_syscall_dispatcher.S   ## attached; simplified and hacked from
wine/dlls/ntdll/unix/signal_x86_64.c
2. ld wine_syscall_dispatcher.o   ## totally bare executable
3. valgrind ./a.out   ## valgrind-3.19.0

OBSERVED RESULT
vex amd64->IR: unhandled instruction bytes: 0x48 0xF 0xC7 0xA1 0xC0 0x0 0x0 0x0
0x48 0xF
vex amd64->IR:   REX=1 REX.W=1 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==345631== valgrind: Unrecognised instruction at address 0x4010ce.

EXPECTED RESULT
No complaint about unhandled instruction "xsavec64 0xc0(%rcx)"

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Wine source:    url = git://source.winehq.org/git/wine.git
commit a8c1d5c108fc57e4d78e9db126f395c89083a83d (HEAD -> master, origin/master,
origin/HEAD)
Date:   Mon Nov 14 10:57:50 2022 -0600

Based on mailing list message "Re: [Valgrind-developers] valgrind: Unrecognised
instruction error" from mahin.pan...@actian.com; posted Tue, 1 Nov 2022
10:31:05 +0000

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to