bind 9.8.1-P1 crashes with an assertion failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04.1 LTS
1:9.8.1.
While loading a certain zone file (attached) and using auto-dnssec (see the conf below), bind crashes with an "assertion failure" message. This bug seems to be fixed in the latest ISC releases - 9.8.4 and 9.9.2, please backport the patch.
(The attached zone file is not exactly correct, but should not result in an assertion failure).
named.conf:
zone net-me.net {
type master;
file "db";
allow-update {127.0.0.1;};
auto-dnssec allow;
};
Error log:
....
02-Dec-2012 11:54:14.815 rdata.c:393: REQUIRE(
02-Dec-2012 11:54:14.815 #0 0xb76b8e18 in ??
02-Dec-2012 11:54:14.815 #1 0xb74136c4 in ??
02-Dec-2012 11:54:14.815 #2 0xb753fec4 in ??
02-Dec-2012 11:54:14.815 #3 0xb751bb0f in ??
02-Dec-2012 11:54:14.815 #4 0xb7569174 in ??
02-Dec-2012 11:54:14.815 #5 0xb75c0662 in ??
02-Dec-2012 11:54:14.815 #6 0xb75d30db in ??
02-Dec-2012 11:54:14.815 #7 0xb75d84f9 in ??
02-Dec-2012 11:54:14.815 #8 0xb74369ac in ??
02-Dec-2012 11:54:14.816 #9 0xb73e9d4c in ??
02-Dec-2012 11:54:14.816 #10 0xb71dad3e in ??
02-Dec-2012 11:54:14.816 exiting (due to assertion failure)
Aborted (core dumped)
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Reproduced on 1:9.8.1. dfsg.P1- 4ubuntu0. 4 (Precise).
On Raring, it doesn't crash, but I do get significant (>90%) constant CPU use with the following:
Dec 3 08:39:11 raring1 named[2561]: dns_dnssec_ findzonekeys2: error reading private key file net-me. net/RSASHA256/ 17557: file not found
Dec 3 08:39:11 named[2561]: last message repeated 199 times
Dec 3 08:39:11 raring1 rsyslogd-2177: imuxsock begins to drop messages from pid 2561 due to rate-limiting
Dec 3 08:39:17 raring1 rsyslogd-2177: imuxsock lost 46730 messages from pid 2561 due to rate-limiting
You said that the zone file is not correct. Is this because it is malformed and that bind would be expected to reject it, or for some other reason? Does this bug affect correct zone files or just misconfigured ones?