Re: rtadvctl -vv show : Segmentation fault

Zhenlei Huang <[email protected]>
Newsgroups gmane.os.freebsd.devel.net,gmane.os.freebsd.current
Message-ID <[email protected]>

> On Feb 12, 2025, at 5:42 AM, A FreeBSD User <[email protected]> wrote:
> 
> Hello,
> 
> I'm running a small 14-STABLE (FreeBSD 14.2-STABLE #11 n270324-8d5d7e2ba3a6: Thu Feb  6
> 16:56:03 CET 2025 amd64) based router appliance, running rtadvd(8).
> 
> When stoppimg/starting mpd5 several times, changing the IPv6 prefix, I can almost with a 100%
> certainty reproduce such an error calling rtadvctl:
> 
> [...]
> root@gate:~ # rtadvctl -vv show
> igb0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1500
>        DefaultLifetime: 30m
>        MinAdvInterval/MaxAdvInterval: 3m20s/10m
>        AdvLinkMTU: <none>, Flags: <none>, Preference: medium
>        ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64
>        AdvIfPrefixes: no
>        Next RA send: Tue Feb 11 22:36:21 2025
>        Last RA send: Tue Feb 11 22:30:23 2025
>        Prefixes (1):
> Segmentation fault
> [...]
> 
> The indication of such a rtadvd failure within our network is no prefix delegation any
> more, several IPv6 on the (client) hosts's NICs are marked "deprecated" or "detached", but
> none usable.
> 
> Checking on the gateway with the command shown above results in a segmentation fault ... funny.

Do you get the core dump ? You can attach the core to gdb or lldb to easily figure out which
line of source code is to be blamed.

> 
> To solve this, we have to restart rtadvd.
> 
> --
> 
> A FreeBSD user
signature.asc (application/pgp-signature, 358 B)
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQRj28YmNowGX1isJg7GJJ6Jgbd0XwUCZ6ysiF8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0NjNE
QkM2MjYzNjhDMDY1RjU4QUMyNjBFQzYyNDlFODk4MUI3NzQ1RgAKCRDGJJ6Jgbd0
X34bAQDlQpib6mzf1H0zWdPzHfjiQNBo1plcoQVQxBEI3C2jNQEAuKX8y7NwALGT
DuIHoRWhV3C+WbckW0d1FjZ6RqDblwE=
=fvf+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.