https://bugs.kde.org/show_bug.cgi?id=383723

--- Comment #8 from Andy <imol00+...@gmail.com> ---
Ok I did that but it's still giving me roughly the same thing:

 ELAPSD SYSCALL(args)            = return
     35 open("/dev/dtracehelper\0", 0x2, 0x7FFF5834D930)                 = 3 0
    320 ioctl(0x3, 0x80086804, 0x7FFF5834D8B8)           = 0 0
      6 close(0x3)               = 0 0
      2 thread_selfid(0x3, 0x80086804, 0x7FFF5834D8B8)           = 4487 0
      4 bsdthread_register(0x7FFF9894B080, 0x7FFF9894B070, 0x2000)             
 = 1073741919 0
      2 ulock_wake(0x1, 0x7FFF5834D0EC, 0x0)             = -1 Err#2
      1 issetugid(0x1, 0x7FFF5834D0EC, 0x0)              = 0 0
      4 mprotect(0x1078B9000, 0x88, 0x1)                 = 0 0
      2 mprotect(0x1078BB000, 0x1000, 0x0)               = 0 0
      1 mprotect(0x1078D1000, 0x1000, 0x0)               = 0 0
      1 mprotect(0x1078D2000, 0x1000, 0x0)               = 0 0
      1 mprotect(0x1078E8000, 0x1000, 0x0)               = 0 0
      2 mprotect(0x1078E9000, 0x1000, 0x1)               = 0 0
      3 mprotect(0x1078B9000, 0x88, 0x3)                 = 0 0
      2 mprotect(0x1078B9000, 0x88, 0x1)                 = 0 0
      1 getpid(0x1078B9000, 0x88, 0x1)           = 440 0
      4 stat64("/AppleInternal/XBS/.isChrooted\0", 0x7FFF5834CFA8, 0x1)        
 = -1 Err#2
      1 stat64("/AppleInternal\0", 0x7FFF5834D040, 0x1)          = -1 Err#2
      3 csops(0x1B8, 0x7, 0x7FFF5834CAD0)                = -1 Err#22
     33 sysctl([CTL_KERN, 14, 1, 440, 0, 0] (4), 0x7FFF5834CC28,
0x7FFF5834CC20, 0x0, 0x0)               = 0 0
      1 ulock_wake(0x1, 0x7FFF5834D050, 0x0)             = -1 Err#2
      2 csops(0x1B8, 0x7, 0x7FFF5834C3B0)                = -1 Err#22
     33 stat64("./valgrind-test\0", 0x7FFF5834DB40, 0x7FFF5834C3B0)            
 = 0 0
     35
access("/Users/maloney/dev/lib/valgrind/vgpreload_core-x86-darwin.so\0", 0x5,
0x7FFF5834C3B0)            = 0 0
==440== Nulgrind, the minimal Valgrind tool
     25
access("/Users/maloney/dev/lib/valgrind/vgpreload_core-amd64-darwin.so\0", 0x5,
0x7FFF5834C3B0)          = 0 0
==440== Copyright (C) 2002-2017, and GNU GPL'd, by Nicholas Nethercote.
      9
access("/Users/maloney/dev/lib/valgrind/vgpreload_core-arm-darwin.so\0", 0x5,
0x7FFF5834C3B0)            = -1 Err#2
==440== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
      5
access("/Users/maloney/dev/lib/valgrind/vgpreload_core-ppc32-darwin.so\0", 0x5,
0x7FFF5834C3B0)          = -1 Err#2
==440== Command: ./valgrind-test
==440==
      5
access("/Users/maloney/dev/lib/valgrind/vgpreload_core-ppc64be-darwin.so\0",
0x5, 0x7FFF5834C3B0)                = -1 Err#2
      8 access("/Users/maloney/brew/bin/./valgrind-test\0", 0x5,
0x7FFF5834C3B0)                 = -1 Err#2
      2 access("/Users/maloney/research/bin/./valgrind-test\0", 0x5,
0x7FFF5834C3B0)             = -1 Err#2
      5 access("/Users/maloney/dev/bin/./valgrind-test\0", 0x5, 0x7FFF5834C3B0)
         = -1 Err#2
      6 access("/usr/local/bin/./valgrind-test\0", 0x5, 0x7FFF5834C3B0)        
 = -1 Err#2
      7 access("/usr/bin/./valgrind-test\0", 0x5, 0x7FFF5834C3B0)              
 = -1 Err#2
      6 access("/bin/./valgrind-test\0", 0x5, 0x7FFF5834C3B0)            = -1
Err#2
      6 access("/usr/sbin/./valgrind-test\0", 0x5, 0x7FFF5834C3B0)             
 = -1 Err#2
      5 access("/sbin/./valgrind-test\0", 0x5, 0x7FFF5834C3B0)           = -1
Err#2
      6 open("./valgrind-test\0", 0x0, 0xFFFFFFFFFFFFFFFF)               = 3 0
    233 read(0x3, "\317\372\355\376\a\0", 0x1000)                = 4096 0
      7 close(0x3)               = 0 0
      7 open_nocancel(".\0", 0x0, 0x7F87E6800000)                = 3 0
      3 fstat64(0x3, 0x7FFF5834D940, 0x7F87E6800000)             = 0 0
      7 fcntl_nocancel(0x3, 0x32, 0x7F87E6801000)                = 0 0
      3 close_nocancel(0x3)              = 0 0
      4 stat64("/Users/maloney/dev/build-valgrind-test-Qt_5_x-Profile\0",
0x7FFF5834D8B0, 0x7F87E6801000)                = 0 0
      1 getppid(0x7F87E6801000, 0x7FFF5834D8B0, 0x7F87E6801000)          = 437
0
    279 access("/Users/maloney/dev/lib/valgrind/none-amd64-darwin\0", 0x5,
0x7F87E6801000)               = 0 0


I see that it opened and read from the target executable successfully. It's not
reporting any errors, just terminating. Nothing else here looks problematic to
me - am I missing something?

I'd like to understand why that isn't working, but looking through the
non-valgrind trace, I see something related to QOS which sounds like our
culprit - kevent_qos(). Looking at the valgrind source (priv_syswrap-darwin.h):

#if DARWIN_VERS >= DARWIN_10_11
// NYI kevent_qos                               // 374
#endif /* DARWIN_VERS >= DARWIN_10_11 */

(Thank you for stepping me through this and for your patience...)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to