-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: OpenDNSSEC 1.4.10
-
Fix Version/s: None
-
Component/s: Enforcer
-
Labels:None
-
Environment:
NetBSD/amd64 7.0
I've had to create this local patch to make OpenDNSSEC 1.4.12
work on NetBSD 7.0:
--- enforcer/utils/ksmutil.c.orig 2016-10-17 12:32:58.000000000 +0000 +++ enforcer/utils/ksmutil.c @@ -4440,7 +4440,6 @@ main (int argc, char *argv[]) xmlCleanupParser(); xmlCleanupGlobals(); - xmlCleanupThreads(); exit(result); }
The reason is that in libxml2, xmlCleanupParser() already internally calls
xmlCleanupThreads. Doing xmlCleanupThreads() twice ends up invoking
pthread_key_delete(globalkey); twice, which by default triggers an
internal assertion (and rightly so, IMHO) in NetBSD's pthread library.
This one appears also to be present in 1.4.13.
BTW, the list of "Released versions" needs to be updated in your
ticket system, the newest listed as released there is 1.4.10 (so that's what
I marked above, but it's misleading).
Regards,
Håvard