Hi Bret,

I have gone ahead and created the issue on your behalf. You should get an email 
back from Gitlab and using that, you should be able to update the issue if you 
have any more information. You should also receive any comments we put on the 
ticket as we investigate.

Thank you, and have a good weekend!

Vicky

> On Aug 7, 2025, at 5:57 PM, Giddings, Bret <b...@essex.ac.uk> wrote:
> 
> Hi again Victoria,
> I rebuilt the server and did a clean install of just kea 3.0. I can still get 
> the issue with my configuration.
> I have also now registered at gitlab.isc.org but please forgive my ignorance 
> as I can’t see how to create a new issue - I don’t proactively use gitlab 
> much. If you can please advise, I’ll get that started.
> 
> Regards,
> 
> Bret
> 
> From: Victoria Risk <vi...@isc.org>
> Date: Thursday, 7 August 2025 at 19:00
> To: Kea user's list <kea-users@lists.isc.org>
> Cc: Giddings, Bret <b...@essex.ac.uk>
> Subject: Re: [Kea-users] Dhcp4 crash when using 3.0
> 
> CAUTION: This email originated from outside our organisation. Do not click 
> links or open attachments unless you recognise the sender and know the 
> content is safe. If you are not sure it is safe, please contact the IT 
> Helpdesk.
> 
> Hi Bret,
> 
> This could be the same as another issue we are currently investigating. Can 
> you open an issue in our public Gitlab for Kea? 
> 
> Go to our development repo at https://gitlab.isc.org/isc-projects/kea 
> <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgitlab.isc.org%2fisc-projects%2fkea&c=E,1,M5eZ0_ltE-I8bDs8yYR3e_fAyvPMskyj9PZTT4z63-WFpWCG1jA9e_NBif9gMPsraCzo_bqg-9iRIgS9PKLMFTmCnMNmDVQA-eyW_XaexSy9zqdutA,,&typo=1>
>  and click on issues, and create a new issue. Please mark it as confidential, 
> since it is a crash. Then you will receive updates to the ticket as we 
> investigate.
> 
> Thank you!
> 
> Vicky Risk
> 
> On Aug 7, 2025, at 12:11 PM, Giddings, Bret via Kea-users 
> <kea-users@lists.isc.org> wrote:
> 
> Hi,
> 
> I’m trying to move our environment from 2.6 to 3.0 so have setup one subnet 
> to be served by the new version. This appears to work w.r.t. issuing leases 
> for the subnet in question. However, it also crashes (seemingly randomly) with
> 
> kea-dhcp4: /usr/include/boost/smart_ptr/shared_ptr.hpp:728: typename 
> boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() 
> const [with T = const isc::dhcp::Subnet4; typename 
> boost::detail::sp_member_access<T>::type = const isc::dhcp::Subnet4*]: 
> Assertion `px != 0' failed.
> 
> The environment is
> 
> Debian 12.11
> Using Cloudsmith images:
> # dpkg -l | grep kea
> ii  isc-kea-common       3.0.0-isc20250717111736   amd64    Common libraries 
> for the ISC Kea DHCP server
> ii  isc-kea-dhcp-ddns    3.0.0-isc20250717111736   amd64    ISC Kea DHCP 
> Dynamic DNS service
> ii  isc-kea-dhcp4        3.0.0-isc20250717111736   amd64    ISC Kea IPv4 DHCP 
> server
> ii  isc-kea-hooks        3.0.0-isc20250717111736   amd64    Hook libraries 
> for ISC Kea DHCP server
> 
> Is this a known issue and if not, what additional information is required to 
> debug it.
> 
> Relevant Kea config  which is pretty much identical to 2.6 config with 
> exception of control-sockets is
> 
> {
>   "Dhcp4": {
>     "interfaces-config": {
>       "interfaces": [
>         "eth0"
>       ],
>       "dhcp-socket-type": "udp",
>       "service-sockets-require-all": true,
>       "service-sockets-max-retries": 100,
>       "service-sockets-retry-wait-time": 5000
>     },
>     "control-sockets": [
>         {
>             "socket-type": "http",
>             "socket-port": 8000
>         }
>     ],
>     "multi-threading": {
>       "enable-multi-threading": true,
>       "thread-pool-size": 2,
>       "packet-queue-size": 64
>     },
>     "lease-database": {
>       "type": "memfile",
>       "lfc-interval": 1500
>     },
>     "valid-lifetime": 43200,
>     "expired-leases-processing": {
>       "reclaim-timer-wait-time": 3600,
>       "hold-reclaimed-time": 172800,
>       "max-reclaim-leases": 0,
>       "max-reclaim-time": 0
>     },
>     "hooks-libraries": [
>       {
>         "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so 
> <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flibdhcp_lease_cmds.so&c=E,1,DMA10UQnTXbL6Fs-sClfMzEQny9ui2guEiwqqiok9m6t_q9wYmJpHVFyk2x9bOeN0UI-hutjsTGLUxvKwoiOQY5wQOEpubmqEuVGiZO2&typo=1&ancr_add=1>"
>       },
>       {
>         "library": 
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_flex_option.so 
> <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flibdhcp_flex_option.so&c=E,1,gWoQ6RFKxy-zgmLw2EVJih45T5PafjpFSZdXiEwmglENkKLE30z39PCYdxjdElmrEG0lVJysNazv1Z69bDBSApJniBHx-B5WHm8WMC64Xn6W&typo=1&ancr_add=1>",
>         "parameters": {
>           "options": [
>            {
>               "code": 61,
>               "remove": "member('dhcp-3') or pkt4.giaddr == 10.246.127.253"
>            }
>           ]
>         }
>       }
>     ],
>     "dhcp-ddns": {
>       // Connectivity parameters
>       "enable-updates": true,
>       "server-ip": "127.0.0.1",
>       "server-port": 53001,
>       "sender-ip": "",
>       "sender-port": 0,
>       "max-queue-size": 1024,
>       "ncr-protocol": "UDP",
>       "ncr-format": "JSON"
>     },
>     // Behavioral parameters (global)
>     "ddns-send-updates": true,
>     "ddns-override-no-update": false,
>     "ddns-override-client-update": true,
>     "ddns-replace-client-name": "always",
>     "ddns-generated-prefix": "host",
>     "ddns-qualifying-suffix": “example.com",
>     "ddns-update-on-renew": true,
>     "hostname-char-set": "",
>     "hostname-char-replacement": "",
>     "reservations-global": true,
>     "reservations-in-subnet": true,
>     "authoritative": true,
>     "ip-reservations-unique": false,
>     "match-client-id": false,
> 
>     "client-classes": [
>   {"name": "dhcp-2”},
>   {"name": "dhcp-42"}
> ],
>     "reservations": [
>   { "hostname": "foobar", "hw-address": "00:0a:9f:22:c7:b0", 
> "client-classes": ["dhcp-2"]  },
> // 20000+ additional reservations of various client-class types not shown
> ],
>     "subnet4": [
>   {
>     "id": 503,
>     "subnet": "10.245.34.128/26",
>     "option-data": [
>       { "name": "routers"             , "data": "10.245.34.190"               
>                 },
>       { "name": "domain-name-servers" , "data": 
> "10.245.94.204,10.245.48.89,10.245.252.201" },
>       { "name": "domain-name"         , "data": "example.com"                 
>                  },
>       { "name": "netbios-name-servers", "data": "10.245.42.23,10.245.48.35"   
>                }
>     ],
>     "valid-lifetime": 28800,
>     "pools": [{"pool-id": 10503042, "client-class": "dhcp-42", "pool": 
> "10.245.34.129 - 10.245.34.185"}],
>     ]
>   }
> ]  }
> }
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ 
> <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.isc.org%2fcontact%2f&c=E,1,1pgL88ka4N9k7sxuUhg21GIxT_MAXpa7zvDq6zxPCSmeZuu2S0ABC22HWWFwq1XGlxRUwIsFpqrrcLFuSY-WhmIeXHVtOAFMWSJiLksUSawzqa_lNAYq&typo=1&ancr_add=1>
>  for more information.
> 
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
> <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.isc.org%2fmailman%2flistinfo%2fkea-users&c=E,1,1-TPu90wM3jYRaT38jN09VSEfuEEeCKJTD9VmUbwmDLF45Km2gkVtsZbtDnZD8dOF1YSYaOX0-3-BKQZPeOHQAGRry18j9fieSiB0t5ZIsE8uLjQ4F49qrjspE0Z&typo=1&ancr_add=1>.
> 
> Kea-users mailing list
> Kea-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users 
> <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.isc.org%2fmailman%2flistinfo%2fkea-users&c=E,1,f7Q8-5cNvEVN_kPemQaCKm5kovPSZxUH7Yem3K0gTWzdgWtoHAlGPrBq93LwD1BHFs4j3-hc0oE4zwXPGsKTQOp7_0SCzmJMCNzC7c2h78a6SGxUY690aQ,,&typo=1&ancr_add=1>
> 

-- 
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 mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to