dhcpcd-discuss

v9.3.3 Segmentation fault on FreeBSD (12.1)

Athan Papadimitriou

Sat Nov 21 00:39:16 2020

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
------------------

dhcpcd.conf follows

------------------
clientid
noipv4
noipv4ll
noipv6rs
ipv6only
release
background
nolink

option rapid_commit
option interface_mtu
option classless_static_routes

require dhcp_server_identifier

nohook resolv.conf, hostname, ntp, test, dump

# allowinterfaces ng0 bridge0
allowinterfaces ng0

interface ng0
    ipv6rs
    ipv6ra_noautoconf
    iaid 0
    ia_pd 0/::/56 bridge0/0/64
-------------------

Any idea?
Athan

Follow-Ups:
Re: v9.3.3 Segmentation fault on FreeBSD (12.1)Roy Marples
Archive administrator: postmaster@marples.name