[Pdns-users] [recursor] Segmentation fault at startup

Stephane Bortzmeyer bortzmeyer at nic.fr
Wed May 26 19:55:33 UTC 2010

On Wed, May 26, 2010 at 11:17:25AM +0200,
 bert hubert <bert.hubert at netherlabs.nl> wrote 
 a message of 60 lines which said:

> We could probably boil this issue down to a tiny testcase that would
> crash on NetBSD. This could then lead to a bugreport to NetBSD.

I did so, both on the netbsd-users mailing list and in a thread in the
excellent Q&A site StackOverflow

The conclusions seem to be:

1) NetBSD has not thread-local storage at all (it may be added in the
future) I cannot find in-depth discussions about it, just technical
messages like

2) There is no obvious way to write a test (such as an autoconf macro)
to detect that. People recommend a --disable-tls configure flag, to be
set manually.

3) A suggested solution is to replace __thread by pthread_key_create()
+ pthread_setspecific()

More information about the Pdns-users mailing list