Crafty certainly qualifies as 24/7, and on ICC there have been zero hangs over the past 3 years that I have logs for. And up until this event, I have not had problems on FICS. I used both xboard versions, 4.4.4 and 4.2.6, and both hung, 4.4.4 on Sat and 4.2.6 yesterday in fifth and 7th rounds. It is certainly possible that we are seeing a race condition somewhere. Linux is pretty quick on process scheduling compared to windows so a race between input and output is possible, as is a buffer overflow or whatever else might happen.marcelk wrote:If it is FICS eating moves then other interfaces should suffer just as much, but they don't. I for example have 3 accounts continuously playing under robofics/icsdrone clones, and no issues with missing moves, never ever, for more than a decade... Also FICS has been up for almost 500 days, so any server side issue must have been there for a while. Further consider that FICS is still a single-threaded server (still handling 2000 connections, bravo!), its behavior would be very predictable and repeatable. Any bug must have been seen frequently before.hgm wrote:I don't seem to be able to provoke any hangs now. Perhaps it depends on timeof day / server load. nfortunately people start games against FairyMax all the time (and manage to lose... ), preventing me to start new test games.
I wanted to redo the test, because it is not completely conclusive: if the XBoard ICS-input thread somehow hangs, it would probably also not print the input. And I had not tried to type any commands from the hanging player, to see if there was echo / response.
So this time I added a print statement to the debug every time the input routine returns. But alas, no more hangs...
My money is that something is happening inside xboard. Not a lot of 24/7 online computers run under xboard at all. They only show up in these CC tourneys.
But xboard has been working flawlessly for me for years, right up until Saturday when things went to hell in a handbasket. And the only thing that changed was that ICC was replaced by FICS. Little doubt that there is some difference between them that is causing a problem. Unfortunately, going to a 5+ year old version of xboard (I think the last one released by Tim Mann in fact) did not fix the problem.,..