Segmentation fault on Alpine Linux
See original GitHub issueI’m trying to run noble inside docker and node crashed on initialisation:
bash-4.4# cat test.js
var noble = require('noble');
bash-4.4# node test.js
Assertion failed: !uv__is_closing(handle) (src/unix/poll.c: uv_poll_start: 120)
Aborted
bash-4.4# node test.js
Segmentation fault
Any ideas? Maybe a missing package?
Greets, Sören
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Segmentation fault when building under alpine linux. #2621
Hi, I was trying to build and pack the image under the alpine linux (though worked pretty well under debian) it fails under...
Read more >Mysterious Segmentation fault that only happen in 3.14+ alpine
Hi, I have run into segmentation fault which doesn't appear to occur on ubuntu/mac, can only be repro-ed in alpine distro.
Read more >Segmentation fault when trying to run Haxe on Alpine Linux ...
I'm new to Docker and I'm not a regular Linux user, but after some trial and error I've got Neko and Haxelib running...
Read more >Segmentation fault on Alpine Linux - Tor's Gitlab
Segmentation fault on Alpine Linux. Hello,. I am trying to run the Tor Browser on Alpine Linux in a VM. Unfortunately, the program...
Read more >Alpine fails to run my app - what steps should I take now? : r/rust
--target=x86_64-unknown-linux-musl inside an docker alpine… ... directly from the container thru sh is Segmentation fault (core dumped) .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No interface is bridged yet. If I do
require('noble')
I’m receiving:Assertion failed: loop->watchers != NULL (src/unix/linux-core.c: uv__platform_invalidate_fd: 142)
. But if I dosetTimeout(() => require('noble'), 1000)
I seeAssertion failed: !uv__is_closing(handle) (src/unix/poll.c: uv_poll_start: 120)
.Docker output is attached below.
The dockerfile I used: https://github.com/oroce/ble-presence-addon/blob/master/Dockerfile
docker build
:docker run
:@kuzyn When I add --network host to my docker run statement output goes from, ‘Segmentation fault’ to ‘docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: "–network": executable file not found in $PATH”: unknown.’