bind-8.2.2-P3 crash, -P5 no better

nc at collector.org nc at collector.org
Wed Mar 22 08:18:13 UTC 2000


torben fjerdingstad <unitfj-bind at tfj.rnd.uni-c.dk> wrote:
> Today bind-8.2.2-P5 crashed for me with the very same error:
> ns named[12810]: ns_notify.c:353: INSIST((zp->z_flags & Z_NOTIFY) !=
0) failed.
I've stumble upon the same problem. It occurs very often, if you
rapidly remove a domain that has notify message pending.
The following patch has temporarily solved my problem if you need
to perform these rapid changes:
-----
named_822p5_notify_patch.diff:
*** src.orig/bin/named/ns_notify.c Fri Oct 15 21:49:04 1999
--- src/bin/named/ns_notify.c Tue Mar 7 22:01:43 2000
***************
*** 1,5 ****
#if !defined(lint) && !defined(SABER)
! static const char rcsid[] = "$Id: ns_notify.c,v 8.4 1999/10/15
19:49:04 vixie Exp $";
#endif /* not lint */
/*
--- 1,5 ----
#if !defined(lint) && !defined(SABER)
! static const char rcsid[] = "$Id: ns_notify.c,v 1.1 2000/03/07
19:47:43 kenneth Exp kenneth $";
#endif /* not lint */
/*
***************
*** 349,357 ****
INSIST(!LINKED(ni, link));
zp = find_auth_zone(ni->name, ni->class);
if (zp != NULL) {
! INSIST((zp->z_flags & Z_NOTIFY) != 0);
! zp->z_flags &= ~Z_NOTIFY;
}
if (evTestID(ni->timer)) {
evClearTimer(ev, ni->timer);
--- 349,360 ----
INSIST(!LINKED(ni, link));
zp = find_auth_zone(ni->name, ni->class);
+
if (zp != NULL) {
! if ((zp->z_flags & Z_NOTIFY) == 0)
! ns_warning(ns_log_notify, "free_notify: can't
find \"%s\"", ni->name);
! else
! zp->z_flags &= ~Z_NOTIFY;
}
if (evTestID(ni->timer)) {
evClearTimer(ev, ni->timer);
-----
/Kenneth


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the bind-users mailing list