Bug 465176 - disInstr(thumb): unhandled instruction: 0xF2AD 0x0440
Summary: disInstr(thumb): unhandled instruction: 0xF2AD 0x0440
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.20.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-02 14:40 UTC by Fred M
Modified: 2023-05-03 14:28 UTC (History)
0 users

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 Fred M 2023-02-02 14:40:24 UTC
SUMMARY
***
disInstr(thumb): unhandled instruction: 0xF2AD 0x0440
==4476== valgrind: Unrecognised instruction at address 0xa8a2a49.
==4476==    at 0xA8A2A48: ???
==4476== Your program just tried to execute an instruction that Valgrind
==4476== did not recognise.  There are two possible reasons for this.
==4476== 1. Your program has a bug and erroneously jumped to a non-code
==4476==    location.  If you are running Memcheck and you just saw a
==4476==    warning about a bad jump, it's probably your program's fault.
==4476== 2. The instruction is legitimate but Valgrind doesn't handle it,
==4476==    i.e. it's Valgrind's fault.  If you think this is the case or
==4476==    you are not sure, please let us know and we'll try to fix it.
==4476== Either way, Valgrind will now raise a SIGILL signal which will
==4476== probably kill your program.
==4476== 
==4476== Process terminating with default action of signal 4 (SIGILL)
==4476==  Illegal opcode at address 0xA8A2A49
==4476==    at 0xA8A2A48: ???
==4476== (action on fatal signal) vgdb me ... 

***


STEPS TO REPRODUCE
Hello, I am running a webkit for wayland on architecture ARM 32 bits with libc-2.24 / GCC 6.3
this message appears: disInstr(thumb): unhandled instruction: 0xF2AD 0x0440  and valgrind stops 

Is there anything I could add to help for the issue? 
If you have patches, I am ready to test.

SOFTWARE/OS VERSIONS
Linux :  kernel 4.9 embedded system
Comment 1 Fred M 2023-02-02 15:15:40 UTC
reproduced also with the current valgrind git master
Comment 2 Fred M 2023-05-03 14:28:14 UTC
note to myself:  linked to webkit, to workaround this issue, I can do : 
    JavaScriptCoreUseJIT=0 JSC_useFTLJIT=0 valgrind  WPE_XXXXX