named-checkconf core dump (bind-9.3.1rc1)

This is a discussion on named-checkconf core dump (bind-9.3.1rc1) within the Bind Users forums, part of the DNS and Related Forums category; Any ideas on why? # /usr/local/sbin/named-checkconf -t /var/chroot/named -z hash.c:383: INSIST(hash != 0 &...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2005
John Hascall
 
Posts: n/a
Default named-checkconf core dump (bind-9.3.1rc1)


Any ideas on why?

# /usr/local/sbin/named-checkconf -t /var/chroot/named -z
hash.c:383: INSIST(hash != 0 && ((((hash)) != 0) && \
(((const isc__magic_t *)((hash)))->magic == \
( (('H') << 24 | ( 'a') << 16 | ( 's') << 8 | ( 'h')))))) failed.
Abort(core dumped)

# uname -a
NetBSD vs-1.iastate.edu 1.6ZK NetBSD 1.6ZK (GENERIC) #2: \
Fri Mar 26 15:27:11 CST 2004 \
gendalia@draal.ait.iastate.edu:/usr/obj/kern/i386/GENERIC i386

# gdb /usr/local/sbin/named-checkconf \
/var/chroot/named/etc/namedb/named-checkconf.core
:
(blah blah blah)
:
(gdb) bt
#0 0x48270c4b in kill () from /usr/lib/libc.so.12
#1 0x482e4097 in abort () from /usr/lib/libc.so.12
#2 0x0813b578 in default_callback (file=0x817fc6a "hash.c", line=383,
type=isc_assertiontype_insist,
cond=0x817fe80 "hash != 0 && ((((hash)) != 0) && (((const isc__magic_t *)((hash)))->magic == ( (('H') << 24 | ( 'a') << 16 | ( 's') << 8 | ( 'h')))))")
at assertions.c:91
#3 0x0813dff1 in isc_hash_calc (
key=0x819f400 "\0010\0010\003127\ain-addr\004arpa", keylen=22,
case_sensitive=isc_boolean_false) at hash.c:383
#4 0x08055e92 in dns_name_fullhash (name=0x8198010,
case_sensitive=isc_boolean_false) at name.c:445
#5 0x08139f0d in hash_add_node (rbt=0x8193240, node=0x818c100, name=0x8198010)
at rbt.c:1476
#6 0x08137c1b in hash_node (rbt=0x8193240, node=0x818c100, name=0x8198010)
at rbt.c:1544
#7 0x0813550e in dns_rbt_addnode (rbt=0x8193240, name=0x8198010,
nodep=0x8198064) at rbt.c:387
#8 0x080e517d in dns_rbtdb_create (mctx=0x818c000, origin=0x819702c,
type=dns_dbtype_zone, rdclass=1, argc=0, argv=0x8194f74, driverarg=0x0,
dbp=0xbfbff7a8) at rbtdb.c:4943
#9 0x080bfa6a in dns_db_create (mctx=<incomplete type>,
db_type=<incomplete type>, origin=0x819702c, type=dns_dbtype_zone,
rdclass=1, argc=0, argv=0x8194f74, dbp=0xbfbff7a8) at db.c:129
#10 0x080a0be3 in zone_load (zone=0x8197000, flags=0) at zone.c:1036
#11 0x080a0da8 in dns_zone_load (zone=0x8197000) at zone.c:1083
#12 0x0804b517 in load_zone (mctx=0x818c000, zonename=<incomplete type>,
filename=<incomplete type>, classname=<incomplete type>, zonep=0x0)
at check-tool.c:120
#13 0x0804aac4 in configure_zone (vclass=0x81945e0 "in", view=0x81945d0 "in",
zconfig=0x819bf40, mctx=0x818c000) at ./named-checkconf.c:117
#14 0x0804abc9 in configure_view (vclass=0x81945e0 "in", view=0x81945d0 "in",
config=0x81932c0, vconfig=0x819bc00, mctx=0x818c000)
at ./named-checkconf.c:149
#15 0x0804acee in load_zones_fromconfig (config=0x81932c0, mctx=0x818c000)
at ./named-checkconf.c:184
#16 0x0804b0c1 in main (argc=4, argv=0xbfbffbc8) at ./named-checkconf.c:272
#17 0x0804a670 in ___start ()
(gdb) up 3
#3 0x0813dff1 in isc_hash_calc (
key=0x819f400 "\0010\0010\003127\ain-addr\004arpa", keylen=22,
case_sensitive=isc_boolean_false) at hash.c:383
383 hash.c: No such file or directory.
in hash.c
(gdb) print hash
$1 = (isc_hash_t *) 0x0


Even this trimmed down config file generates the error:

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.db";
};

It looks to me like isc_hash_create() isn't getting called
and if I read the code correctly it ought to have been.


John


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0