From nobody@FreeBSD.ORG  Tue Nov 14 08:21:51 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 7232537B4D7; Tue, 14 Nov 2000 08:21:51 -0800 (PST)
Message-Id: <20001114162151.7232537B4D7@hub.freebsd.org>
Date: Tue, 14 Nov 2000 08:21:51 -0800 (PST)
From: dh@digitalbrain.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: dynamic dns updates (from dhcp) make named 8.2.3-T6B dump core
X-Send-Pr-Version: www-1.0

>Number:         22845
>Category:       bin
>Synopsis:       dynamic dns updates (from dhcp) make named 8.2.3-T6B dump core
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 14 08:30:01 PST 2000
>Closed-Date:    Thu Nov 16 06:47:47 PST 2000
>Last-Modified:  Thu Nov 16 06:48:49 PST 2000
>Originator:     David Hanney
>Release:        FreeBSD server.brain 4.2-BETA FreeBSD 4.2-BETA #6
>Organization:
digitalbrain.com ltd
>Environment:
server# uname -a
FreeBSD server.brain 4.2-BETA FreeBSD 4.2-BETA #6: Thu Nov  9 14:49:16 GMT 2000     dave@server.brain:/usr/src/sys/compile/GENERIC  i386
server# named -v
named 8.2.3-T6B Mon Nov 13 14:47:15 GMT 2000
        dave@server.brain:/usr/obj/usr/src/usr.sbin/named

>Description:
dynamic dns updates seem to break named

Nov 14 16:11:11 server /kernel: pid 13798 (named), uid 0: exited on signal 11 (core dumped)

>How-To-Repeat:
freebsd box:
with named and dhcp

windows box:
using the freebsd box for name resolution and dhcp

on the windows box:
from MSDOS run 'winipcfg'
then press the "renew" button

at that exact moment a tail -f /var/log/messages
will show you named getting sig 11 and dumping core

>Fix:
none

>Release-Note:
>Audit-Trail:

From: David Hanney <dh@digitalbrain.com>
To: freebsd-gnats-submit@FreeBSD.org, dh@digitalbrain.com
Cc:  
Subject: Re: bin/22845: dynamic dns updates (from dhcp) make named
  8.2.3-T6B dump core
Date: Thu, 16 Nov 2000 13:20:07 +0000

 we've cvsuped our userland back to '*default date=2000.10.09.00.00.00"
 (before that new named was put in)
 and that 'fixes' it
 
 
State-Changed-From-To: open->closed 
State-Changed-By: joe 
State-Changed-When: Thu Nov 16 06:47:47 PST 2000 
State-Changed-Why:  
This was fixed by asmodai (2000/11/15 23:47:11 PST): 

Modified files:        (Branch: RELENG_4) 
contrib/bind/bin/named ns_update.c 
Log: 
Fix CVS slippage from a merge.  Somehow these two lines remained 
when they were supposed to be superceded by the following lines. Odd. 

Anyway, this fixes the coredumps some people have been experiencing 
when a dynamic update was triggered and ifp got to be NULL somehow. 

Submitted by: Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>, nsayer 
Approved by:  jkh 

Revision     Changes    Path 
1.1.1.3.2.3  +0 -2      src/contrib/bind/bin/named/ns_update.c 



http://www.freebsd.org/cgi/query-pr.cgi?pr=22845 
>Unformatted:
