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

System crashes when trying to run on Rasberry Pi zero #41

Open
s-ptaylor opened this issue May 9, 2024 · 1 comment
Open

System crashes when trying to run on Rasberry Pi zero #41

s-ptaylor opened this issue May 9, 2024 · 1 comment

Comments

@s-ptaylor
Copy link

s-ptaylor commented May 9, 2024

Hi i've seen that armv6 should be supported using the v8 builder + backwards compatibility but the code crashed with a segfault when I try to run it. I tried jumping into the container and running the code directly it just immediately crashes with a seg fault. I was thinking the issue is the builder layer is targeted for a different architecture however i'm using BalenaCloud and I thought that would build the images to the correct architecture. I'm new to Balena so may be making a basic error

Thanks

@s-ptaylor
Copy link
Author

sorry just adding some debug here. I checked the linked libraries and it seems correct

root@46fe5659a5db:/usr/src/balena-rust-hello-world/release# ldd balena-rust-hello-world
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6c89000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6c5d000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6bee000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6bda000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6a87000)
/lib/ld-linux-armhf.so.3 (0xb6eef000)

@s-ptaylor s-ptaylor reopened this May 9, 2024
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

1 participant