Assertion failed - targetp != 0
Luke Miller
millerlu at integraonline.com
Wed Aug 4 22:35:22 UTC 2004
I am running bind-9.3.0rc2 with the bind-sdb-ldap-0.9 patch under Solaris 8 Sparc. I am getting this assertion failed:
04-Aug-2004 15:00:07.710 general: db.c:396: ENSURE(*targetp != 0) failed
04-Aug-2004 15:00:07.711 general: exiting (due to assertion failure)
I trace it down to this function:
void
dns_db_attachversion(dns_db_t *db, dns_dbversion_t *source,
dns_dbversion_t **targetp)
{
/*
* Attach '*targetp' to 'source'.
*/
REQUIRE(DNS_DB_VALID(db));
REQUIRE((db->attributes & DNS_DBATTR_CACHE) == 0);
REQUIRE(source != NULL);
REQUIRE(targetp != NULL && *targetp == NULL);
(db->methods->attachversion)(db, source, targetp);
ENSURE(*targetp != NULL); *** HERE ****
}
Has anyone seen this before or have any ideas what might be going on?
Thanks,
Luke
More information about the bind-users
mailing list