I am seeing the following erorr with valgrind.
This on a dual quad core 64 bit x86.
----------------------------------------------------------------------------------------------------------------
vex amd64->IR: unhandled instruction bytes: 0xFA 0x89 0xF8 0xF 0xA2 0xF
==12793== valgrind: Unrecognised instruction at address 0xc8eebdd.
==12793== Your program just tried to execute an instruction that Valgrind
==12793== did not recognise. There are two possible reasons for this.
==12793== 1. Your program has a bug and erroneously jumped to a non-code
==12793== location. If you are running Memcheck and you just saw a
==12793== warning about a bad jump, it's probably your program's fault.
==12793== 2. The instruction is legitimate but Valgrind doesn't handle it,
==12793== i.e. it's Valgrind's fault. If you think this is the case or
==12793== you are not sure, please let us know and we'll try to fix it.
==12793== Either way, Valgrind will now raise a SIGILL signal which will
==12793== probably kill your program.
==12793==
==12793== Process terminating with default action of signal 4 (SIGILL): dumping
core
==12793== Illegal opcode at address 0xC8EEBDD
==12793== at 0xC8EEBDD: cpu_calibrate (cpu-x86.h:61)
==12793== by 0xC6E0C44: Profiler::calibrateCpu() (profiler.cc:58)
==12793== by 0x544B6D2: AppInit_AppBase::init(int, char**)
(AppInit_AppBase.cpp:278)
==12793== by 0x403C40: main (main.cpp:52)
==12793==
----------------------------------------------------------------------------------------------------------------
Line 61 is asm volatile ("cli") in the following function:
static inline void __cpu_lock(void)
{
if (_cpu_caps & (1 << CPU_CAPS_IRQ_LOCK))
asm volatile ("cli");
}.
Is this a case of valgrind not handling this particular instruction? What are
the ways of getting around it?
Vikram
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users