Skip to content

Instantly share code, notes, and snippets.

@creationix creationix/error.log Secret
Created Feb 1, 2012

Embed
What would you like to do?
tim@touchsmart:~/luvit.clean$ strace -f ./build/luvit ~/joystick.lua
execve("./build/luvit", ["./build/luvit", "/home/tim/joystick.lua"], [/* 45 vars */]) = 0
brk(0) = 0xbba000
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) = 0x7f4a80dda000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=144409, ...}) = 0
mmap(NULL, 144409, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4a80db6000
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) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=538928, ...}) = 0
mmap(NULL, 2633960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4a80938000
mprotect(0x7f4a809bb000, 2093056, PROT_NONE) = 0
mmap(0x7f4a80bba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x7f4a80bba000
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) = 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) = 0x7f4a80734000
mprotect(0x7f4a80736000, 2097152, PROT_NONE) = 0
mmap(0x7f4a80936000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f4a80936000
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) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pl\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135500, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80db5000
mmap(NULL, 2212920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4a80517000
mprotect(0x7f4a8052f000, 2093056, PROT_NONE) = 0
mmap(0x7f4a8072e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4a8072e000
mmap(0x7f4a80730000, 13368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a80730000
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) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0
mmap(NULL, 2129016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4a8030f000
mprotect(0x7f4a80316000, 2093056, PROT_NONE) = 0
mmap(0x7f4a80515000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f4a80515000
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) = 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|0644, st_size=88384, ...}) = 0
mmap(NULL, 2184216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4a800f9000
mprotect(0x7f4a8010e000, 2093056, PROT_NONE) = 0
mmap(0x7f4a8030d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f4a8030d000
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) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \24\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1677624, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80db4000
mmap(NULL, 3793768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4a7fd5a000
mprotect(0x7f4a7feef000, 2093056, PROT_NONE) = 0
mmap(0x7f4a800ee000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f4a800ee000
mmap(0x7f4a800f3000, 21352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4a800f3000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80db3000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80db1000
arch_prctl(ARCH_SET_FS, 0x7f4a80db1740) = 0
mprotect(0x7f4a800ee000, 16384, PROT_READ) = 0
mprotect(0x7f4a8030d000, 4096, PROT_READ) = 0
mprotect(0x7f4a80515000, 4096, PROT_READ) = 0
mprotect(0x7f4a8072e000, 4096, PROT_READ) = 0
mprotect(0x7f4a80936000, 4096, PROT_READ) = 0
mprotect(0x7f4a80bba000, 4096, PROT_READ) = 0
mprotect(0x6cd000, 4096, PROT_READ) = 0
mprotect(0x7f4a80ddc000, 4096, PROT_READ) = 0
munmap(0x7f4a80db6000, 144409) = 0
set_tid_address(0x7f4a80db1a10) = 25802
set_robust_list(0x7f4a80db1a20, 0x18) = 0
futex(0x7fff085425fc, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fff085425fc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f4a80db1740) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f4a8051d6c0, [], SA_RESTORER|SA_SIGINFO, 0x7f4a80527060}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f4a8051d750, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f4a80527060}, 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
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = 0x40f0b000
clock_gettime(CLOCK_MONOTONIC, {289363, 147368738}) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 1000
getegid() = 1000
clock_gettime(CLOCK_MONOTONIC, {289363, 147650985}) = 0
epoll_create1(O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
brk(0) = 0xbba000
brk(0xbdb000) = 0xbdb000
eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
rt_sigaction(SIGCHLD, {0x4796fc, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f4a80527060}, NULL, 8) = 0
open("/etc/resolv.conf", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80dd9000
read(5, "# Generated by NetworkManager\nna"..., 4096) = 50
read(5, "", 4096) = 0
close(5) = 0
munmap(0x7f4a80dd9000, 4096) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80dd9000
read(5, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
read(5, "", 4096) = 0
close(5) = 0
munmap(0x7f4a80dd9000, 4096) = 0
uname({sys="Linux", node="touchsmart", ...}) = 0
open("/dev/urandom", O_RDONLY) = 5
fstat(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff08542228) = -1 EINVAL (Invalid argument)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a80dd9000
read(5, "\347MK\331\203\306\207J\260\2330\376B\"\264\333\203\227\7BZ\227f\274I\377\21&N\200\361\251"..., 4096) = 4096
close(5) = 0
munmap(0x7f4a80dd9000, 4096) = 0
futex(0x7f4a809370b0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getcwd("/home/tim/luvit.clean", 4096) = 22
rt_sigaction(SIGPIPE, {0x4796fc, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f4a80527060}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x4796fc, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f4a80527060}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x4796fc, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f4a80527060}, NULL, 8) = 0
futex(0x6d0c40, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/home/tim/joystick.lua", {st_mode=S_IFREG|0664, st_size=1703, ...}) = 0
lstat("/home/tim/joystick.lua", {st_mode=S_IFREG|0664, st_size=1703, ...}) = 0
open("/home/tim/joystick.lua", O_RDONLY) = 5
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
brk(0xbfd000) = 0xbfd000
pread(5, "local Bit = require('bit')\nlocal"..., 65536, 0) = 1703
brk(0xbed000) = 0xbed000
pread(5, "", 65536, 1703) = 0
close(5) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = 0x409d7000
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4a80d70000
mprotect(0x7f4a80d70000, 4096, PROT_NONE) = 0
clone(Process 25803 attached
child_stack=0x7f4a80daffb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f4a80db09d0, tls=0x7f4a80db0700, child_tidptr=0x7f4a80db09d0) = 25803
[pid 25802] rt_sigprocmask(SIG_SETMASK, [], <unfinished ...>
[pid 25803] set_robust_list(0x7f4a80db09e0, 0x18 <unfinished ...>
[pid 25802] <... rt_sigprocmask resumed> NULL, 8) = 0
[pid 25803] <... set_robust_list resumed> ) = 0
[pid 25802] epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=4, u64=4294967300}}) = 0
[pid 25803] open("/dev/input/js0", O_RDONLY <unfinished ...>
[pid 25802] clock_gettime(CLOCK_MONOTONIC, {289363, 154208111}) = 0
[pid 25802] epoll_wait(3, <unfinished ...>
[pid 25803] <... open resumed> ) = 5
[pid 25802] <... epoll_wait resumed> {}, 64, 0) = 0
[pid 25802] clock_gettime(CLOCK_MONOTONIC, {289363, 154339936}) = 0
[pid 25803] write(4, "\1\0\0\0\0\0\0\0", 8 <unfinished ...>
[pid 25802] futex(0x6d1800, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 25803] <... write resumed> ) = 8
[pid 25803] futex(0x6d1800, FUTEX_WAKE_PRIVATE, 1) = 1
[pid 25802] <... futex resumed> ) = 0
[pid 25803] futex(0x6d1884, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
[pid 25802] futex(0x6d1800, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 25802] write(1, "\33[1;32m\"\33[0;32mon_open\33[1;32m\"\33["..., 57"on_open" { fd = 5 }
) = 57
[pid 25802] write(1, "\33[1;32m\"\33[0;32mstart_read\33[1;32m"..., 38"start_read"
) = 38
[pid 25802] futex(0x6d1884, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x6d1880, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
[pid 25803] <... futex resumed> ) = 0
[pid 25802] <... futex resumed> ) = 1
[pid 25802] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 25803] futex(0x6d1840, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 25802] <... clock_gettime resumed> {289363, 155001539}) = 0
[pid 25803] <... futex resumed> ) = 0
[pid 25802] epoll_wait(3, <unfinished ...>
[pid 25803] pread(5, <unfinished ...>
[pid 25802] <... epoll_wait resumed> {{EPOLLIN, {u32=4, u64=4294967300}}}, 64, 59743) = 1
[pid 25803] <... pread resumed> 0xbcd460, 8, 1089624168) = -1 ESPIPE (Illegal seek)
[pid 25802] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 25803] futex(0x6d1884, FUTEX_WAIT_PRIVATE, 3, NULL <unfinished ...>
[pid 25802] <... clock_gettime resumed> {289363, 155201810}) = 0
[pid 25802] read(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 25802] write(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 25802] write(2, "\33[1;32m\"\33[0;32mError\33[1;32m\"\33[0m"..., 186"Error" { source = "after_fs", message = "UNKNOWN, unknown error", code = "UNKNOWN" }
) = 186
[pid 25802] exit_group(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.