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
runtime: SIGSEGV when running dockerd on RISCV64 #46225
Comments
If we can trust that hex dump, the first thing that I'm thinking is the problem has something to do with your libc. Looking at the hex dump, there's an But, at first glance, I don't really know why there's a nil pointer dereference as a result of all this. Does it work if you use a different glibc version? |
To add to what Michael said, you are building a custom version of glibc and specifying it at runtime with Is such a version mismatch between the dynamic linker and libc glibc versions allowed? Does this have the same result if you use ld.so from your custom build of glibc as well? |
No, the binary I'm using complains about a mismatch in versions. It throws the error:
Because the system version is not glibc 2.32 (system version is 2.31), I thought I could build it and link against a separate build of glibc using the
Right, I don't think version mismatches are allowed, but I forgot that dockerd will use the dynamic linker that was specified when it was compiled and won't just pick up the one in the standalone build after setting Regardless, I think the first issue I need to solve is getting the glibc versions all synced up, which I don't think requires keeping this issue open. Thank you all for help! |
Currently trying to run Docker on a BeagleV Starlight and am running into a fatal error when running the Docker daemon:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Attempting to run Docker, following the steps from this repo. Specifically, I do the following to reproduce:
sudo apt install ./docker-*.deb
dockerd
, settingLD_LIBRARY_PATH
to link against local glibc.What did you expect to see?
Expected normal Docker daemon output, expected no segmentation violation error.
What did you see instead?
Full output:
Please let me know if you think I should also open an issue with the Docker team, although this looks to be a Golang issue if I am reading the errors correctly.
The text was updated successfully, but these errors were encountered: