Skip to content

Instantly share code, notes, and snippets.

@Taytay
Created February 17, 2014 14:08
Show Gist options
  • Save Taytay/9051202 to your computer and use it in GitHub Desktop.
Save Taytay/9051202 to your computer and use it in GitHub Desktop.
#First, strace for MRI 2.1.0:
$ which ruby
/home/vagrant/.rvm/rubies/rbx-2.2.5/bin/ruby
$ strace ruby -v
execve("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby", ["ruby", "-v"], [/* 70 vars */]) = 0
brk(0) = 0x1829000
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) = 0x7ffc8fad0000
readlink("/proc/self/exe", "/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby", 4096) = 45
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/tls/x86_64/libruby.so.2.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/tls/x86_64", 0x7fff795bb3f0) = -1 ENOENT (No such file or directory)
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/tls/libruby.so.2.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/tls", 0x7fff795bb3f0) = -1 ENOENT (No such file or directory)
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/x86_64/libruby.so.2.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/x86_64", 0x7fff795bb3f0) = -1 ENOENT (No such file or directory)
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/libruby.so.2.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\0 \303\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19660818, ...}) = 0
mmap(NULL, 4828312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8f415000
mprotect(0x7ffc8f682000, 2097152, PROT_NONE) = 0
mmap(0x7ffc8f882000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26d000) = 0x7ffc8f882000
mmap(0x7ffc8f88b000, 150680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffc8f88b000
close(3) = 0
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -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=20340, ...}) = 0
mmap(NULL, 20340, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffc8facb000
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\200\30\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1802936, ...}) = 0
mmap(NULL, 3917016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8f058000
mprotect(0x7ffc8f20b000, 2093056, PROT_NONE) = 0
mmap(0x7ffc8f40a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b2000) = 0x7ffc8f40a000
mmap(0x7ffc8f410000, 17624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffc8f410000
close(3) = 0
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
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\0\200l\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135366, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8faca000
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8ee3b000
mprotect(0x7ffc8ee53000, 2093056, PROT_NONE) = 0
mmap(0x7ffc8f052000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7ffc8f052000
mmap(0x7ffc8f054000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffc8f054000
close(3) = 0
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
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\0\340!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0
mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8ec33000
mprotect(0x7ffc8ec3a000, 2093056, PROT_NONE) = 0
mmap(0x7ffc8ee39000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7ffc8ee39000
close(3) = 0
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
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\340\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14768, ...}) = 0
mmap(NULL, 2109704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8ea2f000
mprotect(0x7ffc8ea31000, 2097152, PROT_NONE) = 0
mmap(0x7ffc8ec31000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ffc8ec31000
close(3) = 0
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libcrypt.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\n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=43288, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8fac9000
mmap(NULL, 2327040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8e7f6000
mprotect(0x7ffc8e7ff000, 2097152, PROT_NONE) = 0
mmap(0x7ffc8e9ff000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7ffc8e9ff000
mmap(0x7ffc8ea01000, 184832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffc8ea01000
close(3) = 0
open("/home/vagrant/.rvm/rubies/ruby-2.1.0/bin/../lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
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\0pU\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1022320, ...}) = 0
mmap(NULL, 3117352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffc8e4fc000
mprotect(0x7ffc8e5f5000, 2093056, PROT_NONE) = 0
mmap(0x7ffc8e7f4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf8000) = 0x7ffc8e7f4000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8fac8000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8fac7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8fac6000
arch_prctl(ARCH_SET_FS, 0x7ffc8fac7700) = 0
mprotect(0x7ffc8f40a000, 16384, PROT_READ) = 0
mprotect(0x7ffc8e7f4000, 4096, PROT_READ) = 0
mprotect(0x7ffc8e9ff000, 4096, PROT_READ) = 0
mprotect(0x7ffc8ec31000, 4096, PROT_READ) = 0
mprotect(0x7ffc8f052000, 4096, PROT_READ) = 0
mprotect(0x7ffc8ee39000, 4096, PROT_READ) = 0
mprotect(0x7ffc8f882000, 20480, PROT_READ) = 0
mprotect(0x600000, 4096, PROT_READ) = 0
mprotect(0x7ffc8fad2000, 4096, PROT_READ) = 0
munmap(0x7ffc8facb000, 20340) = 0
set_tid_address(0x7ffc8fac79d0) = 395
set_robust_list(0x7ffc8fac79e0, 0x18) = 0
futex(0x7fff795bbcec, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7ffc8fac7700) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7ffc8ee41750, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8ee4acb0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7ffc8ee417e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7ffc8ee4acb0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3164592, ...}) = 0
mmap(NULL, 3164592, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffc8e1f7000
close(3) = 0
brk(0) = 0x1829000
brk(0x184a000) = 0x184a000
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
fstat(1, {st_mode=S_IFREG|0664, st_size=8707, ...}) = 0
fstat(2, {st_mode=S_IFREG|0664, st_size=8763, ...}) = 0
open("/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8facf000
read(3, "00400000-00401000 r-xp 00000000 "..., 1024) = 1024
read(3, "45 /lib/x86_6"..., 1024) = 1024
read(3, "007000 fc:00 2752540 "..., 1024) = 1024
read(3, "000-7ffc8f40e000 r--p 001b2000 f"..., 1024) = 1024
read(3, "00:00 0 \n7ffc8fad2000-7ffc8fad30"..., 1024) = 466
close(3) = 0
munmap(0x7ffc8facf000, 4096) = 0
sched_getaffinity(395, 32, {3, 0, 0, 0}) = 32
rt_sigaction(SIGVTALRM, {0x7ffc8f5cb730, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8f9c5000
brk(0x186c000) = 0x186c000
brk(0x1868000) = 0x1868000
clock_gettime(0x2 /* CLOCK_??? */, {0, 15850536}) = 0
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_CLOEXEC) = 3
fcntl(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
read(3, "\31C_#rl\335\t\351\340\337\322\230[\245\377", 16) = 16
close(3) = 0
gettimeofday({1392645962, 777342}, NULL) = 0
brk(0x1889000) = 0x1889000
brk(0x18aa000) = 0x18aa000
brk(0x18cb000) = 0x18cb000
brk(0x18ec000) = 0x18ec000
brk(0x190d000) = 0x190d000
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff795bba58) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(1, {st_mode=S_IFREG|0664, st_size=10802, ...}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff795bba58) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(2, {st_mode=S_IFREG|0664, st_size=10960, ...}) = 0
brk(0x192e000) = 0x192e000
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGINT, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGHUP, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGTERM, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGALRM, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGUSR1, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGUSR2, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGBUS, {0x7ffc8f54d750, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
sigaltstack({ss_sp=0x185df40, ss_flags=0, ss_size=8192}, {ss_sp=0, ss_flags=SS_DISABLE, ss_size=0}) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x7ffc8f54d770, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], NULL, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
brk(0x194f000) = 0x194f000
geteuid() = 1000
getegid() = 1000
brk(0x1970000) = 0x1970000
pipe2([3, 4], O_CLOEXEC) = 0
fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fcntl(3, F_GETFL) = 0 (flags O_RDONLY)
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(4, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl(4, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
pipe2([5, 6], O_CLOEXEC) = 0
fstat(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fstat(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fcntl(5, F_GETFL) = 0 (flags O_RDONLY)
fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(6, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffc8facc000
mprotect(0x7ffc8facc000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffc8faceff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffc8facf9d0, tls=0x7ffc8facf700, child_tidptr=0x7ffc8facf9d0) = 396
getuid() = 1000
geteuid() = 1000
getgid() = 1000
getegid() = 1000
fstat(1, {st_mode=S_IFREG|0664, st_size=14992, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc8f9c3000
write(1, "ruby 2.1.0p0 (2013-12-25 revisio"..., 56ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
) = 56
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {0x7ffc8f54d810, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, {SIG_IGN, [], SA_RESTORER|SA_SIGINFO, 0x7ffc8f08e4c0}, 8) = 0
write(4, "!", 1) = 1
futex(0x7ffc8facf9d0, FUTEX_WAIT, 396, NULL) = -1 EAGAIN (Resource temporarily unavailable)
munmap(0x7ffc8f9c5000, 1052672) = 0
exit_group(0) = ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment