On Wed, Aug 15, 2012 at 12:25 PM, TZ <[email protected]> wrote: > It seems these is something wrong with this linux, > see also: > https://groups.google.com/forum/?fromgroups#!topic/nodejs/ePqzZ7rPdzU > any idea? > > the same code run at ubuntu success but fail at this linux: > >> [root@etone46 backups]# strace -e \!mmap,munmap,mprotect,futex node 1.js >> syscall_293(0x7fff05f12c80, 0x80800, 0xffffffffffffffff, 0x7fff05f12bb0, >> 0x1, 0x2, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, >> 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3) = 0x125
I think it may be this - a failing pipe2() syscall. Can you try this patch? As a gist: https://gist.github.com/067bd9cb6f32c704e095 diff --git a/deps/uv/src/unix/process.c b/deps/uv/src/unix/process.c index 4d54e04..d6dfea2 100644 --- a/deps/uv/src/unix/process.c +++ b/deps/uv/src/unix/process.c @@ -99,7 +99,7 @@ int uv__make_pipe(int fds[2], int flags) { if (uv__pipe2(fds, flags | UV__O_CLOEXEC) == 0) return 0; - if (errno != ENOSYS) + if (errno != ENOSYS && errno != EINVAL) return -1; #endif -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
