Subject: Re: odd dhcpd coredump stack trace
To: Laine Stump <>
From: Robert Elz <kre@munnari.OZ.AU>
List: current-users
Date: 10/23/2000 18:13:30
    Date:        23 Oct 2000 00:09:39 -0400
    From:        Laine Stump <>
    Message-ID:  <>

  | So what's the best/simplest way to get dhcpd built with *all* symbols,
  | stack frames, etc? It's crashing every few hours, so it shouldn't be a
  | problem to get another coredump once I have it built in a useful way.

I don't know what's the problem with the symbol table, but from the
trace you provided, it is pretty clear that the problem is that "np"
is uninitialised in cache_found_zone().

I suspect this is a problem you need to take to the dhcp-workers
list ( rather than a NetBSD list, since this
looks to be just as broken in the ISC distribution (which I don't
think that NetBSD alters at all).

It may be that the fix is as simple as replacing "np" in that call with
"zname".   Then again, it also might not.