Re: v9.3.3 Segmentation fault on FreeBSD (12.1)
Roy Marples
Sat Nov 21 08:48:51 2020
Hi Athan
On 21/11/2020 00:39, Athan Papadimitriou wrote:
On my FreeBSD 12.1/x64 setup Dhcpcd 9.3.3 segfauls on startup; Previous builds
(9.3.2) worked just fine.
Same build options, same configuration, nothing changed, no hooks
PS: Dhcpcd runs on ng0 interface (mpd5 pppoe).
Running dhcpcd -d -B -f /usr/local/etc/dhcpcd.conf gives the following
----------------------
main: control_open: Connection refused
dhcpcd-9.3.3 starting
DUID 00:04:3b:90:37:80:4f:79:10:18:81:6e:ae:b2:72:47:78:a7
ng0: executing: /usr/local/libexec/dhcpcd-run-hooks PREINIT
ng0: IAID 00:00:00:00
ng0: delaying IPv6 router solicitation for 0.8 seconds
ng0: reading lease: /var/db/dhcpcd/ng0.lease6
ng0: soliciting a DHCPv6 lease
ng0: delaying SOLICIT6 (xid 0x8d9dbf), next in 2.1 seconds
bridge0: activating for delegation
bridge0: executing: /usr/local/libexec/dhcpcd-run-hooks PREINIT
bridge0: executing: /usr/local/libexec/dhcpcd-run-hooks CARRIER
bridge0: IAID 4d:96:8f:00
ng0: soliciting an IPv6 router
ng0: sending Router Solicitation
ng0: Router Advertisement from fe80::da67:d9ff:fe48:7a11
ng0: adding route to 2a02:587:12fe:4ad9::/64
ng0: adding default route via fe80::da67:d9ff:fe48:7a11
ng0: executing: /usr/local/libexec/dhcpcd-run-hooks ROUTERADVERT
ng0: broadcasting SOLICIT6 (xid 0x8d9dbf), next in 1.0 seconds
ng0: ADV 2a02:587:1216:1d00::/56 from fe80::da67:d9ff:fe48:7a11
ng0: broadcasting REQUEST6 (xid 0x5e25b0), next in 1.0 seconds
ng0: REPLY6 received from fe80::da67:d9ff:fe48:7a11
ng0: renew in 43200, rebind in 69120, expire in 86400 seconds
Segmentation fault
Eeek!
This should be fixed here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=9eee07b482593f9db498ee1bdc6f6f24137ce164
Let me know if it works for you!
Roy
Archive administrator: postmaster@marples.name