Skip to content

Instantly share code, notes, and snippets.

🔥
Crushing it

Tracy Adams tracy-codes

🔥
Crushing it
Block or report user

Report or block tracy-codes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tracy-codes
tracy-codes / now.strace.1889
Created Mar 4, 2019
Now strace for WSL Issue #3886
View now.strace.1889
execve("/home/tracy/.nvm/versions/node/v11.9.0/bin/now", ["now"], 0x7ffff1609eb8 /* 29 vars */) = 0
brk(NULL) = 0x40bf000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26068, ...}) = 0
mmap(NULL, 26068, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcf5a1ca000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
View cra-test.strace.3402
This file has been truncated, but you can view the full file.
close(10) = 0
execve("/home/tracy/.nvm/versions/node/v11.9.0/bin/node", ["node", "/c/Users/tracy/AppData/Roaming/n"..., "run", "test"], 0x7fffe760eca8 /* 29 vars */) = 0
brk(NULL) = 0x4162000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26310, ...}) = 0
mmap(NULL, 26310, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fca59f52000
close(3) = 0
View cra-test.strace.3421
This file has been truncated, but you can view the full file.
set_robust_list(0x7ff5efc80a20, 24) = 0
close(4) = 0
close(5) = 0
pipe2([4, 5], O_CLOEXEC) = 0
write(5, "*", 1) = 1
fcntl(0, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fcntl(0, F_SETFD, 0) = 0
fcntl(0, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(1, F_GETFD) = 0x1 (flags FD_CLOEXEC)
View cra-test.strace.3432
This file has been truncated, but you can view the full file.
set_robust_list(0x7f4b9bef0a20, 24) = 0
close(4) = 0
close(5) = 0
pipe2([4, 5], O_CLOEXEC) = 0
write(5, "*", 1) = 1
openat(AT_FDCWD, "/dev/null", O_RDONLY) = 29
dup2(29, 0) = 0
fcntl(0, F_GETFL) = 0 (flags O_RDONLY)
close(29) = 0
View cra-test.strace.3453
This file has been truncated, but you can view the full file.
set_robust_list(0x7f1d1efd09e0, 24) = 0
mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f1cf4000000
munmap(0x7f1cf8000000, 67108864) = 0
mprotect(0x7f1cf4000000, 135168, PROT_READ|PROT_WRITE) = 0
gettimeofday({tv_sec=1551723596, tv_usec=98715}, NULL) = 0
getrusage(RUSAGE_SELF, {ru_utime={tv_sec=0, tv_usec=0}, ru_stime={tv_sec=0, tv_usec=15625}, ...}) = 0
gettimeofday({tv_sec=1551723596, tv_usec=99294}, NULL) = 0
openat(AT_FDCWD, "/c/Users/tracy/dev/tracycodes/test", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 8
getpid() = 3434
View cra-test.strace.3455
This file has been truncated, but you can view the full file.
set_robust_list(0x7f1d1e7c09e0, 24) = 0
fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
getuid() = 1000
poll([{fd=12, events=POLLIN|POLLERR|POLLHUP}, {fd=13, events=POLLIN|POLLERR|POLLHUP}], 2, 2000) = 1 ([{fd=12, revents=POLLIN}])
read(12, "\0\1\0058\0\0\0\0\3\2\2\3\rwatch-project\2\3\"/c/"..., 1048576) = 63
fcntl(12, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(12, F_SETFL, O_RDWR) = 0
fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
You can’t perform that action at this time.