gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] board.c:3319 - color == WHITE || color == BLACK near F


From: Gunnar Farneback
Subject: Re: [gnugo-devel] board.c:3319 - color == WHITE || color == BLACK near F16
Date: Fri, 13 Jun 2003 00:18:49 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode)

Dan wrote:
> IL is a private SGF property used by GNU Go to mark the location
> of an illegal move, usually a ko capture.
> 
> So it is no surprise that stripping this property will break
> a regression. However it is not clear why it would cause a crash.

It's not stripped. The SGF spec requires that unknown properties are
retained and sgfc naturally complies with this.

The reason for the crash is that that the conversion of AB properties
into ranges causes GNU Go to only see the first stone in each range.
When it then tries to determine whether an illegal point is due to ko
rather than suicide it assumes that all surrounding vertices are
either off the board or occupied by stones. When this is not true an
assertion fails.

/Gunnar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]