Date: Fri, 10 Aug 2001 01:31:03 +0900 From: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> To: asmodai@wxs.nl Cc: net@FreeBSD.org Subject: Re: BIND 8.2.4, dynamic DNS feature is broken Message-ID: <20010810013103P.matusita@jp.FreeBSD.org> In-Reply-To: <20010809082042.C1448@daemon.ninth-circle.org> References: <20010808111937.O2937@daemon.ninth-circle.org> <20010809005525X.matusita@jp.FreeBSD.org> <20010809082042.C1448@daemon.ninth-circle.org>
next in thread | previous in thread | raw e-mail | index | archive | help
asmodai> Patch is in CURRENT. I've already found your patch applied to src/contrib/bind/lib/dst/support.c. It's now revision 1.1.1.4, right? :-) asmodai> So if you could test it? :) I tested with this your patch, and applied to 4-stable. I've rebuild libbind, then named/nsupdate. Good news: nsupdate work fine. It seems that first bug is resolved. Bad news: named still dumps a core (second bug is not resolved) when I'm deleting an A RR from my dynamic DNS zone. Attached below is an output of gdb. There is a gap between #2 and #3... how do I check what functions are called between free_rrecp() and ns_panic() ? GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (gdb) run -f Starting program: /usr/sbin/named -f d_rcnt-- == 0 Program received signal SIGABRT, Aborted. 0x2813bad0 in kill () from /usr/lib/libc.so.4 (gdb) where #0 0x2813bad0 in kill () from /usr/lib/libc.so.4 #1 0x28178bf6 in abort () from /usr/lib/libc.so.4 #2 0x80838f3 in ns_panic (category=11, dump_core=1, format=0x80e178c "d_rcnt-- == 0") at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_glue.c:176 #3 0x808dd19 in free_rrecp (updlist=0xbfbfef78, rcode=0, from={ sin_len = 16 '\020', sin_family = 2 '\002', sin_port = 54281, sin_addr = {s_addr = 299683645}, sin_zero = "\000\000\000\000\000\000\000"}) at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_update.c:1475 #4 0x808ddf7 in req_update (hp=0xbfbff4e0, cp=0xbfbff4ec "\bsyvalion\bmatatabi\002or\002jp", eom=0xbfbff525 "\bsyvalion\bmatatabi\002or\002jp", msg=0xbfbff4e0 "\216ヌ(", qsp=0x0, dfd=20, from={sin_len = 16 '\020', sin_family = 2 '\002', sin_port = 54281, sin_addr = { s_addr = 299683645}, sin_zero = "\000\000\000\000\000\000\000"}, in_tsig=0x81a1b7c) at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_update.c:1494 #5 0x80712c4 in ns_req (msg=0xbfbff4e0 "\216ヌ(", msglen=69, buflen=500, qsp=0x0, from={sin_len = 16 '\020', sin_family = 2 '\002', sin_port = 54281, sin_addr = {s_addr = 299683645}, sin_zero = "\000\000\000\000\000\000\000"}, dfd=20) at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_req.c:321 #6 0x8068d8e in dispatch_message (msg=0xbfbff4e0 "\216ヌ(", msglen=162, buflen=512, qsp=0x0, from={sin_len = 16 '\020', sin_family = 2 '\002', sin_port = 54281, sin_addr = {s_addr = 299683645}, sin_zero = "\000\000\000\000\000\000\000"}, dfd=20, ifp=0x81a7024) at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:1165 #7 0x8068af0 in datagram_read (lev={opaque = 0x814c000}, uap=0x81a7024, fd=20, evmask=1) at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:1100 #8 0x809de7c in __evDispatch (opaqueCtx={opaque = 0x814c000}, opaqueEv={ opaque = 0x8127a38}) at /usr/src/lib/libbind/../../contrib/bind/lib/isc/eventlib.c:485 #9 0x80675a6 in main (argc=0, argv=0xbfbff8e0, envp=0xbfbff8e4) at /usr/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:550 (gdb) -- - Makoto `MAR' MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010810013103P.matusita>