Bug in thread local storage ?

Francois Tigeot ftigeot at wolfpond.org
Sun Jan 30 14:13:01 PST 2011

On Sun, Jan 30, 2011 at 01:47:59PM -0800, Matthew Dillon wrote:
> ::I've recently upgraded some mail servers to DragonFly-2.8 (from 2.6).
> ::Since the upgrade, mail/milter-greylist has begun crashing.
> ::
> ::I have been slowly pinpointing the root cause of the crashes with the
> ::author of milter-greylist; they are caused by a Thread Local Storage
> ::behavior specific to DragonFly 2.8+
> :
> :    Definite bug.  I'm tracking it down now and will fix it.
>     Fixed in master and the 2.8 branch now.  It turns out that nmalloc's
>     init code was calling pthread_set_specific() prior to allocating its
>     key, so it wound up using key 0.

Thanks, that was quick !

I'm upgrading the machines right now.

Francois Tigeot

More information about the Kernel mailing list