On Tue, Dec 02, 2025 at 02:43:23PM +0100, Claudio Jeker wrote:
> On Tue, Dec 02, 2025 at 03:52:11PM +0300, Alexander Mukhin wrote:
> > >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.
> > 
> 
> How about this diff instead? This should prevent kr_shutdown() from
> sending imsgs. Which is the reason of the fault.

ok tb

Reply via email to