From: Sam Moore Date: Sat, 5 May 2012 13:03:33 +0000 (+0800) Subject: [PATCH] Handle case where an AI sends an invalid message and then crashes X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;ds=inline;h=add28d0a7f265f5fcfdd67a4c1e590b19f76272e;hp=add28d0a7f265f5fcfdd67a4c1e590b19f76272e;p=progcomp2012.git [PATCH] Handle case where an AI sends an invalid message and then crashes If an AI sent a bad move and then crashed, a SIGPIPE would be reported rather than the AI's bad move. NOTE: There is an issue with Program::Running, because the segfaulted AI still returns 'true', which leads to confusion in handling SIGPIPE. Should probably handle segfaulting AIs better. Then again, people should probably not make segfaulting AIs. [SZM] ---