-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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 and npm just segfault when compiled on alpine #3405
Labels
build
Issues and PRs related to build files or the CI.
Comments
No idea. What does the stack trace in gdb look like? |
I won`t have access to the computer that got that alpine VM until tuesday. |
Ok, nvm, it was just PaX blocking it. |
ghost
closed this as completed
Nov 6, 2015
For anyone landing here via Google:
|
bnoordhuis
added a commit
to bnoordhuis/io.js
that referenced
this issue
Jul 22, 2022
Original commit log follows: darwin: remove EPROTOTYPE error workaround (nodejs#3405) It's been reported in the past that OS X 10.10, because of a race condition in the XNU kernel, sometimes returns a transient EPROTOTYPE error when trying to write to a socket. Libuv handles that by retrying the operation until it succeeds or fails with a different error. Recently it's been reported that current versions of the operating system formerly known as OS X fail permanently with EPROTOTYPE under certain conditions, resulting in an infinite loop. Because Apple isn't exactly forthcoming with bug fixes or even details, I'm opting to simply remove the workaround and have the error bubble up. Refs: libuv/libuv#482 Fixes: nodejs#43916
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
node -v gives me
v4.2.1
g++ -v gives me
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-musl/4.9.2/lto-wrapper
Target: x86_64-alpine-linux-musl
Configured with: /home/buildozer/aports/main/gcc/src/gcc-4.9.2/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --target=x86_64-alpine-linux-musl --with-pkgversion='Alpine 4.9.2' --enable-checking=release --disable-fixed-point --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers --enable-__cxa_atexit --enable-esp --enable-cloog-backend --enable-languages=c,c++,objc,java,fortran,ada --disable-libssp --disable-libmudflap --disable-libsanitizer --enable-shared --enable-threads --enable-tls --with-system-zlib
Thread model: posix
gcc version 4.9.2 (Alpine 4.9.2)
python -v gives me
running just node or npm just gives me
Segmentation fault
Any idea? When I use valgrind node it starts and run.
The text was updated successfully, but these errors were encountered: