Skip to content

Instantly share code, notes, and snippets.

@lukas-buergi
Created July 25, 2016 14:15
Show Gist options
  • Save lukas-buergi/cbacf489e958ee82fbf67997e867991a to your computer and use it in GitHub Desktop.
Save lukas-buergi/cbacf489e958ee82fbf67997e867991a to your computer and use it in GitHub Desktop.
execve("/home/t4b/bin/steam", ["steam"], [/* 37 vars */]) = 0
brk(0) = 0x160e000
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) = 0x7f9b76040000
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=136238, ...}) = 0
mmap(NULL, 136238, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9b7601e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libncurses.so.5", 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\320l\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=151120, ...}) = 0
mmap(NULL, 2246824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9b75bfd000
mprotect(0x7f9b75c21000, 2093056, PROT_NONE) = 0
mmap(0x7f9b75e20000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x7f9b75e20000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtinfo.so.5", 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@\316\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=171800, ...}) = 0
mmap(NULL, 2269152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9b759d3000
mprotect(0x7f9b759f9000, 2093056, PROT_NONE) = 0
mmap(0x7f9b75bf8000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f9b75bf8000
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, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b7601d000
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9b757cf000
mprotect(0x7f9b757d2000, 2093056, PROT_NONE) = 0
mmap(0x7f9b759d1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9b759d1000
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\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1738176, ...}) = 0
mmap(NULL, 3844640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9b75424000
mprotect(0x7f9b755c6000, 2093056, PROT_NONE) = 0
mmap(0x7f9b757c5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7f9b757c5000
mmap(0x7f9b757cb000, 14880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9b757cb000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b7601c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b7601b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b7601a000
arch_prctl(ARCH_SET_FS, 0x7f9b7601b700) = 0
mprotect(0x7f9b757c5000, 16384, PROT_READ) = 0
mprotect(0x7f9b759d1000, 4096, PROT_READ) = 0
mprotect(0x7f9b75bf8000, 16384, PROT_READ) = 0
mprotect(0x7f9b75e20000, 4096, PROT_READ) = 0
mprotect(0x6f1000, 4096, PROT_READ) = 0
mprotect(0x7f9b76042000, 4096, PROT_READ) = 0
munmap(0x7f9b7601e000, 136238) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
close(3) = 0
brk(0) = 0x160e000
brk(0x160f000) = 0x160f000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1607760, ...}) = 0
mmap(NULL, 1607760, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9b75e91000
close(3) = 0
brk(0x1610000) = 0x1610000
brk(0x1611000) = 0x1611000
getuid() = 1000
getgid() = 1000
geteuid() = 1000
getegid() = 1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x1612000) = 0x1612000
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9b7603f000
read(3, "MemTotal: 16374320 kB\nMemF"..., 1024) = 1024
close(3) = 0
munmap(0x7f9b7603f000, 4096) = 0
brk(0x1613000) = 0x1613000
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f9b754590e0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f9b754590e0}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f9b754590e0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f9b754590e0}, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, 8) = 0
uname({sys="Linux", node="celine", ...}) = 0
brk(0x1614000) = 0x1614000
brk(0x1615000) = 0x1615000
brk(0x1616000) = 0x1616000
stat("/home/t4b", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid() = 6188
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0
mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7f9b76039000
close(3) = 0
getppid() = 6185
brk(0x1617000) = 0x1617000
brk(0x1618000) = 0x1618000
brk(0x1619000) = 0x1619000
getpgrp() = 6185
rt_sigaction(SIGCHLD, {0x4464a0, [], SA_RESTORER|SA_RESTART, 0x7f9b754590e0}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7f9b754590e0}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=63889, rlim_max=63889}) = 0
brk(0x161a000) = 0x161a000
brk(0x161b000) = 0x161b000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/home/t4b/bin/steam", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7ffcdae608f0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
read(3, "#!/bin/bash\n# Export so all chil"..., 80) = 80
lseek(3, 0, SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=64*1024, rlim_max=64*1024}) = 0
fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor)
dup2(3, 255) = 255
close(3) = 0
fcntl(255, F_SETFD, FD_CLOEXEC) = 0
fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(255, {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
lseek(255, 0, SEEK_CUR) = 0
brk(0x161c000) = 0x161c000
read(255, "#!/bin/bash\n# Export so all chil"..., 161) = 161
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/t4b/bin/steam", {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
stat("/home/t4b/bin/steam", {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/home/t4b/bin/steam", X_OK) = 0
stat("/home/t4b/bin/steam", {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/home/t4b/bin/steam", R_OK) = 0
stat("/home/t4b/bin/steam", {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
stat("/home/t4b/bin/steam", {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/home/t4b/bin/steam", X_OK) = 0
stat("/home/t4b/bin/steam", {st_mode=S_IFREG|0500, st_size=161, ...}) = 0
geteuid() = 1000
getegid() = 1000
getuid() = 1000
getgid() = 1000
access("/home/t4b/bin/steam", R_OK) = 0
brk(0x161d000) = 0x161d000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9b7601b9d0) = 6189
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x443660, [], SA_RESTORER, 0x7f9b754590e0}, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, 8) = 0
wait4(-1, 0x7ffcdae606c0, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(-1, /home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: retry: No child processes
/home/t4b/bin/steam: fork: Resource temporarily unavailable
[{WIFEXITED(s) && WEXITSTATUS(s) == 254}], 0, NULL) = 6189
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f9b754590e0}, {0x443660, [], SA_RESTORER, 0x7f9b754590e0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6189, si_uid=1000, si_status=254, si_utime=0, si_stime=0} ---
wait4(-1, 0x7ffcdae60110, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn() = 0
read(255, "", 161) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(254) = ?
+++ exited with 254 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment