Skip to content

Instantly share code, notes, and snippets.

@emilsedgh
Created June 23, 2013 09:26
Show Gist options
  • Save emilsedgh/5844406 to your computer and use it in GitHub Desktop.
Save emilsedgh/5844406 to your computer and use it in GitHub Desktop.
strace output for libuv/issues/838
{{EPOLLIN, {u32=10, u64=10}}}, 1024, 38245320) = 1
[pid 30788] accept4(10, 0, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK) = 63
[pid 30788] accept4(10, 0, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
[pid 30788] epoll_ctl(5, EPOLL_CTL_ADD, 63, {EPOLLIN, {u32=63, u64=63}}) = 0
[pid 30788] epoll_wait(5, {{EPOLLIN, {u32=63, u64=63}}}, 1024, 119997) = 1
[pid 30788] read(63, "POST /login HTTP/1.1\r\nHost: loca"..., 65536) = 676
[pid 30788] write(11, "*2\r\n$3\r\nget\r\n$29\r\nsess:FnQJJWh5Y"..., 49) = 49
[pid 30788] epoll_ctl(5, EPOLL_CTL_MOD, 11, {EPOLLIN, {u32=11, u64=11}}) = 0
[pid 30788] epoll_wait(5, {{EPOLLIN, {u32=11, u64=11}}}, 1024, 119985) = 1
[pid 30788] read(11, "$76\r\n{\"cookie\":{\"originalMaxAge\""..., 65536) = 83
[pid 30788] uname({sys="Linux", node="emilsedgh", ...}) = 0
[pid 30788] open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 64
[pid 30788] fstat(64, {st_mode=S_IFREG|0644, st_size=87, ...}) = 0
[pid 30788] read(64, "# Generated by NetworkManager\nna"..., 4096) = 87
[pid 30788] read(64, "", 4096) = 0
[pid 30788] close(64) = 0
[pid 30788] uname({sys="Linux", node="emilsedgh", ...}) = 0
[pid 30788] open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 64
[pid 30788] fstat(64, {st_mode=S_IFREG|0644, st_size=866, ...}) = 0
[pid 30788] read(64, "127.0.0.1\tlocalhost local.host\n1"..., 4096) = 866
[pid 30788] read(64, "", 4096) = 0
[pid 30788] close(64) = 0
[pid 30788] open("/etc/ldap/ldap.conf", O_RDONLY) = 64
[pid 30788] fstat(64, {st_mode=S_IFREG|0644, st_size=332, ...}) = 0
[pid 30788] read(64, "#\n# LDAP Defaults\n#\n\n# See ldap."..., 4096) = 332
[pid 30788] read(64, "", 4096) = 0
[pid 30788] close(64) = 0
[pid 30788] geteuid() = 1000
[pid 30788] getuid() = 1000
[pid 30788] open("/home/emilsedgh/ldaprc", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 30788] open("/home/emilsedgh/.ldaprc", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 30788] open("ldaprc", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 30788] stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=87, ...}) = 0
[pid 30788] open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 64
[pid 30788] fstat(64, {st_mode=S_IFREG|0644, st_size=866, ...}) = 0
[pid 30788] read(64, "127.0.0.1\tlocalhost local.host\n1"..., 4096) = 866
[pid 30788] read(64, "", 4096) = 0
[pid 30788] close(64) = 0
[pid 30788] open("tls/x86_64/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30788] open("tls/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30788] open("x86_64/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30788] open("libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30788] open("/home/emilsedgh/kde/installed/lib/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 30788] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 64
[pid 30788] fstat(64, {st_mode=S_IFREG|0644, st_size=132531, ...}) = 0
[pid 30788] close(64) = 0
[pid 30788] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 30788] open("/lib/x86_64-linux-gnu/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = 64
[pid 30788] read(64, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\21\0\0\0\0\0\0"..., 832) = 832
[pid 30788] fstat(64, {st_mode=S_IFREG|0644, st_size=22928, ...}) = 0
[pid 30788] close(64) = 0
[pid 30788] stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=87, ...}) = 0
[pid 30788] socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 64
[pid 30788] connect(64, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("8.8.8.8")}, 16) = 0
[pid 30788] poll([{fd=64, events=POLLOUT}], 1, 0) = 1 ([{fd=64, revents=POLLOUT}])
[pid 30788] syscall_307(0x40, 0x7fff1fa1d020, 0x2, 0x4000, 0, 0x3, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0, 0x235808e0) = 0x2
[pid 30788] poll([{fd=64, events=POLLIN}], 1, 5000) = 1 ([{fd=64, revents=POLLIN}])
[pid 30788] ioctl(64, FIONREAD, [51]) = 0
[pid 30788] recvfrom(64, "\336\214\201\200\0\1\0\1\0\0\0\0\4ldap\10karinaco\3com\0\0"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("8.8.8.8")}, [16]) = 51
[pid 30788] poll([{fd=64, events=POLLIN}], 1, 4821) = 0 (Timeout)
[pid 30788] poll([{fd=64, events=POLLOUT}], 1, 0) = 1 ([{fd=64, revents=POLLOUT}])
[pid 30788] sendto(64, "\336\214\1\0\0\1\0\0\0\0\0\0\4ldap\10karinaco\3com\0\0"..., 35, MSG_NOSIGNAL, NULL, 0) = 35
[pid 30788] poll([{fd=64, events=POLLIN}], 1, 5000) = 1 ([{fd=64, revents=POLLIN}])
[pid 30788] ioctl(64, FIONREAD, [51]) = 0
[pid 30788] recvfrom(64, "\336\214\201\200\0\1\0\1\0\0\0\0\4ldap\10karinaco\3com\0\0"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("8.8.8.8")}, [16]) = 51
[pid 30788] poll([{fd=64, events=POLLOUT}], 1, 4840) = 1 ([{fd=64, revents=POLLOUT}])
[pid 30788] sendto(64, "\271\352\1\0\0\1\0\0\0\0\0\0\4ldap\10karinaco\3com\0\0"..., 35, MSG_NOSIGNAL, NULL, 0) = 35
[pid 30788] poll([{fd=64, events=POLLIN}], 1, 4839) = 1 ([{fd=64, revents=POLLIN}])
[pid 30788] ioctl(64, FIONREAD, [87]) = 0
[pid 30788] recvfrom(64, "\271\352\201\200\0\1\0\0\0\1\0\0\4ldap\10karinaco\3com\0\0"..., 1997, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("8.8.8.8")}, [16]) = 87
[pid 30788] close(64) = 0
[pid 30788] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 64
[pid 30788] fcntl(64, F_SETFD, FD_CLOEXEC) = 0
[pid 30788] setsockopt(64, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 30788] setsockopt(64, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid 30788] connect(64, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("79.175.167.12")}, 16) = 0
[pid 30788] write(64, "0\f\2\1\1`\7\2\1\3\4\0\200\0", 14) = 14
[pid 30788] write(64, "0K\2\1\2`F\2\1\3\0043userid=engine-ui,ou="..., 77) = 77
[pid 30788] write(2, "node: ../deps/uv/src/unix/core.c"..., 98node: ../deps/uv/src/unix/core.c:688: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
) = 98
[pid 30788] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid 30788] tgkill(30788, 30788, SIGABRT) = 0
[pid 30788] --- SIGABRT (Aborted) @ 0 (0) ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment