Re: Bug in thread local storage ?

看板DFBSD_kernel作者時間15年前 (2011/01/31 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
:: ::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+ :: ::The attached program has been written by Emmanuel Dreyfus, the author of ::milter-greylist. : : Definite bug. I'm tracking it down now and will fix it. : : -Matt 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. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1DHT-XzK (DFBSD_kernel)
文章代碼(AID): #1DHT-XzK (DFBSD_kernel)