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

Node.js: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed. #1746

Open
gwh-cpnet opened this issue Jul 6, 2022 · 5 comments

Comments

@gwh-cpnet
Copy link

gwh-cpnet commented Jul 6, 2022

Environment

  • Platform: arm32v7 / raspberry pi
  • Docker Version: 20.10.16,
  • Node.js Version: 16.15.1
  • Image Tag: node:16.15.1-buster-slim

Expected Behavior

npm install should work just fine

Current Behavior

$ docker run -it --rm node:16.15.1-bullseye-slim sh -c "npm i lodash"
Node.js[8]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed.
Aborted (core dumped)

Possible Solution

fallback to node:16.15.1-buster-slim

@gwh-cpnet gwh-cpnet changed the title Node.js[8]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed. Node.js: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed. Jul 6, 2022
@yosifkit
Copy link
Contributor

Same causes as #1543 and #1589: newer system calls require an updated libseccomp or they get blocked. TL;DR: update libseccomp and possibly docker.

@jabaa
Copy link

jabaa commented Aug 17, 2022

Installing libseccomp2_2.5.4-1+b1_armhf.deb from http://ftp.debian.org/debian/pool/main/libs/libseccomp/ on a RasperryPi4 solved the problem.

@facundofarias
Copy link

Hello, any news here?

@abhijithvijayan
Copy link

abhijithvijayan commented Feb 28, 2024

fix for raspberry pi: https://docs.linuxserver.io/FAQ/#resolution_2

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

7 participants
@yosifkit @aguegu @facundofarias @jabaa @gwh-cpnet @abhijithvijayan and others