Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ntpd wedged by libc?



On Mar 18, 12:47pm, agcarver+netbsd%acarver.net@localhost (AGC) wrote:
-- Subject: Re: ntpd wedged by libc?

| Ok, it seems that the memory leak isn't occuring anymore but there may 
| be an infinite loop problem.  Using the snprintf workaround in ntpd, it 
| still wedged a couple days ago using over 80% CPU.  The memory usage 
| jumped up some (from 5M to 10M) but it did not go beyond that even 
| though I let it run in the wedged condition for hours.
| 
| The back trace is below.  The daemon was running for about 12 days 
| straight with no problems and then suddenly wedged.
| 
| Could this be a threads issue?  Reading the header in 
| libc/gdtoa/gdtoimp.h I see that pow5mult is a multithreaded function. 
| Is there a chance for cross thread clobbering or is it just a case of a 
| termination condition not being met in a loop and letting things spin 
| out of control?

Could we be looking at a compiler bug here?

christos


Home | Main Index | Thread Index | Old Index