Skip to content

Instantly share code, notes, and snippets.

@wizofe
Created April 4, 2018 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wizofe/7b6bf4211f02f2857e90d08b039a0963 to your computer and use it in GitHub Desktop.
Save wizofe/7b6bf4211f02f2857e90d08b039a0963 to your computer and use it in GitHub Desktop.
dtrace tps.py
SYSCALL(args) = return
Traceback (most recent call last):
File "tps.py", line 2, in <module>
os.getgrouplist('wizofe', 20)
FileNotFoundError: [Errno 2] No such file or directory
madvise(0x101956000, 0x3000, 0x5) = 0 0
open("/dev/dtracehelper\0", 0x2, 0xFFFFFFFFEE6E8BA0) = 3 0
ioctl(0x3, 0x80086804, 0x7FFEEE6E8B00) = 0 0
close(0x3) = 0 0
access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0) = -1 Err#2
thread_selfid(0x0, 0x0, 0x0) = 2243113 0
bsdthread_register(0x7FFF7C88EBEC, 0x7FFF7C88EBDC, 0x2000) = 1073742047 0
issetugid(0x0, 0x0, 0x0) = 0 0
mprotect(0x101A75000, 0x1000, 0x0) = 0 0
mprotect(0x101A7A000, 0x1000, 0x0) = 0 0
mprotect(0x101A7B000, 0x1000, 0x0) = 0 0
mprotect(0x101A80000, 0x1000, 0x0) = 0 0
mprotect(0x101A73000, 0x88, 0x1) = 0 0
mprotect(0x101A65000, 0x1000, 0x1) = 0 0
mprotect(0x101A73000, 0x88, 0x3) = 0 0
mprotect(0x101A73000, 0x88, 0x1) = 0 0
getpid(0x0, 0x0, 0x0) = 26697 0
stat64("/AppleInternal/XBS/.isChrooted\0", 0x7FFEEE6E8028, 0x0) = -1 Err#2
stat64("/AppleInternal\0", 0x7FFEEE6E80C0, 0x0) = -1 Err#2
csops(0x6849, 0x7, 0x7FFEEE6E7B60) = -1 Err#22
sysctl([CTL_KERN, 14, 1, 26697, 0, 0] (4), 0x7FFEEE6E7CA8, 0x7FFEEE6E7CA0, 0x0, 0x0) = 0 0
csops(0x6849, 0x7, 0x7FFEEE6E7450) = -1 Err#22
geteuid(0x0, 0x0, 0x0) = 0 0
getuid(0x0, 0x0, 0x0) = 0 0
sysctl([CTL_KERN, 14, 1, 26697, 0, 0] (4), 0x7FFEEE6E69C8, 0x7FFEEE6E69A8, 0x0, 0x0) = 0 0
gettid(0x7FFEEE6E6CE8, 0x7FFEEE6E6CEC, 0x0) = -1 Err#3
geteuid(0x0, 0x0, 0x0) = 0 0
getegid(0x0, 0x0, 0x0) = 0 0
gettid(0x7FFEEE6E6CC8, 0x7FFEEE6E6CCC, 0x0) = -1 Err#3
geteuid(0x0, 0x0, 0x0) = 0 0
getegid(0x0, 0x0, 0x0) = 0 0
open_nocancel("/usr/share/locale/en_GB.UTF-8/LC_COLLATE\0", 0x0, 0x7) = 3 0
fcntl_nocancel(0x3, 0x3, 0x0) = 0 0
getrlimit(0x1008, 0x7FFEEE6E8F90, 0x0) = 0 0
fstat64(0x3, 0x7FFEEE6E8F38, 0x0) = 0 0
read_nocancel(0x3, "1.1A\n\0", 0x10000) = 2086 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_GB.UTF-8/LC_CTYPE\0", 0x0, 0x5) = 3 0
fcntl_nocancel(0x3, 0x3, 0x0) = 0 0
fstat64(0x3, 0x7FFEEE6E9068, 0x0) = 0 0
fstat64(0x3, 0x7FFEEE6E8E78, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
lseek(0x3, 0x0, 0x0) = 0 0
read_nocancel(0x3, "RuneMagAUTF-8\0", 0x10000) = 65536 0
read_nocancel(0x3, "@\004\b\0", 0x10000) = 26064 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_GB.UTF-8/LC_MONETARY\0", 0x0, 0x8) = 3 0
fstat64(0x3, 0x7FFEEE6E9070, 0x0) = 0 0
read_nocancel(0x3, "GBP \n\302\243\n.\n,\n3;3\n\n-\n2\n2\n1\n0\n1\n0\n1\n1\n\0", 0x23) = 35 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_GB.UTF-8/LC_NUMERIC\0", 0x0, 0x7) = 3 0
fstat64(0x3, 0x7FFEEE6E9070, 0x0) = 0 0
read_nocancel(0x3, ".\n,\n3;3\n@\004\b\0", 0x8) = 8 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_GB.UTF-8/LC_TIME\0", 0x0, 0x4) = 3 0
fstat64(0x3, 0x7FFEEE6E9070, 0x0) = 0 0
read_nocancel(0x3, "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug\nSep\nOct\nNov\nDec\nJanuary\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember\nSun\nMon\nTue\nWed\nThu\nFri\nSat\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday\n%H:%M:%S\n%d/%m/%Y\n%a %e %b %X %Y\nam\np", 0x179) = 377 0
close_nocancel(0x3) = 0 0
open_nocancel("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/LC_MESSAGES\0", 0x0, 0xFFFFFFFFFFFFFFF4) = 3 0
fstat64(0x3, 0x7FFEEE6E9070, 0x0) = 0 0
read_nocancel(0x3, "^[yY].*\n^[nN].*\n@\004\b\0", 0x10) = 16 0
close_nocancel(0x3) = 0 0
open_nocancel(".\0", 0x0, 0x1) = 3 0
fstat64(0x3, 0x7FFEEE6E2650, 0x0) = 0 0
fcntl_nocancel(0x3, 0x32, 0x7FFEEE6E2890) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython\0", 0x7FFEEE6E25C0, 0x0) = 0 0
readlink("/Volumes/pythontesting/cpython/python.exe\0", 0x7FFEEE6E3D60, 0x400) = -1 Err#22
open_nocancel("/Volumes/pythontesting/cpython/pyvenv.cfg\0", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Volumes/pythontesting/pyvenv.cfg\0", 0x0, 0x1B6) = -1 Err#2
stat64("/Volumes/pythontesting/cpython/Modules/Setup\0", 0x7FFEEE6E5080, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/os.py\0", 0x7FFEEE6E5050, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/pybuilddir.txt\0", 0x7FFEEE6E4C50, 0x0) = 0 0
open_nocancel("/Volumes/pythontesting/cpython/pybuilddir.txt\0", 0x0, 0x1B6) = 3 0
fcntl(0x3, 0x1, 0x0) = 0 0
fcntl(0x3, 0x2, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6E4B38, 0x0) = 0 0
read_nocancel(0x3, "build/lib.macosx-10.13-x86_64-3.8-pydebug\004(\0", 0x1000) = 41 0
read_nocancel(0x3, "\200\004(\0", 0x1000) = 0 0
close_nocancel(0x3) = 0 0
ioctl(0x0, 0x4004667A, 0x7FFEEE6E97F4) = 0 0
getentropy(0x1019555B8, 0x18, 0x0) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101A81000 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101AC1000 0
fstat64(0x0, 0x7FFEEE6E9678, 0x0) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B01000 0
munmap(0x101B01000, 0x40000) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B01000 0
munmap(0x101B01000, 0x40000) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B01000 0
munmap(0x101B01000, 0x40000) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B01000 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B41000 0
munmap(0x101B41000, 0x40000) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B41000 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101B81000 0
sigaltstack(0x1019553D0, 0x1019553E8, 0x0) = 0 0
stat64("/Volumes/pythontesting/tmp/lib/python38.zip\0", 0x7FFEEE6D8FC0, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/tmp/lib\0", 0x7FFEEE6D8FC0, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/tmp\0", 0x7FFEEE6D8FC0, 0x0) = 0 0
stat64("/Volumes/pythontesting/tmp/lib/python38.zip\0", 0x7FFEEE6D0310, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/tmp/lib/python38.zip\0", 0x7FFEEE6D0310, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6D8FC0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6D0310, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6D8C50, 0x0) = 0 0
open_nocancel("/Volumes/pythontesting/cpython/Lib\0", 0x1100004, 0x0) = 3 0
sysctl([CTL_HW, 7, 0, 0, 0, 0] (2), 0x7FFFB4B82E00, 0x7FFEEE6D8388, 0x0, 0x0) = 0 0
fstatfs64(0x3, 0x7FFEEE6D83B8, 0x0) = 0 0
getdirentries64(0x3, 0x7FA701805200, 0x1000) = 4064 0
getdirentries64(0x3, 0x7FA701805200, 0x1000) = 3768 0
getdirentries64(0x3, 0x7FA701805200, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/__init__.cpython-38dm-darwin.so\0", 0x7FFEEE6D47B0, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/cpython/Lib/encodings/__init__.abi3.so\0", 0x7FFEEE6D47B0, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/cpython/Lib/encodings/__init__.so\0", 0x7FFEEE6D47B0, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/cpython/Lib/encodings/__init__.py\0", 0x7FFEEE6D47B0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/__init__.py\0", 0x7FFEEE6D9610, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/encodings/__pycache__/__init__.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fcntl(0x3, 0x1, 0x0) = 1 0
fstat64(0x3, 0x7FFEEE6DB918, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6DB8F0, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0xF62) = 3937 0
read(0x3, ".\n\n In addition, a module may optionally also define the following\n APIs which are then used by the package's codec search function:\n\n * getaliases() -> sequence of encoding name strings to use as aliases\n\n Alias names returned by getaliases() ", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6CB240, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/codecs.py\0", 0x7FFEEE6C6DA0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/codecs.py\0", 0x7FFEEE6CBC00, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/codecs.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6CDF08, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6CDEE0, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x8443) = 33858 0
read(0x3, "com).\n\n(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.\n\n\351\0", 0x1) = 0 0
close(0x3) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101BE3000 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings\0", 0x7FFEEE6C6640, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings\0", 0x7FFEEE6BD990, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings\0", 0x7FFEEE6C62D0, 0x0) = 0 0
open_nocancel("/Volumes/pythontesting/cpython/Lib/encodings\0", 0x1100004, 0x0) = 3 0
fstatfs64(0x3, 0x7FFEEE6C5A38, 0x0) = 0 0
getdirentries64(0x3, 0x7FA70182C600, 0x1000) = 4096 0
getdirentries64(0x3, 0x7FA70182C600, 0x1000) = 1000 0
getdirentries64(0x3, 0x7FA70182C600, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/aliases.py\0", 0x7FFEEE6C1E30, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/aliases.py\0", 0x7FFEEE6C6C90, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/encodings/__pycache__/aliases.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6C8F98, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6C8F70, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x1897) = 6294 0
read(0x3, "codings names to module names.\n\n Note that the search function normalizes the encoding names before\n doing the lookup, so the mapping will have to map normalized\n encoding names to module names.\n\n Contents:\n\n The following aliases dictio", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings\0", 0x7FFEEE6D6D60, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/utf_8.py\0", 0x7FFEEE6D28C0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/utf_8.py\0", 0x7FFEEE6D7720, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/encodings/__pycache__/utf_8.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6D9A28, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6D9A00, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x64D) = 1612 0
read(0x3, "e\0", 0x1) = 0 0
close(0x3) = 0 0
sigaction(0xD, 0x7FFEEE6E95F8, 0x7FFEEE6E9628) = 0 0
sigaction(0x19, 0x7FFEEE6E95F8, 0x7FFEEE6E9628) = 0 0
sigaction(0x1, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x2, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x3, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x4, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x5, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x6, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x7, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x8, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0xA, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0xB, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0xC, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0xD, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0xE, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0xF, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x10, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x12, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x13, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x14, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x15, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x16, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x17, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x18, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x19, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x1A, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x1B, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x1C, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x1D, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x1E, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x1F, 0x0, 0x7FFEEE6DB830) = 0 0
sigaction(0x2, 0x7FFEEE6DB7E8, 0x7FFEEE6DB818) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings\0", 0x7FFEEE6D8C20, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/latin_1.py\0", 0x7FFEEE6D4780, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/encodings/latin_1.py\0", 0x7FFEEE6D95E0, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/encodings/__pycache__/latin_1.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6DB8E8, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6DB8C0, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x767) = 1894 0
read(0x3, "\0", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6D8C20, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/io.py\0", 0x7FFEEE6D4780, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/io.py\0", 0x7FFEEE6D95E0, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/io.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6DB8E8, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6DB8C0, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0xD48) = 3399 0
read(0x3, "ng IOBase is RawIOBase which deals simply with the reading and\nwriting of raw bytes to a stream. FileIO subclasses RawIOBase to provide\nan interface to OS files.\n\nBufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its\nsubclasses, Buffere", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6CB210, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/abc.py\0", 0x7FFEEE6C6D70, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/abc.py\0", 0x7FFEEE6CBBD0, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/abc.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6CDED8, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6CDEB0, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x1928) = 6439 0
read(0x3, "tractmethod__)\001\332\afuncobj\251\0", 0x1) = 0 0
close(0x3) = 0 0
fstat64(0x0, 0x7FFEEE6E9318, 0x0) = 0 0
fstat64(0x0, 0x7FFEEE6E8738, 0x0) = 0 0
ioctl(0x0, 0x4004667A, 0x7FFEEE6E8674) = 0 0
lseek(0x0, 0x0, 0x1) = 777714 0
ioctl(0x0, 0x4004667A, 0x7FFEEE6E8E14) = 0 0
ioctl(0x0, 0x4004667A, 0x7FFEEE6E8CD4) = 0 0
fstat64(0x1, 0x7FFEEE6E9318, 0x0) = 0 0
fstat64(0x1, 0x7FFEEE6E8738, 0x0) = 0 0
ioctl(0x1, 0x4004667A, 0x7FFEEE6E8674) = -1 Err#25
ioctl(0x1, 0x40487413, 0x7FFEEE6E8678) = -1 Err#25
lseek(0x1, 0x0, 0x1) = 26 0
ioctl(0x1, 0x4004667A, 0x7FFEEE6E8E14) = -1 Err#25
ioctl(0x1, 0x40487413, 0x7FFEEE6E8E18) = -1 Err#25
ioctl(0x1, 0x4004667A, 0x7FFEEE6E8CD4) = -1 Err#25
ioctl(0x1, 0x40487413, 0x7FFEEE6E8CD8) = -1 Err#25
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6D8440, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/_bootlocale.py\0", 0x7FFEEE6D3FA0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/_bootlocale.py\0", 0x7FFEEE6D8E00, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/_bootlocale.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6DB108, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6DB0E0, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x4E0) = 1247 0
read(0x3, "ocaler\f\0", 0x1) = 0 0
close(0x3) = 0 0
lseek(0x1, 0x0, 0x1) = 26 0
fstat64(0x2, 0x7FFEEE6E9318, 0x0) = 0 0
fstat64(0x2, 0x7FFEEE6E8738, 0x0) = 0 0
ioctl(0x2, 0x4004667A, 0x7FFEEE6E8674) = -1 Err#25
ioctl(0x2, 0x40487413, 0x7FFEEE6E8678) = -1 Err#25
lseek(0x2, 0x0, 0x1) = 26 0
ioctl(0x2, 0x4004667A, 0x7FFEEE6E8E14) = -1 Err#25
ioctl(0x2, 0x40487413, 0x7FFEEE6E8E18) = -1 Err#25
ioctl(0x2, 0x4004667A, 0x7FFEEE6E8CD4) = -1 Err#25
ioctl(0x2, 0x40487413, 0x7FFEEE6E8CD8) = -1 Err#25
lseek(0x2, 0x0, 0x1) = 26 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6D8D90, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/site.py\0", 0x7FFEEE6D48F0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/site.py\0", 0x7FFEEE6D9750, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/site.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6DBA58, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6DBA30, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x3F69) = 16232 0
read(0x3, "s (such as Windows), it tries each of the\nprefixes directly, as well as with lib/site-packages appended. The\nresulting directories, if they exist, are appended to sys.path, and\nalso inspected for path configuration files.\n\nIf a file named \"pyvenv.cfg\" exi", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6CB380, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/os.py\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/os.py\0", 0x7FFEEE6CBD40, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/os.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6CE048, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6CE020, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x73F8) = 29687 0
read(0x3, "\001\0", 0x1) = 0 0
close(0x3) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101C44000 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6BD970, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/stat.py\0", 0x7FFEEE6B94D0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/stat.py\0", 0x7FFEEE6BE330, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/stat.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6C0638, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6C0610, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0xF1A) = 3865 0
read(0x3, " file's mode that can be set by\n os.chmod().\n i\377\017\0", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6BD970, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/posixpath.py\0", 0x7FFEEE6B94D0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/posixpath.py\0", 0x7FFEEE6BE330, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/posixpath.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6C0638, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6C0610, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x289B) = 10394 0
read(0x3, "systems too, e.g.\nfor manipulation of the pathname component of URLs.\n\332\001.z\002..\372\001/\372\001:z\016:/bin:/usr/binNz\t/dev/null\351\0", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6AFF60, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/genericpath.py\0", 0x7FFEEE6ABAC0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/genericpath.py\0", 0x7FFEEE6B0920, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/genericpath.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6B2C28, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6B2C00, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0xEA1) = 3744 0
read(0x3, "path is a regular fileF)\005r\r\0", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6BD970, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/_collections_abc.py\0", 0x7FFEEE6B94D0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/_collections_abc.py\0", 0x7FFEEE6BE330, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/_collections_abc.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6C0638, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6C0610, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0x70C3) = 28866 0
read(0x3, "e5e1e6\203\005Z7G\0", 0x1) = 0 0
close(0x3) = 0 0
mmap(0x0, 0x40000, 0x3, 0x1002, 0xFFFFFFFFFFFFFFFF, 0x0) = 0x101C84000 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6CB380, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/_sitebuiltins.py\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib/_sitebuiltins.py\0", 0x7FFEEE6CBD40, 0x0) = 0 0
open("/Volumes/pythontesting/cpython/Lib/__pycache__/_sitebuiltins.cpython-38.pyc\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6CE048, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6CE020, 0x0) = 0 0
read(0x3, "I\r\r\n\0", 0xD78) = 3447 0
read(0x3, "\006\0", 0x1) = 0 0
close(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/pyvenv.cfg\0", 0x7FFEEE6D2700, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/pyvenv.cfg\0", 0x7FFEEE6D2700, 0x0) = -1 Err#2
geteuid(0x0, 0x0, 0x0) = 0 0
getuid(0x0, 0x0, 0x0) = 0 0
getegid(0x0, 0x0, 0x0) = 0 0
getgid(0x0, 0x0, 0x0) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6D4BC0, 0x0) = 0 0
open_nocancel("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x1100004, 0x0) = 3 0
fstatfs64(0x3, 0x7FFEEE6D40B8, 0x0) = 0 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 64 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Volumes/pythontesting/tmp/lib/python3.8/site-packages\0", 0x7FFEEE6D4950, 0x0) = -1 Err#2
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x7FFEEE6C7250, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x7FFEEE6BE5A0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
open_nocancel("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x1100004, 0x0) = 3 0
fstatfs64(0x3, 0x7FFEEE6C6648, 0x0) = 0 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 4080 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 176 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6C7250, 0x0) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6BE5A0, 0x0) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
open_nocancel("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x1100004, 0x0) = 3 0
fstatfs64(0x3, 0x7FFEEE6C6648, 0x0) = 0 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 64 0
getdirentries64(0x3, 0x7FA70183B600, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/Lib\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython/build/lib.macosx-10.13-x86_64-3.8-pydebug\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("/Users/wizofe/.local/lib/python3.8/site-packages\0", 0x7FFEEE6C6EE0, 0x0) = 0 0
stat64("tps.py\0", 0x7FFEEE6E9290, 0x0) = 0 0
open_nocancel("tps.py\0", 0x0, 0x1B6) = 3 0
ioctl(0x3, 0x20006601, 0x0) = 0 0
fstat64(0x3, 0x7FFEEE6E89D8, 0x0) = 0 0
fstat64(0x3, 0x7FFEEE6E8AD0, 0x0) = 0 0
lseek(0x3, 0x0, 0x1) = 0 0
lseek(0x3, 0x0, 0x0) = 0 0
read_nocancel(0x3, "import os\nos.getgrouplist('wizofe', 20)\n\n\0", 0x1000) = 41 0
close_nocancel(0x3) = 0 0
stat64("tps.py\0", 0x7FFEEE6E04A0, 0x0) = 0 0
stat64("tps.py\0", 0x7FFEEE6E04A0, 0x0) = 0 0
readlink("tps.py\0", 0x7FFEEE6E5350, 0x400) = -1 Err#22
stat64("/\0", 0x7FFEEE6E3558, 0x0) = 0 0
open_nocancel(".\0", 0x0, 0x1) = 3 0
fstat64(0x3, 0x7FFEEE6E3350, 0x0) = 0 0
fcntl_nocancel(0x3, 0x32, 0x7FFEEE6E5350) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Volumes/pythontesting/cpython\0", 0x7FFEEE6E32C0, 0x0) = 0 0
stat64("/Volumes/pythontesting/cpython\0", 0x7FFEEE6E3558, 0x0) = 0 0
getattrlist("/Volumes/pythontesting/cpython/tps.py\0", 0x7FFF7C64A804, 0x7FFEEE6E4EA0) = 0 0
open_nocancel("tps.py\0", 0x0, 0x1B6) = 3 0
fcntl(0x3, 0x1, 0x0) = 0 0
fcntl(0x3, 0x2, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6E9770, 0x0) = 0 0
ioctl(0x3, 0x4004667A, 0x7FFEEE6E96F4) = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFEEE6E96F8) = -1 Err#25
lseek(0x3, 0x0, 0x1) = 0 0
fstat64(0x3, 0x7FFEEE6E94B8, 0x0) = 0 0
read_nocancel(0x3, "import os\nos.getgrouplist('wizofe', 20)\n\n\0", 0x1000) = 41 0
lseek(0x3, 0x0, 0x1) = 41 0
read_nocancel(0x3, "\0", 0x1000) = 0 0
close_nocancel(0x3) = 0 0
getuid(0x0, 0x0, 0x0) = 0 0
getgid(0x0, 0x0, 0x0) = 0 0
shm_open(0x7FFF7C883DEF, 0x0, 0x0) = 3 0
mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0) = 0x101CE9000 0
close_nocancel(0x3) = 0 0
geteuid(0x0, 0x0, 0x0) = 0 0
stat64("/etc/asl/.noquota\0", 0x7FFEEE6E5FF0, 0x0) = -1 Err#2
open_nocancel("/etc/.mdns_debug\0", 0x0, 0x0) = -1 Err#2
issetugid(0x0, 0x0, 0x0) = 0 0
issetugid(0x0, 0x0, 0x0) = 0 0
proc_info(0x2, 0x6849, 0x11) = 56 0
proc_info(0x2, 0x6849, 0x11) = 56 0
ulock_wake(0x102, 0x101CEA400, 0x0) = -1 Err#2
sysctl([CTL_KERN, 14, 1, 26697, 0, 0] (4), 0x7FFEEE6E6898, 0x7FFEEE6E6888, 0x0, 0x0) = 0 0
issetugid(0x0, 0x0, 0x0) = 0 0
ulock_wake(0x102, 0x101CEA400, 0x0) = -1 Err#2
ulock_wake(0x102, 0x101CEA280, 0x0) = -1 Err#2
open("tps.py\0", 0x1000000, 0x1B6) = 3 0
fstat64(0x3, 0x7FFEEE6E7E78, 0x0) = 0 0
ioctl(0x3, 0x4004667A, 0x7FFEEE6E7DB4) = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFEEE6E7DB8) = -1 Err#25
lseek(0x3, 0x0, 0x1) = 0 0
fcntl(0x3, 0x43, 0x0) = 4 0
fcntl_nocancel(0x4, 0x3, 0x0) = 0 0
fstat64(0x4, 0x7FFEEE6E8668, 0x0) = 0 0
read_nocancel(0x4, "import os\nos.getgrouplist('wizofe', 20)\n\n\0", 0x1000) = 41 0
close_nocancel(0x4) = 0 0
lseek(0x3, 0x0, 0x0) = 0 0
read(0x3, "import os\nos.getgrouplist('wizofe', 20)\n\n\0", 0x2000) = 41 0
close(0x3) = 0 0
write(0x2, "Traceback (most recent call last):\n File \"tps.py\", line 2, in <module>\n os.getgrouplist('wizofe', 20)\nFileNotFoundError: [Errno 2] No such file or directory\n\0", 0xA1) = 161 0
sigaction(0x2, 0x7FFEEE6E9718, 0x7FFEEE6E9748) = 0 0
madvise(0x101C23000, 0x21000, 0x9) = 0 0
sigaltstack(0x0, 0x7FFEEE6E97F0, 0x0) = 0 0
madvise(0x101BC1000, 0x21000, 0x9) = 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment