Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from dhcpd... (No debugging symbols found in dhcpd) [New process 8940] [New process 22425] [New process 6525] [New process 9041] [New process 512] [New process 27077] [New process 6305] [New process 23824] [New process 3103] [New process 16903] [New process 17743] [New process 12274] [New process 27431] Core was generated by `dhcpd'. Program terminated with signal SIGABRT, Aborted. #0 0x00007903d8d7eeea in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 8940)] (gdb) where #0 0x00007903d8d7eeea in _lwp_kill () from /usr/lib/libc.so.12 #1 0x00007903d8d846e0 in abort () from /usr/lib/libc.so.12 #2 0x0000000001e669c0 in buffer_dereference () #3 0x0000000001e6754c in data_string_forget () #4 0x0000000001e30942 in build_dhcpv6_reply () #5 0x0000000001e30f75 in dhcpv6 () #6 0x0000000001e744a4 in do_packet6 () #7 0x0000000001e5e10f in got_one_v6 () #8 0x0000000001e91f2a in ?? () #9 0x000000000200d834 in ?? () #10 0x0000000002037713 in isc.trampoline_run () #11 0x00007903dd20c89f in ?? () from /usr/lib/libpthread.so.1 #12 0x00007903d8c930e0 in ?? () from /usr/lib/libc.so.12 #13 0x0000000000200000 in ?? () #14 0x0000000000000000 in ?? () Regards Uwe On Sat, 8 Feb 2025, Christos Zoulas wrote:
Can you show the stack trace from gdb and the core file? gdb dhcpd dhcpd.core where christosOn Feb 8, 2025, at 2:55?AM, 6bone%6bone.informatik.uni-leipzig.de@localhost via gnats <gnats-admin%netbsd.org@localhost> wrote: The following reply was made to PR bin/59046; it has been noted by GNATS. From: 6bone%6bone.informatik.uni-leipzig.de@localhost To: Christos Zoulas <christos%zoulas.com@localhost> Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost Subject: Re: Re: bin/59046: dhcpd issue Date: Sat, 8 Feb 2025 08:53:46 +0100 (CET) I forgot to mention that the dhcpd is operated on a lagg0 interface. The message "No subnet6 declaration for (bnx0, bnx1, wm0, wm1)" is therefore correct. These are the participants of the lagg0 interface. Regards Uwe On Thu, 6 Feb 2025, Christos Zoulas wrote:Thanks! Index: Makefile.inc =================================================================== RCS file: /cvsroot/src/external/mpl/dhcp/Makefile.inc,v retrieving revision 1.13 diff -u -p -u -r1.13 Makefile.inc --- Makefile.inc 19 Feb 2024 20:39:13 -0000 1.13 +++ Makefile.inc 6 Feb 2025 18:43:36 -0000 @@ -14,6 +14,7 @@ BIND:= ${.PARSEDIR}/bind BINDDIST= ${BIND}/dist .PATH: ${DIST}/${DHCPSRCDIR} +CPPFLAGS+= -DPOINTER_DEBUG .if (${USE_INET6} != "no") CPPFLAGS+= -DDHCPv6 .endif