#166 Crash while reloading previously invalid but now valid DNS zone
Closed: Fixed None Opened 2 years ago by mbasti.

Problem

Coredump

(gdb) bt
#0  0x00007f53e6c296f5 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007f53e6c2b2fa in __GI_abort () at abort.c:89
#2  0x000055c048a4c2b8 in assertion_failed (file=<optimized out>, line=<optimized out>, type=<optimized out>, cond=<optimized out>) at ./main.c:232
#3  0x00007f53e9b2fc4a in isc_assertion_failed (file=file@entry=0x7f53e2683dbb "zone_register.c", line=line@entry=553, type=type@entry=isc_assertiontype_require,
    cond=cond@entry=0x7f53e26841b0 "set != ((void *)0) && *set == ((void *)0)") at assertions.c:58
#4  0x00007f53e267a687 in zr_get_zone_settings (zr=<optimized out>, name=0x7f53e0037908, set=set@entry=0x7f53e4ef9c98) at zone_register.c:553
#5  0x00007f53e266c32d in update_record (task=<optimized out>, event=<optimized out>) at ldap_helper.c:3879
#6  0x00007f53e9b5290c in dispatch (manager=0x7f53ea57a010) at task.c:1128
#7  run (uap=0x7f53ea57a010) at task.c:1300
#8  0x00007f53e7c7e5ca in start_thread (arg=0x7f53e4efa700) at pthread_create.c:333
#9  0x00007f53e6cf7ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

In frame 4, variable set is not empty

#4  0x00007f53e267a687 in zr_get_zone_settings (zr=<optimized out>, name=0x7f53e0037908, set=set@entry=0x7f53e4ef9c98) at zone_register.c:553
(gdb) p set
$5 = (settings_set_t **) 0x7f53e4ef9c98
(gdb) p *set
$6 = (settings_set_t *) 0x7f53ea57a720

Steps to Reproduce

  • run IPA CI DNSSEC test, I'm not able to provide minimal reproducer

Environment

  • Plugin version:

bind-dyndb-ldap-10.0-1.fc24.x86_64

  • Version of ​BIND:

bind-pkcs11-9.10.4-1.P1.fc24.x86_64

  • Distribution and version (i.e. including updates):

F24 cloud

  • Architecture:

x86_64

  • Do you use bind-dyndb-ldap as part of ​FreeIPA installation? If you answered no: IPA

Minimal steps to reproduce

  • create a DNS zone (test.) with NS record relative to this zone (ns.test.)
  • make sure that name pointed to by NS record does not have any A/AAAA records
  • restart BIND
  • add missing A/AAAA record to ns.test.
  • CRASH!

Metadata Update from @mbasti:
- Issue assigned to pspacek
- Issue set to the milestone: Fedora 24

2 years ago

Login to comment on this ticket.

Metadata