Learn more about these different git repos.
Other Git URLs
Glue test from BIND 9.9.2-P2 test suite crashes the plugin on shutdown.
Glue
The crash points to some race condition, most probably caused by improper locking or attach/detach sequence.
Test: bind-9.9.2-P2/bin/tests/system/glue
bind-9.9.2-P2/bin/tests/system/glue
Zones in ldap: mil.db.ldif, net.db.ldif, root-servers.nil.db.ldif
mil.db.ldif
net.db.ldif
root-servers.nil.db.ldif
Back trace:
#0 0x00007f478b7eb935 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007f478b7ed0e8 in __GI_abort () at abort.c:91 #2 0x00007f478cc20de2 in isc_assertion_failed (file=0x7f478cc68806 "task.c", line=616, type=isc_assertiontype_require, cond=0x7f478cc68d10 "(((task) != ((void *)0)) && (((const isc__magic_t *)(task))->magic == ((('T') << 24 | ('A') << 16 | ('S') << 8 | ('K')))))") at assertions.c:58 #3 0x00007f478cc471f1 in isc__task_sendanddetach (taskp=0x7f478ad67ce0, eventp=0x7f478ad67cd8) at task.c:616 #4 0x00007f478e1e30d6 in dns_adb_cancelfind (find=0x7f4787c61c40) at adb.c:3208 #5 0x00007f478e3453bb in notify_cancel (zone=0x7f47800a6090) at zone.c:9063 #6 0x00007f478e34d07f in zone_shutdown (task=0x7f478e9aa840, event=0x7f47800a6878) at zone.c:11088 #7 0x00007f478cc484d1 in dispatch (manager=0x7f478e995020) at task.c:1116 #8 0x00007f478cc487e5 in run (uap=0x7f478e995020) at task.c:1286 #9 0x00007f478c5f5d14 in start_thread (arg=0x7f478ad68700) at pthread_create.c:309 #10 0x00007f478b8a768d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
The problem is reproducible at lease with release 2.6 and latest master.
attachment mil.db.ldif
attachment net.db.ldif
attachment root-servers.nil.db.ldif
attachment named.conf
The crash is reproducible with bind-9.9.2-3.P1.fc17.x86_64 & plugin version 3.4.
custom bind-9.9.2-3.P1.fc17.x86_64 build with -O0, coredump & ldap.so included crash-bind-9.9.2-3.P1.fc17.x86_64.tar.bz2
The crash is still reproducible with:
bind-9.9.3-3.P1.fc17.x86_64 bind-debuginfo-9.9.3-3.P1.fc17.x86_64 bind-devel-9.9.3-3.P1.fc17.x86_64 bind-dyndb-ldap-debuginfo-2.5-1.fc17.x86_64 bind-libs-9.9.3-3.P1.fc17.x86_64 bind-libs-lite-9.9.3-3.P1.fc17.x86_64 bind-license-9.9.3-3.P1.fc17.noarch bind-utils-9.9.3-3.P1.fc17.x86_64
and plugin version 3.4.
plugin version >= 3.3 requires a bit different bind-dyndb-ldap.conf bind-dyndb-ldap.conf
The crash is still reproducible on Fedora 19. I rebuilt distribution packages without optimizations (-O0):
bind-devel-9.9.3-3.P1.O0.fc19.x86_64 bind-libs-lite-9.9.3-3.P1.O0.fc19.x86_64 bind-debuginfo-9.9.3-3.P1.O0.fc19.x86_64 bind-9.9.3-3.P1.O0.fc19.x86_64 bind-license-9.9.3-3.P1.O0.fc19.noarch bind-libs-9.9.3-3.P1.O0.fc19.x86_64 bind-dyndb-ldap-3.4-1.fc19.x86_64 bind-utils-9.9.3-3.P1.O0.fc19.x86_64
We forgot to move this ticket to Backlog... Nobody knows what is wrong with that.
Metadata Update from @pspacek: - Issue assigned to someone - Issue set to the milestone: The Backlog
I was asked by @abbra to add a reference to https://pagure.io/freeipa/issue/8121. I guess he feels these might be related.
Login to comment on this ticket.