Bug 384808 - disInstr(arm): unhandled instruction: 0xEF9F0002(svc #0x9f0002,sys_cacheflush for ARM Linux)
Summary: disInstr(arm): unhandled instruction: 0xEF9F0002(svc #0x9f0002,sys_cacheflush...
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.12.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-18 08:15 UTC by mingming lee
Modified: 2017-09-18 08:17 UTC (History)
1 user (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 mingming lee 2017-09-18 08:15:58 UTC
In our linux system, after we start our program with valgrind,it will be fail.
The reason is  instruction 0xEF9F0002(svc #0x9f0002) whichi is the sys_cacheflush for ARM Linux) Unrecognised. And I have been check the code instruction is really "svc #0x9f0002".The main log is as bellow:
(170918_11:50:46.092)[JVM][Pre Mem]CDCA VM allocated memory success, size = 18567168
(170918_11:50:46.092)disInstr(arm): unhandled instruction: 0xEF9F0002
(170918_11:50:46.092)                 cond=14(0xE) 27:20=249(0xF9) 4:4=0 3:0=2(0x2)
(170918_11:50:46.092)==132== valgrind: Unrecognised instruction at address 0x4ecbfb8.
(170918_11:50:46.092)==132==    at 0x4ECBFB8: CVMflushCache (flushcache_arch.S:65)
(170918_11:50:46.092)==132== Your program just tried to execute an instruction that Valgrind
(170918_11:50:46.092)==132== did not recognise.  There are two possible reasons for this.
(170918_11:50:46.092)==132== 1. Your program has a bug and erroneously jumped to a non-code
(170918_11:50:46.170)you just saw a
(170918_11:50:46.170)==132==    warning about a bad jump, it's probably your program's fault.
(170918_11:50:46.170)==132== 2. The instruction is legitimate but Valgrind doesn't handle it,
(170918_11:50:46.170)==132==    i.e. it's Valgrind's fault.  If you think this is the case or
(170918_11:50:46.170)==132==    you are not sure, please let us know and we'll try to fix it.
(170918_11:50:46.170)==132== Either way, Valgrind will now raise a SIGILL signal which will
(170918_11:50:46.170)==132== probably kill your program.

Looking forward to your help.