> I'm running on two different machines:
> 
> 1) MacBook Pro / Intel i7 / OS X 10.7.4 / Xcode 4.3.1 (which uses
> LLVM/CLANG)
> 2) iMac / Intel Core 2 Duo / OS X 10.6.8 / Xcode 3.2 (which uses GCC)
> 
> I'm running valgrind-3.8.0.SVN that I built locally.
> 
> I get different results on each machine.

Please read [Valgrind-users] from about a week ago; the thread:
  Poster: Tanmay Mohapatra <tanma...@hotmail.com>
  Subject: Strange warning for invalid read of size 8 in memcpy

Xcode 3.2 has some strange memcpy which triggers a complaint from memcheck.
So far, we have not been unable to get a disassembly.  Can you post the code
that surrounds the actual instruction which draws the complaint?
Something like the output from
   (gdb) x/50i 0x7FFFFFE00BAC - 0x40
if the pc *at* the complaint was 0x7FFFFFE00BAC ?

Xcode 3.2 also evades valgrind's REDIR machinery.  Run with "valgrind -v"
and notice how REDIR works in XCode 4.3.y (I have 4.3.2 under Darwin 11.4.0)
but not in XCode 3.2.

When --trace-syscalls=yes, then the important pieces are:

1) the 20 intercepts which surround (10 before, 10 after):
       UNKNOWN __pthread_sigmask is unsupported. This warning will not be 
repeated.

2) the 20 intercepts just prior to:
       vex amd64->IR: unhandled instruction bytes: 0xF 0xB 0x55 0x48 0x89 0xE5 
0x41 0x56

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to