[ntp:bugs] [Bug 596] ntpd dies after 2 days

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Sun Apr 16 03:16:22 UTC 2006


http://bugs.ntp.isc.org/show_bug.cgi?id=596



----------------------------------------------------------------------------
Additional Comments From mayer at ntp.org (Danny Mayer)
Submitted on 2006-04-16 03:16
If I were to do a real assertion here it would cause an exit. The purpose of
call get_full_recv_buffer() is to fetch a full buffer, not to test the state of
full_recvbuffs. I just added a check to log an error if the full list is empty
but full_recvbuffs is non-zero.

The change to ntpd.c is essential as I noticed that on Windows the entries in
the list were almost never emptied. The test needs to be on the contents of the
list and not a counter. Let the function decide whether or not there is
something to process otherwise you have not isolated and modularized the code.
Please remember that Windows is multithreaded and needs to be handled properly.
Is there still a problem with the counter value? Probably, but it belongs in the
recvbuf code and not in ntpdmain.

Danny

-- 
Danny Mayer <mayer at ntp.org>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the bugs mailing list