Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eventfd support for Node.js #87

Open
kdrag0n opened this issue Mar 15, 2023 · 3 comments
Open

eventfd support for Node.js #87

kdrag0n opened this issue Mar 15, 2023 · 3 comments

Comments

@kdrag0n
Copy link

kdrag0n commented Mar 15, 2023

Host: arm64 Linux

node.js output:

/usr/bin/node[1]: ../../src/tracing/agent.cc:55:node::tracing::Agent::Agent(): Assertion `(uv_loop_init(&tracing_loop_)) == (0)' failed.

blink.log also shows that capget is missing:

I2023-03-15T04:52:53.467307:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.468140:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.468193:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.468204:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.468219:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.468257:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.469053:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.470751:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.470766:blink/syscall.c:5720:1 missing syscall 0x07d
I2023-03-15T04:52:53.489923:blink/syscall.c:5720:1 missing syscall 0x122

Reference: #73 (comment)

@trungnt2910
Copy link
Collaborator

With a new VFS layer managing file descriptors in blink since #76, this and #73 is actually possible.

For this feature though we need to find a clear way to let blink processes share memory with each other.

@trungnt2910
Copy link
Collaborator

You might want to upvote/review #92 as this is somewhat related.

@kdrag0n
Copy link
Author

kdrag0n commented Mar 20, 2023

To be honest, I'm only interested in Linux support. Of course I understand that cross-platform support is important to Blink in general, but for my use case I'd be inclined to run a private fork with Linux-only syscall stubs.

I think having a server will be important for cross-platform support in the long term though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants