Git Product home page Git Product logo

Comments (7)

saghul avatar saghul commented on May 22, 2024

/cc @bnoordhuis

from libuv.

bnoordhuis avatar bnoordhuis commented on May 22, 2024

For the record, from the x86_64 log:

syscall_293(0xe6cbbc, 0x80000, 0x65646f, 0xfefefefefefefeff, 0x3, 0x7fff76a041d0, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7) = 0x125

293 is the pipe2() system call and it returns the rather strange error -293 (when interpreting 0x125 as a sign-extended 64 bits integer.)

Seeing how the 32 bits binary works, I wonder if this is simply a kernel bug. With 32 bits, where pipe2 is system call 331, the system call returns the expected ENOSYS error.

@aneek Can you tell me what package that kernel was installed from?

from libuv.

aneek avatar aneek commented on May 22, 2024

@bnoordhuis If you want to know the base package of the kernel, I really don't know how Amazon EC2 installed that kernel. But, I ran a few commands and the following are the output.

  1. uname -r shows "2.6.18-xenU-ec2-v1.4"
  2. rpm -q kernel shows
    kernel-2.6.18-164.11.1.el5
    kernel-2.6.18-398.el5
    kernel-2.6.18-400.1.1.el5

If you have any specific commands to check any specific details please let me know and I will give you the findings.

from libuv.

bnoordhuis avatar bnoordhuis commented on May 22, 2024

2.6.18-xenU-ec2-v1.4 is pretty old and google suggests there are newer versions. When did you last upgrade?

I took a peek at the 2.6.18 kernel sources and I think the strange return value is a bug that was fixed in torvalds/linux@cc7d479. That's part of the 2.19 kernel but it only affects the return value when tracing system calls so the real error is probably something else. Can you try this:

$ gdb --args /path/to/64/bits/node
> break uv__pipe2
> run
# wait for the breakpoint to hit
> finish
> print errno
# if `print errno` doesn't work:
> print *(int *) __errno_location()

from libuv.

aneek avatar aneek commented on May 22, 2024

@bnoordhuis I will try this one after this holiday.

from libuv.

saghul avatar saghul commented on May 22, 2024

Ping

from libuv.

saghul avatar saghul commented on May 22, 2024

No follow-up, closing.

from libuv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.