NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re: bin/59046: dhcpd issue



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: Mon, 10 Feb 2025 08:56:37 +0100 (CET)

 This GDB was configured as "x86_64--netbsd".
 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 /usr/obj/external/mpl/dhcp/bin/server/dhcpd...
 [New process 25706]
 [New process 487]
 [New process 13393]
 [New process 27458]
 [New process 4164]
 [New process 6709]
 [New process 10550]
 [New process 11044]
 [New process 13596]
 [New process 597]
 [New process 153]
 [New process 15800]
 [New process 21849]
 Core was generated by `dhcpd'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 [Current thread is 1 (process 25706)]
 #0  0x00007bbf3510f8e8 in free () from /usr/lib/libc.so.12
 #1  0x00000001a9695d28 in dfree (ptr=<optimized out>, file=<optimized out>,
      line=<optimized out>)
      at /usr/src/external/mpl/dhcp/lib/omapip/../../dist/omapip/alloc.c:208
 #2  0x00000001a9666998 in buffer_dereference (ptr=ptr@entry=0x7bbf2dfefc80,
      file=file@entry=0x1a9852728 "/usr/src/external/mpl/dhcp/bin/server/../../dist/server/dhcpv6.c", line=line@entry=7807)
      at /usr/src/external/mpl/dhcp/lib/common/../../dist/common/alloc.c:757
 #3  0x00000001a966754c in data_string_forget (data=data@entry=0x7bbf2dfefc80,
      file=file@entry=0x1a9852728 "/usr/src/external/mpl/dhcp/bin/server/../../dist/server/dhcpv6.c", line=line@entry=7807)
      at /usr/src/external/mpl/dhcp/lib/common/../../dist/common/alloc.c:1350
 #4  0x00000001a963105a in dhcpv6 (packet=0x7bbf3888f000)
      at /usr/src/external/mpl/dhcp/bin/server/../../dist/server/dhcpv6.c:7807
 #5  0x00000001a96744a4 in do_packet6 (interface=<optimized out>,
      packet=0x7bbf2dfefde0 "\f", len=164, from_port=8962, from=<optimized out>,
      was_unicast=<optimized out>)
      at /usr/src/external/mpl/dhcp/lib/common/../../dist/common/options.c:4236
 #6  0x00000001a965e10f in got_one_v6 (h=<optimized out>)
      at /usr/src/external/mpl/dhcp/lib/common/../../dist/common/discover.c:1219
 #7  0x00000001a9691f2a in omapi_iscsock_cb (task=<optimized out>,
      socket=<optimized out>, cbarg=0x7bbf3a0fc180, flags=1)
      at /usr/src/external/mpl/dhcp/lib/omapip/../../dist/omapip/dispatch.c:172
 #8  0x00000001a980d834 in internal_fdwatch_read (sock=0x7bbf3a0bf700)
      at /usr/src/external/mpl/dhcp/bind/lib/libisc/../../dist/lib/isc/unix/socket.c:3208
 #9  dispatch_recv (sock=0x7bbf3a0bf700)
      at /usr/src/external/mpl/dhcp/bind/lib/libisc/../../dist/lib/isc/unix/socket.c:2718
 #10 process_fd (writeable=<optimized out>, readable=<optimized out>,
      fd=<optimized out>, thread=0x7bbf3a148ca0)
      at /usr/src/external/mpl/dhcp/bind/lib/libisc/../../dist/lib/isc/unix/socket.c:3279
 #11 process_fds (nevents=<optimized out>, events=<optimized out>,
      thread=0x7bbf3a148ca0)
      at /usr/src/external/mpl/dhcp/bind/lib/libisc/../../dist/lib/isc/unix/socket.c:3326
 #12 netthread (uap=0x7bbf3a148ca0)
      at /usr/src/external/mpl/dhcp/bind/lib/libisc/../../dist/lib/isc/unix/socket.c:3613
 #13 0x00000001a9837713 in isc__trampoline_run (arg=0x7bbf3a13aa30)
      at /usr/src/external/mpl/dhcp/bind/lib/libisc/../../dist/lib/isc/trampoline.c:215
 #14 0x00007bbf3960c89f in ?? () from /usr/lib/libpthread.so.1
 #15 0x00007bbf350930e0 in ?? () from /usr/lib/libc.so.12
 #16 0x0000000000200000 in ?? ()
 #17 0x0000000000000000 in ?? ()
 
 Last log entry before the crash was:
 Client 00:01:00:01:27:3e:db:f2:b0:5c:da:40:02:08 releases address 2001:638:902:200c::1269
 Sending Relay-reply to 2001:638:902:1::1 port 547
 
 
 Regards
 Uwe
 
 
 On Sat, 8 Feb 2025, Christos Zoulas wrote:
 
 > Can you compile with -g (symbols)? I can't tell which call is that.
 >
 > Thanks,
 >
 > christos
 >
 >
 >
 


Home | Main Index | Thread Index | Old Index