Comments (7)
/cc @bnoordhuis
from libuv.
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.
@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.
- uname -r shows "2.6.18-xenU-ec2-v1.4"
- 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.
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.
@bnoordhuis I will try this one after this holiday.
from libuv.
Ping
from libuv.
No follow-up, closing.
from libuv.
Related Issues (20)
- MSVC compiler bug broke env_vars test in ASAN (x64 windows 2022+asan) HOT 4
- Additional Libuv Metrics HOT 2
- test: flaky fs_event_close_with_pending_event HOT 2
- _alloca Requested memory may have edge problems causing exceptions HOT 3
- multicast: The Android server(apk) doesn't always receive multicast messages from ubuntu.
- test,ci: flaky fs_event_error_reporting
- android: enable fdsan?
- Send udp broadcast to 255.255.255.255 cause permission denied error HOT 2
- macos: use absolute timeouts for condition variables HOT 1
- fs_event_watch_dir test fails on alpine 3.19 HOT 5
- System freeze after suspending two instances of Neovim HOT 5
- test: test-thread-priority.c fails on Linux HOT 5
- windows uv_poll_init
- doc: improve example docs/code/progress/main.c
- win: use WinDNS family of functions for DNS resolving HOT 4
- Improper Validation of Certificate Trust in certifi and dependent packages HOT 4
- 测试在Windows XP系统上运行时遇到RegGetValueW无法定位于ADVAPI32.dll的问题 HOT 4
- uv_tty_reset_mode doesn't work as advertised if original handle is closed HOT 5
- Provide an OS independent way to set/get UV_THREADPOOL_SIZE HOT 8
- Build currently failing on AIX and OS/400 (IBM i) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuv.