bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Core dumps during rollouts


From: Jim Segrave
Subject: Re: [Bug-gnubg] Core dumps during rollouts
Date: Tue, 3 Dec 2002 19:30:01 +0100
User-agent: Mutt/1.2.5.1i

I've committed a change to eval.c to get past the rollout crashes with
small search spaces. It's pretty ugly, but it appears to work (a
repeatable crash now rolls out correctly).

The problem is that some parts of eval.c have been updated to use
movefilters, while other parts, notably FindnSaveBestMoves() still
assume the old style evalcontexts with nPlies and nSearchCandidates
members are still present. My patch caculates the maximum of
evalcontext->nSearchCandidates and the maximum value of the movefilter
Accept + Extra and allocates that much space in FindBestMovePlied().

I also changed the (movefilter) {0, 0, 0.0} to a static in line with
the reported problems with compiling on Windows.

-- 
Jim Segrave           address@hidden





reply via email to

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