# uname -a
NetBSD pi 8.99.37 NetBSD 8.99.37 (RPI2) #1: Thu Apr 25 16:01:51 UTC 2019
root@pi:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm
BFD: /usr/pkg/lib/libpango-1.0.so.0: invalid string offset 12338 >= 11106 for
section `.strtab'
BFD: /usr/pkg/lib/libfribidi.so.0: invalid string offset 1447 >= 1158 for
section `.strtab'
<snip>
BFD: /usr/pkg/lib/libfribidi.so.0: invalid string offset 1652 >= 1158 for
section `.strtab'
Core was generated by `netsurf-gtk'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x698315f0 in memcpy () from /usr/lib/libc.so.12
[Current thread is 1 (process 1)]
(gdb) where
#0 0x698315f0 in memcpy () from /usr/lib/libc.so.12
#1 0x000d9888 in __memcpy_ichk (len=<optimized out>, src=<optimized out>,
dst=0x7fe8ef34) at /usr/include/ssp/string.h:82
#2 curl_start_cert_validate (certs=certs@entry=0x7fe906e0, f=<optimized out>,
f=<optimized out>) at content/fetchers/curl.c:967
#3 0x000d9f20 in fetch_curl_done (result=CURLE_PEER_FAILED_VERIFICATION,
curl_handle=<optimized out>) at content/fetchers/curl.c:1132
#4 fetch_curl_poll (scheme_ignored=<optimized out>) at
content/fetchers/curl.c:1223
#5 0x000d6474 in fetch_fdset (read_fd_set=read_fd_set@entry=0x7fe907a8,
write_fd_set=write_fd_set@entry=0x7fe907c8,
except_fd_set=except_fd_set@entry=0x7fe907e8,
maxfd_out=maxfd_out@entry=0x7fe907a4) at content/fetch.c:404
#6 0x00183bc0 in nsgtk_main () at frontends/gtk/gui.c:404
#7 0x002325e0 in main (argc=<optimized out>, argv=<optimized out>) at
frontends/gtk/gui.c:1206
Above trace occurred on netsurf core dump.
There is a long chain of the "BFD:" errors on various libraries, only 2-3
samples of that are attached above.
I think during build of the packages I had seen those errors as well, but
not sure.
Please advise.
Mayuresh