>Synopsis: ldpd dumps core on exit
>Category: user
>Environment:
System : OpenBSD 7.8
Details : OpenBSD 7.8 (GENERIC) #54: Sun Oct 12 12:45:58 MDT 2025
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
ldpd dumps core on exit
>How-To-Repeat:
# cat ldpd.conf
address-family ipv4 {
interface vio1
}
# ldpd -d -v -f ldpd.conf
startup
<...>
^C
<...>
Segmentation fault (core dumped)
>Fix:
In ldpd_shutdown() call kr_shutdown() before closing pipes
to children.