From owner-freebsd-net Thu Aug 9 9:32:47 2001 Delivered-To: freebsd-net@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id D6EB737B401 for ; Thu, 9 Aug 2001 09:32:40 -0700 (PDT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f79GWWa49439; Fri, 10 Aug 2001 01:32:33 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: net@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> X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 74 From: Makoto MATSUSHITA To: asmodai@wxs.nl Subject: Re: BIND 8.2.4, dynamic DNS feature is broken Date: Fri, 10 Aug 2001 01:31:03 +0900 Message-Id: <20010810013103P.matusita@jp.FreeBSD.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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