From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Wed, 12 Mar 2008 22:14:31 -0400 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] infrequent panics Topicbox-Message-UUID: 773125ce-ead3-11e9-9d60-3106f5b1d025 > So if you ran ps at exactly the right time (while one of the > procs on the machine was opening a #-ed file name and > was between strlen and sprint), you'd win the race. > You might improve your chances if the machine were > close to out of memory and the smalloc had to wait for > more memory. > > Oops. Changing those lines to use up->genbuf instead > of p->genbuf should eliminate the race. many thanks. i've been chasing this bug for some time. often the backtrace has been much more confusing. in fact, ps is run fairly often on this machine because i am sanguine about dns' stability. if ever there were a canidate for publish subscribe, it would be dns. - erik