[Kea-users] Dhcp6 crash with config-reload command v2.6.3

Razvan Becheriu razvan at isc.org
Wed Oct 15 19:22:52 UTC 2025


Can you provide the output of kea-dhcp4 -W?

I think the EPEL packages use the 'lto' flag which might cause this crash.

Regards,
Razvan


-----Original Message-----
From: Darren <darren.ankney at gmail.com>
To: Kea <kea-users at lists.isc.org>
Date: Wednesday, 15 October 2025 10:07 PM EEST
Subject: Re: [Kea-users] Dhcp6 crash with config-reload command v2.6.3


Hi Diogo,

I assume that Kea starts up OK after the crash without need to alter
the configuration file? I am not able to reproduce your crash with or
without client activity.  Perhaps if you could share your
configuration file, that might help.  Please feel free to anonymize
it, if it contains sensitive information.

Thank you,
Darren Ankney

On Tue, Oct 14, 2025 at 2:15 PM Diogo André de Assumpção via Kea-users
<kea-users at lists.isc.org> wrote:
>
> We’re using packages from EPEL, and upgraded to 2.6.3 maybe a month or so ago. I didn’t notice any issues before with 2.6.2 and there was a bit of a gap on using the config-reload after migrating to 2.6.3 and just now we’re noticing it.
>
> I’ve also tested on test server with same os, packages, etc., but without any active leases, and there’s no crash when reloading.
>
>
>
> Thanks,
> Diogo
>
>
>
> From: Razvan Becheriu <razvan at isc.org>
> Date: Tuesday, October 14, 2025 at 8:40 AM
> To: Kea user's list <kea-users at lists.isc.org>
> Cc: Kea user's list <kea-users at lists.isc.org>, Diogo André de Assumpção <daa at meta.com>
> Subject: Re: [Kea-users] Dhcp6 crash with config-reload command v2.6.3
>
> Hi, We need more information. Do you use pkgs or do you compile? Have you been using a different version before upgrading/installing? If using pkgs, are these official ISC kea packages? Thank you, Razvan From: Diogo <kea-users@ lists. isc. org>
>
> Hi,
>
>
>
> We need more information.
>
>
>
> Do you use pkgs or do you compile?
>
> Have you been using a different version before upgrading/installing?
>
> If using pkgs, are these official ISC kea packages?
>
>
>
> Thank you,
>
> Razvan
>
>
>
> ________________________________
>
> From: Diogo <kea-users at lists.isc.org>
> To: Kea <kea-users at lists.isc.org>
> Cc: Diogo <daa at meta.com>
> Date: Tuesday, 14 October 2025 4:12 PM EEST
> Subject: Re: [Kea-users] Dhcp6 crash with config-reload command v2.6.3
>
> Thanks for the link, Darren. My lfc is set to 7200 seconds, and I can consistently repro the issue, so unlikely to be hitting that condition. That said, after I bumped the logs to debug I could see some better messages, which seems related to memfile-lfc:
>
>
>
> 2025-10-14 06:04:41.596 INFO  kea-dhcp6.dhcp6 DHCP6_CONFIG_COMPLETE DHCPv6 server has completed configuration: added IPv6 subnets: 4698; DDNS: disabled
>
> 2025-10-14 06:04:42.221 DEBUG kea-dhcp6.dhcpsrv DHCPSRV_CLOSE_DB closing currently open memfile database
>
> 2025-10-14 06:04:42.221 DEBUG kea-dhcp6.dhcpsrv DHCPSRV_TIMERMGR_UNREGISTER_TIMER unregistering timer: memfile-lfc
>
> 2025-10-14 06:04:42.221 DEBUG kea-dhcp6.dhcpsrv DHCPSRV_MEMFILE_LFC_UNREGISTER_TIMER_FAILED failed to unregister timer 'memfile-lfc': unable to unregister non existing timer 'memfile-lfc'
>
>
>
> For reference, here’s what the lease section of my config looks like:
>
>
>
>         "lease-database": {
>
>             "type": "memfile",
>
>             "name": "/var/lib/kea/kea-dhcp6.csv",
>
>             "lfc-interval": 7200,
>
>             "persist": true
>
>         },
>
>
>
>
>
> Thanks,
>
> Diogo
>
>
>
>
>
>
>
> Get Outlook for iOS
>
> ________________________________
>
> From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Darren Ankney <darren.ankney at gmail.com>
> Sent: Tuesday, October 14, 2025 2:01:36 AM
> To: Kea user's list <kea-users at lists.isc.org>
> Subject: Re: [Kea-users] Dhcp6 crash with config-reload command v2.6.3
>
>
>
>
>
> Hi Diogo,
>
> That backtrace doesn't look particularly useful because no symbols
> were found.  Kea's logs would probably be far more useful in this
> case.  it would have some message indicating why it is exiting.  Here
> is one example of a problem you could be encountering:
> https://urldefense.com/v3/__https://gitlab.isc.org/isc-projects/kea/-/issues/3986__;!!Bt8RZUm9aw!5lLpANoHvQQvKiYaNVp_snTIJEP7aIzeFRxARTJkRY0DpyQZ-bOuL5RS6BqpenRvmpHjAJR5IJJDBDxQ$  but without log
> messages, it is just guessing.
>
> Thank you,
> Darren Ankney
>
> On Mon, Oct 13, 2025 at 6:15 PM Diogo André de Assumpção via Kea-users
> <kea-users at lists.isc.org> wrote:
> >
> > Hi All,
> >
> > I’ve been experiencing an issue with kea-dhcp6 (4 doesn’t seem affected) where when I issue a config-reload command directly to the dhcp6 socket, the server crashes.
> >
> >
> >
> > Looking at the backtrace it seems to be related to the lease management – I’m using memfile – and maybe some cleanup that is done as part of the reload?
> >
> >
> >
> > Has anyone experienced something similar?
> >
> >
> >
> > Note that the config file loads fine when starting the server.
> >
> >
> >
> > Here’s a backtrace and a few more things from the coredump if it helps: https://gist.github.com/DiogoAndre/aa8c144329424b431b755711d7a96606
> >
> >
> >
> > Thanks,
> > – Diogo
> >
> >
> >
> > --
> > ISC funds the development of this software with paid support subscriptions. Contact us at https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Bt8RZUm9aw!5lLpANoHvQQvKiYaNVp_snTIJEP7aIzeFRxARTJkRY0DpyQZ-bOuL5RS6BqpenRvmpHjAJR5IBEgZWtQ$  for more information.
> >
> > To unsubscribe visit https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Bt8RZUm9aw!5lLpANoHvQQvKiYaNVp_snTIJEP7aIzeFRxARTJkRY0DpyQZ-bOuL5RS6BqpenRvmpHjAJR5IK-1-3Nd$ .
> > Kea-users at lists.isc.org
> --
> ISC funds the development of this software with paid support subscriptions. Contact us at https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Bt8RZUm9aw!5lLpANoHvQQvKiYaNVp_snTIJEP7aIzeFRxARTJkRY0DpyQZ-bOuL5RS6BqpenRvmpHjAJR5IBEgZWtQ$  for more information.
>
> To unsubscribe visit https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Bt8RZUm9aw!5lLpANoHvQQvKiYaNVp_snTIJEP7aIzeFRxARTJkRY0DpyQZ-bOuL5RS6BqpenRvmpHjAJR5IK-1-3Nd$ .
> Kea-users at lists.isc.org
>
> --
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> Kea-users at lists.isc.org
-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users at lists.isc.org


More information about the Kea-users mailing list