Skip to content

Instantly share code, notes, and snippets.

@k-bx
Created June 24, 2014 19:19
Show Gist options
  • Save k-bx/cd3cb178412ea9c50e71 to your computer and use it in GitHub Desktop.
Save k-bx/cd3cb178412ea9c50e71 to your computer and use it in GitHub Desktop.
sudo strace ./dist/build/RedisBug/RedisBug
execve("./dist/build/RedisBug/RedisBug", ["./dist/build/RedisBug/RedisBug"], [/* 27 vars */]) = 0
brk(0) = 0x22f8000
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) = 0x7fddae1bb000
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=142305, ...}) = 0
mmap(NULL, 142305, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fddae198000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libgmp.so.10", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\217\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=475168, ...}) = 0
mmap(NULL, 2570400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddadd27000
mprotect(0x7fddadd93000, 2093056, PROT_NONE) = 0
mmap(0x7fddadf92000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6b000) = 0x7fddadf92000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1071552, ...}) = 0
mmap(NULL, 3166568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddada21000
mprotect(0x7fddadb26000, 2093056, PROT_NONE) = 0
mmap(0x7fddadd25000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x104000) = 0x7fddadd25000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P#\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31792, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae197000
mmap(NULL, 2129016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddad819000
mprotect(0x7fddad820000, 2093056, PROT_NONE) = 0
mmap(0x7fddada1f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fddada1f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddad615000
mprotect(0x7fddad618000, 2093056, PROT_NONE) = 0
mmap(0x7fddad817000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fddad817000
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\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1845024, ...}) = 0
mmap(NULL, 3953344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddad24f000
mprotect(0x7fddad40b000, 2093056, PROT_NONE) = 0
mmap(0x7fddad60a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bb000) = 0x7fddad60a000
mmap(0x7fddad610000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fddad610000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0po\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=141574, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae196000
mmap(NULL, 2217264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddad031000
mprotect(0x7fddad04a000, 2093056, PROT_NONE) = 0
mmap(0x7fddad249000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7fddad249000
mmap(0x7fddad24b000, 13616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fddad24b000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae195000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae193000
arch_prctl(ARCH_SET_FS, 0x7fddae193740) = 0
mprotect(0x7fddad60a000, 16384, PROT_READ) = 0
mprotect(0x7fddad249000, 4096, PROT_READ) = 0
mprotect(0x7fddad817000, 4096, PROT_READ) = 0
mprotect(0x7fddada1f000, 4096, PROT_READ) = 0
mprotect(0x7fddadd25000, 4096, PROT_READ) = 0
mprotect(0x7fddadf92000, 4096, PROT_READ) = 0
mprotect(0x1197000, 4096, PROT_READ) = 0
mprotect(0x7fddae1bd000, 4096, PROT_READ) = 0
munmap(0x7fddae198000, 142305) = 0
set_tid_address(0x7fddae193a10) = 9941
set_robust_list(0x7fddae193a20, 24) = 0
futex(0x7fffef2dc8f0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7fddae193740) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7fddad0379f0, [], SA_RESTORER|SA_SIGINFO, 0x7fddad041340}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fddad037a80, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fddad041340}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(0) = 0x22f8000
brk(0x2319000) = 0x2319000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=11472400, ...}) = 0
mmap(NULL, 11472400, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fddac540000
close(3) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 685}, ru_stime={0, 1810}, ...}) = 0
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddac340000
munmap(0x7fddac340000, 786432) = 0
munmap(0x7fddac500000, 262144) = 0
timer_create(CLOCK_MONOTONIC, {(nil), SIGVTALRM, SIGEV_SIGNAL, {...}}, {0}) = 0
rt_sigaction(SIGVTALRM, {0xdc1c10, [], SA_RESTORER|SA_RESTART, 0x7fddad285ff0}, NULL, 8) = 0
timer_settime(0, 0, {it_interval={0, 1000000}, it_value={0, 1000000}}, NULL) = 0
rt_sigaction(SIGINT, {0xdc95c0, [], SA_RESTORER, 0x7fddad285ff0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, NULL, {0xdc95c0, [], SA_RESTORER, 0x7fddad285ff0}, 8) = 0
rt_sigaction(SIGINT, {0xdc95c0, [], SA_RESTORER, 0x7fddad285ff0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0xdc9390, [], SA_RESTORER, 0x7fddad285ff0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {0xdc9480, [], SA_RESTORER, 0x7fddad285ff0}, NULL, 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 784}, ru_stime={0, 1998}, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigaction(SIGINT, {0xdc9780, [], SA_RESTORER|SA_RESETHAND|SA_SIGINFO, 0x7fddad285ff0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae1ba000
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 140590085545984
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7fddae1ba000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=142305, ...}) = 0
mmap(NULL, 142305, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fddae198000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/tls", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=102400, ...}) = 0
open("/lib/tls/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/lib/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7fffef2d7dd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnss_db.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 0
munmap(0x7fddae198000, 142305) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=142305, ...}) = 0
mmap(NULL, 142305, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fddae198000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=47712, ...}) = 0
mmap(NULL, 2144392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fddac1f4000
mprotect(0x7fddac1ff000, 2093056, PROT_NONE) = 0
mmap(0x7fddac3fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7fddac3fe000
close(3) = 0
mprotect(0x7fddac3fe000, 4096, PROT_READ) = 0
munmap(0x7fddae198000, 142305) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2932, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae1ba000
read(3, "# Internet (IP) protocols\n#\n# Up"..., 4096) = 2932
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 2932
close(3) = 0
munmap(0x7fddae1ba000, 4096) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
socket(PF_NETLINK, SOCK_RAW, 0) = 3
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=9941, groups=00000000}, [12]) = 0
sendto(3, "\24\0\0\0\26\0\1\3\256\316\251S\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"D\0\0\0\24\0\2\0\256\316\251S\325&\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 300
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\256\316\251S\325&\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\256\316\251S\325&\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
close(3) = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae1ba000
read(3, "# The \"order\" line is only used "..., 4096) = 92
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7fddae1ba000, 4096) = 0
futex(0x7fddad6133d0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=194, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae1ba000
read(3, "# Dynamic resolv.conf(5) file fo"..., 4096) = 194
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7fddae1ba000, 4096) = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=373, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae1ba000
read(3, "127.0.0.1\tlocalhost\n127.0.1.1\tkb"..., 4096) = 373
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 373
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7fddae1ba000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(6379), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
select(4, [], [3], NULL, {0, 994004}) = 1 (out [3], left {0, 994001})
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
fcntl(3, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffef2d87a0) = -1 ENOTTY (Inappropriate ioctl for device)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffef2d87a0) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffef2d87a0) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffef2d87a0) = -1 ENOTTY (Inappropriate ioctl for device)
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
write(3, "*7\r\n$13\r\nZRANGEBYSCORE\r\n$7\r\nbigz"..., 95) = 95
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 95
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
read(3, 0x7fddac4ec020, 8096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [], NULL, {0, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {0, 992175}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 991644}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 990790}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 989927}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 989124}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 988335}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 987951}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 987606}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 987155}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 986702}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 986267}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, {0, 985786}) = 1 (in [3], left {0, 985784})
read(3, "*15000\r\n$48\r\nvalue-value-value-v"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 140590055321152
read(3, "4867613695\r\n$47\r\nvalue-value-val"..., 8096) = 8096
read(3, "ue-value-13849.457596658684\r\n$48"..., 8096) = 8096
read(3, "21388.431763253186\r\n$48\r\nvalue-v"..., 8096) = 8096
read(3, "55\r\n$47\r\nvalue-value-value-value"..., 8096) = 8096
read(3, "9.90256924216\r\n$48\r\nvalue-value-"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
read(3, "e-value-value-value-value-44283."..., 8096) = 8096
read(3, "alue-51161.38249958811\r\n$47\r\nval"..., 8096) = 8096
read(3, ".55896965515\r\n$47\r\nvalue-value-v"..., 8096) = 8096
read(3, "value-value-value-value-value-66"..., 8096) = 8096
read(3, "849.22311037392\r\n$47\r\nvalue-valu"..., 8096) = 8096
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 2648}, ru_stime={0, 5338}, ...}) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 2650}, ru_stime={0, 5347}, ...}) = 0
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 2
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
read(3, "\r\nvalue-value-value-value-value-"..., 8096) = 8096
read(3, "-value-value-value-89616.1986679"..., 8096) = 8096
read(3, "078215445\r\n$47\r\nvalue-value-valu"..., 8096) = 8096
read(3, "833.42367977269\r\n$46\r\nvalue-valu"..., 8096) = 8096
read(3, "lue-value-value-value-111770.769"..., 8096) = 8096
read(3, "0194\r\n$48\r\nvalue-value-value-val"..., 8096) = 8096
read(3, "e-value-value-value-126047.29242"..., 8096) = 8096
read(3, "\r\n$48\r\nvalue-value-value-value-v"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 8096
read(3, "1\r\n$48\r\nvalue-value-value-value-"..., 8096) = 8096
read(3, "8\r\nvalue-value-value-value-value"..., 8096) = 8096
read(3, "-value-value-value-value-154512."..., 8096) = 8096
read(3, "value-value-value-value-value-16"..., 8096) = 8096
mmap(0x7fddac500000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddae093000
munmap(0x7fddae093000, 1048576) = 0
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fddabff4000
munmap(0x7fddabff4000, 49152) = 0
munmap(0x7fddac100000, 999424) = 0
read(3, "lue-value-value-value-value-1689"..., 8096) = 8096
read(3, "alue-value-value-value-176132.87"..., 8096) = 8096
read(3, "lue-value-value-183226.407751658"..., 8096) = 8096
read(3, "-189326.72822995548\r\n$47\r\nvalue-"..., 8096) = 8096
read(3, ".01037619187\r\n$48\r\nvalue-value-v"..., 8096) = 8096
read(3, "7617\r\n$48\r\nvalue-value-value-val"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 8096
read(3, "\n$47\r\nvalue-value-value-value-va"..., 8096) = 8096
read(3, "8\r\nvalue-value-value-value-value"..., 8096) = 8096
read(3, "lue-value-value-value-226025.850"..., 8096) = 8096
read(3, "ue-value-value-232349.7064324768"..., 8096) = 8096
read(3, "lue-value-239408.1751059546\r\n$48"..., 8096) = 8096
read(3, "246767.04426520324\r\n$48\r\nvalue-v"..., 8096) = 8096
read(3, "4\r\n$48\r\nvalue-value-value-value-"..., 8096) = 8096
read(3, "value-value-value-value-value-26"..., 8096) = 8096
read(3, "value-value-value-value-270385.2"..., 8096) = 8096
read(3, "alue-value-value-value-value-279"..., 8096) = 8096
read(3, "e-value-value-value-value-286055"..., 8096) = 8096
read(3, "e-value-value-value-value-293507"..., 8096) = 8096
read(3, "165992574\r\n$48\r\nvalue-value-valu"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 8096
read(3, "930.43451859005\r\n$48\r\nvalue-valu"..., 8096) = 8096
read(3, "ue-314482.89873640833\r\n$47\r\nvalu"..., 8096) = 8096
read(3, "878555405\r\n$47\r\nvalue-value-valu"..., 8096) = 8096
read(3, "value-330614.3010638095\r\n$47\r\nva"..., 8096) = 8096
read(3, "8.16131098365\r\n$48\r\nvalue-value-"..., 8096) = 8096
read(3, "45158.21744690643\r\n$47\r\nvalue-va"..., 8096) = 8096
read(3, "5.29511928\r\n$47\r\nvalue-value-val"..., 8096) = 8096
read(3, "60.08176991757\r\n$48\r\nvalue-value"..., 8096) = 8096
read(3, "e-value-368768.6106986253\r\n$47\r\n"..., 8096) = 8096
read(3, "ue-value-376378.7072366091\r\n$47\r"..., 8096) = 8096
read(3, "lue-value-value-383559.648567263"..., 8096) = 8096
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 3507}, ru_stime={0, 6372}, ...}) = 0
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 3513}, ru_stime={0, 6396}, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
read(3, "alue-value-value-value-391410.48"..., 8096) = 8096
read(3, "\nvalue-value-value-value-value-3"..., 8096) = 8096
read(3, "6986\r\n$47\r\nvalue-value-value-val"..., 8096) = 8096
read(3, "2760.7855571964\r\n$47\r\nvalue-valu"..., 8096) = 8096
read(3, "alue-418889.6552162712\r\n$47\r\nval"..., 8096) = 8096
read(3, "e-425815.4369154927\r\n$48\r\nvalue-"..., 8096) = 8096
read(3, "lue-value-433277.76302214863\r\n$4"..., 8096) = 8096
read(3, "ue-value-value-439953.4941074315"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 8096
read(3, "value-value-value-447319.8126292"..., 8096) = 8096
read(3, "alue-value-value-value-454301.60"..., 8096) = 8096
read(3, "7\r\nvalue-value-value-value-value"..., 8096) = 8096
read(3, "\r\nvalue-value-value-value-value-"..., 8096) = 8096
read(3, "\r\n$48\r\nvalue-value-value-value-v"..., 8096) = 8096
read(3, "69\r\n$47\r\nvalue-value-value-value"..., 8096) = 8096
read(3, "493118.3351875835\r\n$47\r\nvalue-va"..., 8096) = 8096
read(3, "499920.84716604615\r\n$48\r\nvalue-v"..., 8096) = 8096
read(3, "alue-value-508318.7130098807\r\n$4"..., 8096) = 8096
read(3, "lue-value-value-value-515789.538"..., 8096) = 8096
read(3, "value-523144.3924202083\r\n$48\r\nva"..., 8096) = 8096
read(3, "112311254\r\n$47\r\nvalue-value-valu"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 8096
read(3, "value-value-value-value-value-53"..., 8096) = 8096
read(3, "lue-value-value-543935.035492929"..., 8096) = 8096
read(3, "7.1062168434\r\n$47\r\nvalue-value-v"..., 8096) = 8096
read(3, "\nvalue-value-value-value-value-5"..., 8096) = 8096
read(3, "alue-value-value-565350.64575410"..., 8096) = 8096
read(3, "alue-572827.2820693909\r\n$47\r\nval"..., 8096) = 8096
read(3, "95\r\n$47\r\nvalue-value-value-value"..., 8096) = 8096
read(3, "ue-value-value-value-587067.1129"..., 8096) = 8096
read(3, "value-value-595118.4031015002\r\n$"..., 8096) = 8096
read(3, "2755.0987772348\r\n$47\r\nvalue-valu"..., 8096) = 8096
read(3, "7\r\nvalue-value-value-value-value"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 140590050230272
read(3, "value-value-value-value-617080.1"..., 8096) = 8096
read(3, "value-624378.1678696409\r\n$46\r\nva"..., 8096) = 8096
read(3, "9805206\r\n$47\r\nvalue-value-value-"..., 8096) = 8096
read(3, "alue-value-value-value-value-640"..., 8096) = 8096
read(3, "lue-value-648634.7750627556\r\n$47"..., 8096) = 8096
read(3, "8.1358307615\r\n$47\r\nvalue-value-v"..., 8096) = 8096
read(3, "e-value-value-value-664261.14416"..., 8096) = 8096
read(3, "1351.5604195704\r\n$47\r\nvalue-valu"..., 8096) = 8096
read(3, "\r\n$47\r\nvalue-value-value-value-v"..., 8096) = 8096
read(3, "ue-value-value-value-686694.7552"..., 8096) = 8096
read(3, "94854.0897481983\r\n$47\r\nvalue-val"..., 8096) = 8096
read(3, "597\r\n$47\r\nvalue-value-value-valu"..., 8096) = 8096
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 8096
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 4185}, ru_stime={0, 7277}, ...}) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 4189}, ru_stime={0, 7287}, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
read(3, "ue-value-value-value-value-70870"..., 8096) = 8096
read(3, "lue-value-716745.713260872\r\n$47\r"..., 8096) = 8096
read(3, "12287\r\n$47\r\nvalue-value-value-va"..., 8096) = 8096
read(3, "alue-value-value-value-value-733"..., 8096) = 8096
read(3, "value-value-value-741204.4275117"..., 8096) = 4402
read(3, 0x7fddac4ec020, 8096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [], NULL, {0, 0}) = 0 (Timeout)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = 0
select(4, [3], [], NULL, {0, 0}) = 0 (Timeout)
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TIMER, si_pid=0, si_uid=0, si_value=0} ---
rt_sigreturn() = -1 EINTR (Interrupted system call)
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
@k-bx
Copy link
Author

k-bx commented Jun 24, 2014

Three lines at bottom repeat until I stop program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment