Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
sigsev on installing gems on aarch64 #5447
Provide at least:
When building jruby images for Docker, upon installing some base gems we hit a sigsev.
Ok, so the problem here is that musl-libc Linuxes don't actually provide a libcrypt since that functionality is part of musl-libc. When we attempt to load our native support, that binding of
I'm thinking we fix this and then have you test again, since it may solve the segv as well.
referenced this issue
Nov 18, 2018
I suspect the problem here was related to the failure to load libcrypt that I fixed in #123. The scenario I'm thinking is that perhaps the failure of the library to load was masked somehow on aarch64 and a partially bound jnr-posix was returned to the caller. With crypt bound to nothing, invoking it triggered a segv.