Thanks for your reply.  It sounds like this is an issue that others are
experiencing as well (per the email from Nikolas Zimmerman).  It seems to
work better with Xcode 3.2, but since WebKit has moved to Xcode 4.x, I
think we'll need to use that in order to setup some performance bots.


Here is some additional output that contains the intercepts before/after
the error messages I'm seeing - maybe it will help.  I'm still concerned
that since the WebKit test runner is crashing, the output from that point
forward may be affected.


16:07:41.586 22660
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) UNHANDLED mach_msg [id
10002, to com.apple.CoreServices.coreservicesd, reply 0xa203] --> [async]
...
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.586 22660   --22708:0:syswrap-   added region
0x0000000000..0x0000001000 at mach_msg_receive (unhandled) (after)
16:07:41.586 22660
16:07:41.586 22660   SYSCALL[22708,1](mach: 31)
bootstrap_look_up("com.apple.system.logger") --> [async] ...
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) got port unnamed-0xC403;
16:07:41.586 22660   com.apple.system.logger
16:07:41.586 22660   SYSCALL[22708,1](unix: 24) sys_getuid ( )[sync] -->
Success(0x0:0x1f5)
16:07:41.586 22660   SYSCALL[22708,1](unix: 47) sys_getgid ( )[sync] -->
Success(0x0:0x14)
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) UNHANDLED mach_msg [id
78945670, to com.apple.system.notification_center, reply 0xa203] -->
[async] ...
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.586 22660
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) UNHANDLED mach_msg [id
78945669, to com.apple.system.notification_center, reply 0xa203] -->
[async] ...
16:07:41.586 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.586 22660
16:07:41.586 22660   SYSCALL[22708,1](unix: 25) sys_geteuid ( )[sync] -->
Success(0x0:0x1f5)
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) UNHANDLED mach_msg [id
78945669, to com.apple.system.notification_center, reply 0xa203] -->
[async] ...
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.587 22660
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) UNHANDLED mach_msg [id
78945681, to com.apple.system.notification_center, reply 0xa203] -->
[async] ...
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.587 22660
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) UNHANDLED mach_msg [id
78945681, to com.apple.system.notification_center, reply 0xa203] -->
[async] ...
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.587 22660
16:07:41.587 22660   SYSCALL[22708,1](unix:202) __sysctl ( 0x7fff5fbf92f8,
2, 0x7fff5fbf930f, 0x7fff5fbf92f0, 0x0, 0 ) mib: [ 1 10 ][sync] -->
Success(0x0:0x0)
16:07:41.587 22660   SYSCALL[22708,1](unix: 24) sys_getuid ( )[sync] -->
Success(0x0:0x1f5)
16:07:41.587 22660   SYSCALL[22708,1](unix: 47) sys_getgid ( )[sync] -->
Success(0x0:0x14)
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) mach_vm_allocate
(mach_task_self(), at 0x0, size 226, flags 0x1) --> [async] ...
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) allocated at 0xfdca000
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) kill ool mem
0xFDCA000..0xfdca0e2; UNHANDLED mach_msg [id 118, to
com.apple.system.logger, reply 0x0] --> [async] ...
16:07:41.587 22660   SYSCALL[22708,1](mach: 31) ... [async] -->
Success(0x0:0x0) --22708:0:syswrap- sync_mappings("after",
"mach_msg_receive (unhandled)", 0)
16:07:41.587 22660
16:07:41.587 22660   SYSCALL[22708,1](unix: 48) sigprocmask ( 3,
0x7fff5fbfa1c4, 0x0 ) --> [pre-success] Success(0x0:0x0)
16:07:41.587 22660   SYSCALL[22708,1](unix:329) UNKNOWN __pthread_sigmask
is unsupported. This warning will not be repeated.
16:07:41.587 22660    --> [pre-success] Success(0x0:0x0)
16:07:41.587 22660   SYSCALL[22708,1](unix:328) __pthread_kill ( 3847, 6
)[sync] --> Success(0x0:0x0)
16:07:41.587 22660   SYSCALL[22708,1](unix:423) __semwait_signal(wait
semaphore-0xA503, signal NULL, 1, 1, 0s:10000000ns) --> [async] ...
16:07:41.587 22660   SYSCALL[22708,1](unix:423) ... [async] -->
Failure(0x3c)
16:07:41.587 22660   SYSCALL[22708,1](unix: 46) sigaction ( 6,
0x7fff5fbfa168, 0x0 ) --> [pre-success] Success(0x0:0x0)
16:07:41.587 22660   SYSCALL[22708,1](unix: 48) sigprocmask ( 3,
0x7fff5fbfa194, 0x0 ) --> [pre-success] Success(0x0:0x0)
16:07:41.588 22660   SYSCALL[22708,1](unix:329)  --> [pre-success]
Success(0x0:0x0)
16:07:41.588 22660   SYSCALL[22708,1](unix:328) __pthread_kill ( 3847, 6
)[sync] --> Success(0x0:0x0)
16:07:41.588 22660   SYSCALL[22708,1](unix:423) __semwait_signal(wait
semaphore-0xA503, signal NULL, 1, 1, 0s:10000000ns) --> [async] ...
16:07:41.588 22660   SYSCALL[22708,1](unix:423) ... [async] -->
Failure(0x3c)
16:07:41.588 22660   SYSCALL[22708,1](unix: 48) sigprocmask ( 3,
0x7fff5fbfa1a0, 0x0 ) --> [pre-success] Success(0x0:0x0)
16:07:41.588 22660   vex amd64->IR: unhandled instruction bytes: 0xF 0xB
0x55 0x48 0x89 0xE5 0x41 0x56
16:07:41.588 22660   vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
16:07:41.588 22660   vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
16:07:41.588 22660   vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
16:07:41.588 22660   ==22708== valgrind: Unrecognised instruction at
address 0x9167b8c.
16:07:41.588 22660   ==22708==    at 0x9167B8C: __abort (in
/usr/lib/system/libsystem_c.dylib)
16:07:41.588 22660   ==22708==    by 0x9167AAA: abort (in
/usr/lib/system/libsystem_c.dylib)
16:07:41.588 22660   ==22708==    by 0x933FF01:
_SCSessionUniverseByUIDAcquireAndLock (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9339E28:
FSNodeStorageGetAndLockCurrentUniverse (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9339C90:
FileIDTreeGetAndLockVolumeEntryForDeviceID (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9339C46: FSMount::FSMount(unsigned
int, FSMountNumberType, short*, unsigned int const*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9338490: PathGetObjectInfo(char
const*, unsigned int, unsigned int, short*, unsigned int*, unsigned int*,
char*, unsigned int*, unsigned char*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9338278:
FSPathMakeRefInternal(unsigned char const*, unsigned int, unsigned int,
FSRef*, unsigned char*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x168F637: _CFGetFSRefFromURL (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundati
on)
16:07:41.588 22660   ==22708==    by 0x168F1A7: CFURLGetFSRef (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundati
on)
16:07:41.588 22660   ==22708==    by 0x16992E4:
_CFBundleCopyInfoDictionaryInResourceForkWithAllocator (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundati
on)
16:07:41.588 22660   ==22708==    by 0x9353FE5:
GetBugsForOurBundleIDFromCoreservicesd (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9353D75: _CSCheckFix (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.588 22660   ==22708==    by 0x9C608E1: _LSApplicationCheckIn (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Lau
nchServices.framework/Versions/A/LaunchServices)
16:07:41.589 22660   ==22708==    by 0xC90F3AE: _RegisterApplication (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewo
rks/HIServices.framework/Versions/A/HIServices)
16:07:41.589 22660   ==22708==    by 0xC90EF0C: GetCurrentProcess (in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewo
rks/HIServices.framework/Versions/A/HIServices)
16:07:41.589 22660   ==22708==    by 0xD11262E: _GetAggregateUIMode (in
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox
.framework/Versions/A/HIToolbox)
16:07:41.589 22660   ==22708==    by 0xD1125E7: IsMenuBarVisible (in
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox
.framework/Versions/A/HIToolbox)
16:07:41.589 22660   ==22708==    by 0x1E400EA: _NSInitializeAppContext
(in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
16:07:41.589 22660   ==22708==    by 0x1E3F626: -[NSApplication init] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
16:07:41.589 22660   ==22708==    by 0x1E3F24D: +[NSApplication
sharedApplication] (in
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
16:07:41.589 22660   ==22708==    by 0x100019A18: main
(DumpRenderTree.mm:914)
16:07:41.589 22660   ==22708== Your program just tried to execute an
instruction that Valgrind
16:07:41.589 22660   ==22708== did not recognise.  There are two possible
reasons for this.
16:07:41.589 22660   ==22708== 1. Your program has a bug and erroneously
jumped to a non-code
16:07:41.589 22660   ==22708==    location.  If you are running Memcheck
and you just saw a
16:07:41.589 22660   ==22708==    warning about a bad jump, it's probably
your program's fault.
16:07:41.589 22660   ==22708== 2. The instruction is legitimate but
Valgrind doesn't handle it,
16:07:41.589 22660   ==22708==    i.e. it's Valgrind's fault.  If you
think this is the case or
16:07:41.589 22660   ==22708==    you are not sure, please let us know and
we'll try to fix it.
16:07:41.589 22660   ==22708== Either way, Valgrind will now raise a
SIGILL signal which will
16:07:41.589 22660   ==22708== probably kill your program.
16:07:41.589 22660   ==22708==
16:07:41.589 22660   ==22708== Process terminating with default action of
signal 4 (SIGILL)
16:07:41.589 22660   ==22708==  Illegal opcode at address 0x9167B8C
16:07:41.589 22660   ==22708==    at 0x9167B8C: __abort (in
/usr/lib/system/libsystem_c.dylib)
16:07:41.589 22660   ==22708==    by 0x9167AAA: abort (in
/usr/lib/system/libsystem_c.dylib)
16:07:41.589 22660   ==22708==    by 0x933FF01:
_SCSessionUniverseByUIDAcquireAndLock (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.589 22660   ==22708==    by 0x9339E28:
FSNodeStorageGetAndLockCurrentUniverse (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.590 22660   ==22708==    by 0x9339C90:
FileIDTreeGetAndLockVolumeEntryForDeviceID (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.590 22660   ==22708==    by 0x9339C46: FSMount::FSMount(unsigned
int, FSMountNumberType, short*, unsigned int const*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.590 22660   ==22708==    by 0x9338490: PathGetObjectInfo(char
const*, unsigned int, unsigned int, short*, unsigned int*, unsigned int*,
char*, unsigned int*, unsigned char*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.590 22660   ==22708==    by 0x9338278:
FSPathMakeRefInternal(unsigned char const*, unsigned int, unsigned int,
FSRef*, unsigned char*) (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.590 22660   ==22708==    by 0x168F637: _CFGetFSRefFromURL (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundati
on)
16:07:41.590 22660   ==22708==    by 0x168F1A7: CFURLGetFSRef (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundati
on)
16:07:41.590 22660   ==22708==    by 0x16992E4:
_CFBundleCopyInfoDictionaryInResourceForkWithAllocator (in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundati
on)
16:07:41.590 22660   ==22708==    by 0x9353FE5:
GetBugsForOurBundleIDFromCoreservicesd (in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Car
bonCore.framework/Versions/A/CarbonCore)
16:07:41.590 22660   SYSCALL[22708,4](unix:368) ... [async] -->
Success(0x0:0x2000170)
16:07:41.590 22660   SYSCALL[22708,2](unix:363) ... [async] -->
Failure(0x4)
16:07:41.590 22660   SYSCALL[22708,3](unix:368) ... [async] -->
Success(0x0:0x2000170)
16:07:41.590 22660   ==22708==
16:07:41.590 22660   ==22708== HEAP SUMMARY:






On 7/12/12 5:20 PM, "John Reiser" <jrei...@bitwagon.com> wrote:

>> 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


------------------------------------------------------------------------------
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