Hi,
I've found myself plagued by a failed assertion when starting gpg-agent in
npth.c line 123.
Tracing this error led me to see that enter_npth() was called by gpg-agent
before npth_init() (somewhere in init_common_subsystems()).
Moving the npth_init call before solved the issue for me, but maybe this would
require more investigation? Here my diff:
- agent/gpg-agent.c.orig 2016-11-17 11:40:15.168119000 +0100
+++ agent/gpg-agent.c 2016-11-17 11:40:27.521105000 +0100
@@ -760,9 +760,8 @@
/* Make sure that our subsystems are ready. */ i18n_init ();
- init_common_subsystems (&argc, &argv);
- npth_init ();
+ init_common_subsystems (&argc, &argv);
malloc_hooks.malloc = gcry_malloc; malloc_hooks.realloc = gcry_realloc;
A few more information on the system:
FreeBSD 11, using system-provided clang 3.8.0, on a 4 cores host.
Thanks for your work,
- Matthieu Volat