Skip to content

Instantly share code, notes, and snippets.

@kenetik
Created November 17, 2013 22:07
Show Gist options
  • Save kenetik/7518849 to your computer and use it in GitHub Desktop.
Save kenetik/7518849 to your computer and use it in GitHub Desktop.
mediacenterjs error trace
--PARTIAL STRACE OF PID FOR INDEX.JS WHEN THE FOLLOWING ERROR IS PRINTED TO CONSOLE--
Database error: Error: write EPIPE
Database error: Error: write EPIPE
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
Child process exited
-------------------------------------------------------------------------------------
write(12, "HTTP/1.1 200 OK\r\nX-Powered-By: E"..., 774) = 774
gettimeofday({1384725764, 740042}, NULL) = 0
gettimeofday({1384725764, 740522}, NULL) = 0
gettimeofday({1384725764, 740633}, NULL) = 0
gettimeofday({1384725764, 740985}, NULL) = 0
gettimeofday({1384725764, 741069}, NULL) = 0
gettimeofday({1384725764, 741291}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 741636}, NULL) = 0
gettimeofday({1384725764, 741883}, NULL) = 0
gettimeofday({1384725764, 741969}, NULL) = 0
gettimeofday({1384725764, 742275}, NULL) = 0
gettimeofday({1384725764, 742412}, NULL) = 0
gettimeofday({1384725764, 742571}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 742877}, NULL) = 0
gettimeofday({1384725764, 743176}, NULL) = 0
gettimeofday({1384725764, 743260}, NULL) = 0
gettimeofday({1384725764, 743578}, NULL) = 0
gettimeofday({1384725764, 743714}, NULL) = 0
gettimeofday({1384725764, 743933}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 744803}, NULL) = 0
gettimeofday({1384725764, 745069}, NULL) = 0
gettimeofday({1384725764, 745279}, NULL) = 0
gettimeofday({1384725764, 745383}, NULL) = 0
gettimeofday({1384725764, 745591}, NULL) = 0
gettimeofday({1384725764, 745672}, NULL) = 0
gettimeofday({1384725764, 745807}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 746127}, NULL) = 0
gettimeofday({1384725764, 746376}, NULL) = 0
gettimeofday({1384725764, 746479}, NULL) = 0
gettimeofday({1384725764, 746959}, NULL) = 0
gettimeofday({1384725764, 747048}, NULL) = 0
gettimeofday({1384725764, 747288}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 747582}, NULL) = 0
gettimeofday({1384725764, 747730}, NULL) = 0
gettimeofday({1384725764, 747837}, NULL) = 0
gettimeofday({1384725764, 747993}, NULL) = 0
gettimeofday({1384725764, 748078}, NULL) = 0
gettimeofday({1384725764, 748217}, NULL) = 0
gettimeofday({1384725764, 748674}, NULL) = 0
gettimeofday({1384725764, 748854}, NULL) = 0
gettimeofday({1384725764, 748956}, NULL) = 0
gettimeofday({1384725764, 749132}, NULL) = 0
gettimeofday({1384725764, 749213}, NULL) = 0
gettimeofday({1384725764, 749395}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xdeffe4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xdeffe0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xdeffa0, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 752164}, NULL) = 0
stat("/root/mediacenterjs/bin/sqlite3/sqlite3", {st_mode=S_IFREG|0755, st_size=606000, ...}) = 0
gettimeofday({1384725764, 753508}, NULL) = 0
gettimeofday({1384725764, 753639}, NULL) = 0
gettimeofday({1384725764, 753770}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
socketpair(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0, [18, 19]) = 0
socketpair(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0, [22, 23]) = 0
socketpair(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0, [24, 25]) = 0
pipe2([26, 27], O_CLOEXEC) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
read(3, "*", 1) = 1
rt_sigaction(SIGCHLD, {0x6d3e50, ~[RTMIN RT_1], SA_RESTORER, 0x7f9385c8acb0}, NULL, 8) = 0
write(4, "*", 1) = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9386ccaa10) = 6830
close(27) = 0
read(26, "\2\0\0\0", 4) = 4
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "*", 1) = 1
write(7, "H\376\336\0\0\0\0\0\21\0\0\0\0\0\0\0", 16) = 16
write(4, "*", 1) = 1
rt_sigreturn(0x2) = 4
close(26) = 0
close(19) = 0
ioctl(18, FIONBIO, [1]) = 0
close(23) = 0
ioctl(22, FIONBIO, [1]) = 0
close(25) = 0
ioctl(24, FIONBIO, [1]) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 766917}, NULL) = 0
gettimeofday({1384725764, 767286}, NULL) = 0
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1384725764, 769385}, NULL) = 0
write(18, "CREATE TABLE IF NOT EXISTS movie"..., 253) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
clock_gettime(CLOCK_MONOTONIC, {28894, 729812201}) = 0
gettimeofday({1384725764, 770382}, NULL) = 0
gettimeofday({1384725764, 770519}, NULL) = 0
gettimeofday({1384725764, 770869}, NULL) = 0
close(18) = 0
write(2, "Database error: Error: write EPI"..., 35) = 35
futex(0x7f93800008c8, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "Database error: Error: write EPI"..., 35) = 35
epoll_ctl(5, EPOLL_CTL_ADD, 22, {EPOLLIN, {u32=22, u64=22}}) = 0
epoll_ctl(5, EPOLL_CTL_ADD, 24, {EPOLLIN, {u32=24, u64=24}}) = 0
epoll_ctl(5, EPOLL_CTL_MOD, 17, {EPOLLIN, {u32=17, u64=17}}) = 0
epoll_ctl(5, EPOLL_CTL_MOD, 12, {EPOLLIN, {u32=12, u64=12}}) = 0
epoll_wait(5, {{EPOLLIN, {u32=8, u64=8}}, {EPOLLIN, {u32=6, u64=6}}, {EPOLLIN|EPOLLHUP, {u32=22, u64=22}}, {EPOLLIN|EPOLLHUP, {u32=24, u64=24}}}, 1024, 0) = 4
clock_gettime(CLOCK_MONOTONIC, {28894, 734077961}) = 0
read(8, "\1\0\0\0\0\0\0\0", 1024) = 8
futex(0xdeffe4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xdeffe0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
gettimeofday({1384725764, 776748}, NULL) = 0
write(20, "HTTP/1.1 200 OK\r\nX-Powered-By: E"..., 331) = 331
read(6, "H\376\336\0\0\0\0\0\21\0\0\0\0\0\0\0", 512) = 16
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], WNOHANG, NULL) = 6830
write(2, "\n", 1) = 1
write(2, "events.js:72\n", 13) = 13
write(2, " throw er; // Unhandled '"..., 45) = 45
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, " ", 1) = 1
write(2, "^", 1) = 1
write(2, "\n", 1) = 1
write(2, "Error: spawn ENOENT\n at errno"..., 137) = 137
futex(0xdeffe4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xdeffe0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x7f93858ba9d0, FUTEX_WAIT, 6823, NULL) = 0
exit_group(8) = ?
Process 6821 detached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment