Skip to content

Instantly share code, notes, and snippets.

@ccope
Created August 15, 2017 10:26
Show Gist options
  • Save ccope/12b3ffb98d5e987603f1a072144364ae to your computer and use it in GitHub Desktop.
Save ccope/12b3ffb98d5e987603f1a072144364ae to your computer and use it in GitHub Desktop.
nightly release strace
execve("./target/release/oom", ["./target/release/oom"], [/* 82 vars */]) = 0
brk(NULL) = 0x561b1fa54000
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) = 0x7fa20c30c000
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=172301, ...}) = 0
mmap(NULL, 172301, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa20c2e1000
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\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa20bee5000
mprotect(0x7fa20bee8000, 2093056, PROT_NONE) = 0
mmap(0x7fa20c0e7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fa20c0e7000
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\0\0!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31712, ...}) = 0
mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa20bcdd000
mprotect(0x7fa20bce4000, 2093056, PROT_NONE) = 0
mmap(0x7fa20bee3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fa20bee3000
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\0\260`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20c2e0000
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa20bac0000
mprotect(0x7fa20bad8000, 2093056, PROT_NONE) = 0
mmap(0x7fa20bcd7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fa20bcd7000
mmap(0x7fa20bcd9000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa20bcd9000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgcc_s.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=89696, ...}) = 0
mmap(NULL, 2185488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa20b8aa000
mprotect(0x7fa20b8c0000, 2093056, PROT_NONE) = 0
mmap(0x7fa20babf000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fa20babf000
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) = 0x7fa20b4e0000
mprotect(0x7fa20b6a0000, 2097152, PROT_NONE) = 0
mmap(0x7fa20b8a0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fa20b8a0000
mmap(0x7fa20b8a6000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa20b8a6000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20c2df000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20c2dd000
arch_prctl(ARCH_SET_FS, 0x7fa20c2dd840) = 0
mprotect(0x7fa20b8a0000, 16384, PROT_READ) = 0
mprotect(0x7fa20bcd7000, 4096, PROT_READ) = 0
mprotect(0x7fa20bee3000, 4096, PROT_READ) = 0
mprotect(0x7fa20c0e7000, 4096, PROT_READ) = 0
mprotect(0x561b1e8ef000, 16384, PROT_READ) = 0
mprotect(0x7fa20c30e000, 4096, PROT_READ) = 0
munmap(0x7fa20c2e1000, 172301) = 0
set_tid_address(0x7fa20c2ddb10) = 24664
set_robust_list(0x7fa20c2ddb20, 24) = 0
rt_sigaction(SIGRTMIN, {0x7fa20bac5b50, [], SA_RESTORER|SA_SIGINFO, 0x7fa20bad1390}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fa20bac5be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fa20bad1390}, 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
readlink("/etc/malloc.conf", 0x7fff0b86e8d0, 4096) = -1 ENOENT (No such file or directory)
brk(NULL) = 0x561b1fa54000
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20b2e0000
munmap(0x7fa20b2e0000, 2097152) = 0
mmap(NULL, 4190208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20b0e1000
munmap(0x7fa20b0e1000, 1175552) = 0
munmap(0x7fa20b400000, 917504) = 0
open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
read(3, "0-3\n", 8192) = 4
close(3) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7fa20b5154b0}, {SIG_DFL, [], 0}, 8) = 0
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20b000000
open("/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "561b1e69a000-561b1e6f0000 r-xp 0"..., 1024) = 1024
read(3, "linux-gnu/libgcc_s.so.1\n7fa20b8c"..., 1024) = 1024
read(3, " /lib/x86_64-linux-"..., 1024) = 1024
read(3, "7fa20c311000 rw-p 00000000 00:00"..., 1024) = 361
close(3) = 0
sched_getaffinity(24664, 32, [f, 0, 0, 0, 0, 0, 0, 0]) = 8
rt_sigaction(SIGSEGV, {0x561b1e6aca20, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7fa20bad1390}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x561b1e6aca20, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7fa20bad1390}, NULL, 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa20c30a000
sigaltstack({ss_sp=0x7fa20c30a000, ss_flags=0, ss_size=8192}, NULL) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fff0b070780} ---
write(2, "\nthread '", 9) = 9
write(2, "main", 4) = 4
write(2, "' has overflowed its stack\n", 27) = 27
write(2, "fatal runtime error: ", 21) = 21
write(2, "stack overflow", 14) = 14
write(2, "\n", 1) = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(24664, 24664, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=24664, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment