https://bugs.kde.org/show_bug.cgi?id=520856
Bug ID: 520856
Summary: unhandled instruction bytes: 0x2E 0xFF 0x14 0x85
Classification: Developer tools
Product: valgrind
Version First 3.27 GIT
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: memcheck
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I'm trying to run the native Linux client (32 bit ELF) of Neverwinter Nights,
an old game, under valgrind. It aborts with the error message:
vex x86->IR: unhandled instruction bytes: 0x2E 0xFF 0x14 0x85
==6084== valgrind: Unrecognised instruction at address 0x42f642c.
==6084== at 0x42F642C: ??? (in /home/alex/games/nwn/miles/libmss.so.6.5.2)
==6084== by 0x42CAA39: SS_merge__FP7_SAMPLEll (in
/home/alex/games/nwn/miles/libmss.so.6.5.2)
==6084== by 0x42CAC1A: SS_stream_to_buffer (in
/home/alex/games/nwn/miles/libmss.so.6.5.2)
==6084== by 0x42C2B15: SS_fill__FP11_DIG_DRIVERPv (in
/home/alex/games/nwn/miles/libmss.so.6.5.2)
==6084== by 0x42C30BB: SS_SDLAudioMix__FPvPUci (in
/home/alex/games/nwn/miles/libmss.so.6.5.2)
==6084== by 0x432F5C0: AudioCallbackWrapper (SDL12_compat.c:9878)
==6084== by 0x4EF469C: SDL2AudioDeviceCallbackBridge (sdl2_compat.c:7802)
==6084== by 0x4EF469C: SDL2AudioDeviceCallbackBridge (sdl2_compat.c:7781)
==6084== by 0x4F71885: SDL_GetAudioStreamDataAdjustGain
(SDL_audiocvt.c:1393)
==6084== by 0x4F65892: SDL_PlaybackAudioThreadIterate (SDL_audio.c:1203)
==6084== by 0x4F659BC: PlaybackAudioThread (SDL_audio.c:1318)
==6084== by 0x51406E0: SDL_RunThread (SDL_thread.c:344)
==6084== by 0x51406E0: RunThread.lto_priv.0 (SDL_systhread.c:73)
==6084== by 0x43DC752: start_thread (in /usr/lib/libc.so.6)
Running valgrind with -vgdb let me disassemble the offending instruction:
(gdb) disass 0x42f642c
[...]
0x042f6427 <+233>: mov %eax,0x43040bc
=> 0x042f642c <+238>: call *%cs:0x42f60ba(,%eax,4)
0x042f6434 <+246>: mov 0x8(%ebp),%ebx
[...]
OBSERVED RESULT
Valgrind aborts with "unhandled instruction" error message
EXPECTED RESULT
Valgrind handles the instruction
SOFTWARE/OS VERSIONS
kinfo output:
Operating System: openSUSE Tumbleweed 20260505
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 7.0.2-1-default (64-bit)
Graphics Platform: X11
Processors: 6 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 64 GiB of RAM (62.2 GiB usable)
Graphics Processor: AMD Radeon Graphics
--
You are receiving this mail because:
You are watching all bug changes.