We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.42
Linux 6.8.0-51-generic-64k aarch64 aarch64
I just run my bundled js in aarch64 will cause this error:
# bun index.js Aborted (core dumped)
But this works very well on x86_64 machine.
Here's the strace output:
strace
# strace bun index.js execve("/usr/local/bin/bun", ["bun", "index.js"], 0xffffec64e498 /* 25 vars */) = 0 brk(NULL) = 0x40a60000 faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=32387, ...}) = 0 mmap(NULL, 32387, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf65b1fd70000 close(3) = 0 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\360\206\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1722920, ...}) = 0 mmap(NULL, 1826704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf65b1fbb0000 mmap(0xf65b1fd50000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x190000) = 0xf65b1fd50000 close(3) = 0 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=67440, ...}) = 0 mmap(NULL, 131088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf65b1fb80000 mmap(0xf65b1fb90000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xf65b1fb90000 close(3) = 0 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=67440, ...}) = 0 mmap(NULL, 131088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf65b1fb50000 mmap(0xf65b1fb60000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xf65b1fb60000 close(3) = 0 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=591800, ...}) = 0 mmap(NULL, 655384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf65b1faa0000 mmap(0xf65b1fb30000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0xf65b1fb30000 close(3) = 0 mmap(NULL, 458752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf65b1fa30000 set_tid_address(0xf65b1fa300f0) = 302729 set_robust_list(0xf65b1fa30100, 24) = 0 rseq(0xf65b1fa30740, 0x20, 0, 0xd428bc00) = 0 mprotect(0xf65b1fd50000, 65536, PROT_READ) = 0 mprotect(0xf65b1fb30000, 65536, PROT_READ) = 0 mprotect(0xf65b1fb60000, 65536, PROT_READ) = 0 mprotect(0xf65b1fb90000, 65536, PROT_READ) = 0 mprotect(0xf65b1fde0000, 65536, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 munmap(0xf65b1fd70000, 32387) = 0 futex(0x5b2907c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 futex(0x5b29088, FUTEX_WAKE_PRIVATE, 2147483647) = 0 getrandom("\x94\x0f\xda\x42\x20\x90\xec\xe3", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x40a60000 brk(0x40a90000) = 0x40a90000 getrandom("\x30\x9a\x89\xe3\x4e\x03\xca\xa8\xfc\x5a\xb8\x4d\x70\x30\xa8\x74\x51\x76\x5f\x4d\x08\x0f\xe1\xb7\xa4\xa7\x73\xa0\x5a\xb0\x76\x83", 32, GRND_NONBLOCK) = 32 openat(AT_FDCWD, "/proc/sys/vm/overcommit_memory", O_RDONLY) = 3 read(3, "0\n", 32) = 2 close(3) = 0 prctl(PR_GET_THP_DISABLE, 0xfffff8dbde80, 0, 0, 0) = -1 EINVAL (Invalid argument) prctl(PR_SET_THP_DISABLE, 281474856902272, 0, 0, 0) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 rt_sigaction(SIGPIPE, {sa_handler=0x2a647b0, sa_mask=[], sa_flags=0}, NULL, 8) = 0 sigaltstack({ss_sp=0x5a9208e, ss_flags=0, ss_size=524288}, NULL) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x2d06b70, sa_mask=[], sa_flags=SA_ONSTACK|SA_RESTART|SA_RESETHAND|SA_SIGINFO|0xffffffff00000000}, NULL, 8) = 0 rt_sigaction(SIGILL, {sa_handler=0x2d06b70, sa_mask=[], sa_flags=SA_ONSTACK|SA_RESTART|SA_RESETHAND|SA_SIGINFO|0xffffffff00000000}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x2d06b70, sa_mask=[], sa_flags=SA_ONSTACK|SA_RESTART|SA_RESETHAND|SA_SIGINFO|0xffffffff00000000}, NULL, 8) = 0 rt_sigaction(SIGFPE, {sa_handler=0x2d06b70, sa_mask=[], sa_flags=SA_ONSTACK|SA_RESTART|SA_RESETHAND|SA_SIGINFO|0xffffffff00000000}, NULL, 8) = 0 faccessat(AT_FDCWD, "/sys/devices/system/node/node1", R_OK) = -1 ENOENT (No such file or directory) mmap(0x4b1f8000000, 1073741824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4b1f8000000 ioctl(0, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 ioctl(0, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 ioctl(1, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 ioctl(1, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 ioctl(2, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 ioctl(2, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0 rt_sigaction(SIGTERM, {sa_handler=0x3dce9c0, sa_mask=[], sa_flags=SA_RESETHAND|0xffffffff00000000}, NULL, 8) = 0 rt_sigaction(SIGINT, {sa_handler=0x3dce9c0, sa_mask=[], sa_flags=SA_RESETHAND|0xffffffff00000000}, NULL, 8) = 0 getcwd("/tmp/clickhouse-tmp-data/user_scripts", 4096) = 38 openat(AT_FDCWD, "/tmp/clickhouse-tmp-data/user_scripts/bunfig.toml", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "index.js", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0755, st_size=122928, ...}) = 0 readlinkat(AT_FDCWD, "/proc/self/fd/3", "/tmp/clickhouse-tmp-data/user_sc"..., 4096) = 46 close(3) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 gettid() = 302729 getpid() = 302729 tgkill(302729, 302729, SIGABRT) = 0 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=302729, si_uid=0} --- +++ killed by SIGABRT (core dumped) +++ Aborted (core dumped)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.42
What platform is your computer?
Linux 6.8.0-51-generic-64k aarch64 aarch64
What steps can reproduce the bug?
I just run my bundled js in aarch64 will cause this error:
# bun index.js Aborted (core dumped)
But this works very well on x86_64 machine.
Here's the
strace
output:What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: