Skip to content

Instantly share code, notes, and snippets.

@purag
Created January 27, 2018 12:46
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 purag/984611bccf55cd3f4f7871778c1128a2 to your computer and use it in GitHub Desktop.
Save purag/984611bccf55cd3f4f7871778c1128a2 to your computer and use it in GitHub Desktop.
wsl rm hanging
execve("/bin/rm", ["rm", ".git/index.lock"], [/* 50 vars */]) = 0
brk(NULL) = 0x11dd000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc703fe0000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=35246, ...}) = 0
mmap(NULL, 35246, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc703fe6000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc703830000
mprotect(0x7fc7039f0000, 2097152, PROT_NONE) = 0
mmap(0x7fc703bf0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fc703bf0000
mmap(0x7fc703bf6000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc703bf6000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc703fd0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc703fc0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc703fb0000
arch_prctl(ARCH_SET_FS, 0x7fc703fc0700) = 0
mprotect(0x7fc703bf0000, 16384, PROT_READ) = 0
mprotect(0x60d000, 4096, PROT_READ) = 0
mprotect(0x7fc703e25000, 4096, PROT_READ) = 0
munmap(0x7fc703fe6000, 35246) = 0
brk(NULL) = 0x11dd000
brk(0x11fe000) = 0x11fe000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1668976, ...}) = 0
mmap(NULL, 1668976, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc703c8d000
close(3) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
newfstatat(AT_FDCWD, ".git/index.lock", {st_mode=S_IFREG|0777, st_size=8057, ...}, AT_SYMLINK_NOFOLLOW) = 0
geteuid() = 1000
newfstatat(AT_FDCWD, ".git/index.lock", {st_mode=S_IFREG|0777, st_size=8057, ...}, AT_SYMLINK_NOFOLLOW) = 0
faccessat(AT_FDCWD, ".git/index.lock", W_OK) = 0
unlinkat(AT_FDCWD, ".git/index.lock", 0) = 0
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
close(0) = 0
close(1) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment