Re: Bug in thread local storage ?

看板DFBSD_kernel作者時間15年前 (2011/01/31 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
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
文章代碼(AID): #1DHURbj3 (DFBSD_kernel)
文章代碼(AID): #1DHURbj3 (DFBSD_kernel)