jart / jart/blink

eventfd support for Node.js

Open
#87 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

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: https://github.com/jart/blink/issues/73#issuecomment-1456824638

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Node.js failure on arm64 Linux, then read blink/syscall.c around the reported line and the linked reference issue. Compare the missing syscall entries, including capget, with the eventfd support needed; done means Node.js starts without the uv_loop_init assertion and the reported missing syscalls are addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, node.js
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.