Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
/usr/bin/ftp crash on -current (10.00.4) aarch64
Hi,
After having upgraded my aarch64 host to
(NetBSD narvi 10.99.4 NetBSD 10.99.4 (GENERIC64) #0: Sun May 14
19:13:18 BST 2023
sysbuild%ymir.lorien.lan@localhost:/dumps/sysbuild/evbarm64/obj/home/sysbuild/src/sys/arch/evbarm/compile/GENERIC64
evbarm)
I found out I can no longer fetch some packages:
...
cd /usr/pkgsrc/lang/nodejs
➜ nodejs make fetch
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Fetching node-v20.2.0.tar.xz
=> Total size: 41778040 bytes
Trying 104.20.22.46:443 ...
[1] Segmentation fault (cd ${fetchdir}; if ${TEST} -n "${resume}"; th...
fetch: Unable to fetch expected file node-v20.2.0.tar.xz
Trying 151.101.61.6:80 ...
...
This turned out to be /usr/bin/ftp crashing:
# /usr/bin/ftp -o node-v20.2.0.tar.xz
'https://nodejs.org/dist/v20.2.0/node-v20.2.0.tar.xz'
Trying 104.20.23.46:443 ...
[1] 7100 segmentation fault /usr/bin/ftp -o node-v20.2.0.tar.xz
....
If I run it under gdb, I get:
(gdb) run -o node-v20.2.0.tar.xz
'https://nodejs.org/dist/v20.2.0/node-v20.2.0.tar.xz'
Starting program: /usr/bin/ftp -o node-v20.2.0.tar.xz
'https://nodejs.org/dist/v20.2.0/node-v20.2.0.tar.xz'
Program received signal SIGILL, Illegal instruction.
0x0000f7db5d54be70 in _armv8_sha512_probe () from /usr/lib/libcrypto.so.14
(gdb) bt
#0 0x0000f7db5d54be70 in _armv8_sha512_probe () from /usr/lib/libcrypto.so.14
#1 0x0000f7db5d54c23c in OPENSSL_cpuid_setup () from /usr/lib/libcrypto.so.14
#2 0x0000ffffef643398 in _rtld_call_init_function () from
/usr/libexec/ld.elf_so
#3 0x0000ffffef6436a4 in _rtld_call_init_functions () from
/usr/libexec/ld.elf_so
#4 0x0000ffffef643f74 in _rtld () from /usr/libexec/ld.elf_so
#5 0x0000ffffef640b10 in _rtld_start () from /usr/libexec/ld.elf_so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The weird and suspicious thing is that /usr/bin/ftp is linked to both
existing libcrypto.so versions:
ldd /usr/bin/ftp
/usr/bin/ftp:
-ledit.3 => /usr/lib/libedit.so.3
-lterminfo.2 => /usr/lib/libterminfo.so.2
-lc.12 => /usr/lib/libc.so.12
-lssl.15 => /usr/lib/libssl.so.15
-lcrypto.14 => /usr/lib/libcrypto.so.14
-lcrypt.1 => /lib/libcrypt.so.1
-lcrypto.15 => /usr/lib/libcrypto.so.15
whereas on amd64, built a few hours earlier, I get:
# ldd =ftp
/usr/bin/ftp:
-ledit.3 => /usr/lib/libedit.so.3
-lterminfo.2 => /usr/lib/libterminfo.so.2
-lc.12 => /usr/lib/libc.so.12
-lssl.15 => /usr/lib/libssl.so.15
-lcrypto.15 => /usr/lib/libcrypto.so.15
-lcrypt.1 => /lib/libcrypt.so.1
I will obviously rebuild the aarch64 system just in case, but thought
it worth mentioning.
Chavdar
--
----
Home |
Main Index |
Thread Index |
Old Index