-
Notifications
You must be signed in to change notification settings - Fork 127
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
busybox 1.34.1 exited in arm64 with code 139 #149
Comments
Interesting - 139 is typically a segmentation fault. Unfortunately, I'm not able to reproduce: $ uname -m
aarch64
$ docker run -it --rm --pull=always busybox
latest: Pulling from library/busybox
89485c9dae0b: Pull complete
Digest: sha256:9810966b5f712084ea05bf28fc8ba2c8fb110baa2531a10e2da52c1efc504698
Status: Downloaded newer image for busybox:latest
/ # |
I test on another arm64 machine, it can also be reproduced.
@tianon What's your kernel version? |
I think the kernel he'd likely be using would be from Debian stable; so Just a random hunch, try adding |
@yosifkit I tried the following command, but still failed, exit code is also: 139
|
It is because many arm64 distribution use pagesize 64k. # /lib/ld-linux-aarch64.so.1 /root/busybox
/root/del/busybox: error while loading shared libraries: /root/busybox: ELF load command alignment not page-aligned # readelf -l busybox
Elf file type is EXEC (Executable file)
Entry point 0x400740
There are 5 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000
0x000000000012b2f8 0x000000000012b2f8 R E 1000
LOAD 0x000000000012bdf0 0x000000000052cdf0 0x000000000052cdf0
0x0000000000000611 0x0000000000005070 RW 1000 # getconf PAGESIZE
65536 |
Hi, I encounter a problem in a arm64 machine.
Machine info:
I run following commnad and got a exited code: 139
When I changed the version to 1.34.0, it's working fine.
The text was updated successfully, but these errors were encountered: