[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] bug report
From: |
Gunnar Farnebäck |
Subject: |
Re: [gnugo-devel] bug report |
Date: |
Wed, 03 Nov 2004 00:10:44 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI) |
Dan wrote:
> I can reproduce the crash reported by Markus Wennrich.
>
> Just load the file with --level 0.
And the failure is primarily caused by safe_move() caching a result
obtained from reading at reduced depth, later leading to an
inconsistency in the filllib code (at nominal depth).
There are at least two ways to fix this bug:
1. Change safe_move() to not cache results when reading at reduced
depth. The main difficulty with this is that we currently have no
way to detect reduced depth.
2. Stop do_compute_influence() from reducing the depth below nominal.
This behaviour goes back to the patch arend_3_13.18, applied
December 21, 2002.
Personally I think we should fix it both ways, unless the performance
impact of the second alternative is too severe.
/Gunnar