🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4136

Strange crashes in gnuchess fixed.

#4136
From: Kong Sian
Date: Tue, 26 Dec 1995 00:00
19 lines
836 bytes
Hi.  I've been spending a lot of time chasing a very elusive bug
which cause gnuchess to crash while thinking.  If you have been
experiencing this problem, try the following simple change to
search.c. 

Somewhere near line 960 in search.c, there is this line.

g->gmove = -1;

Change this to 

g->gmove = 0;

This should get rid of some really weird crashes.

--
Chua Kong Sian   <kongsian@nsrc.nus.sg>
National Supercomputing Research Centre
Singapore
Technical Details
Message-ID: <4boec3$qg3@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,e3be5252fcc1afb0,start
X-Google-Attributes: gid10d71d,public
From: kongsian@nsrc.nus.sg (Kong Sian)
Subject: Strange crashes in gnuchess fixed.
Date: 1995/12/26
Message-ID: <4boec3$qg3@nuscc.nus.sg>
X-Deja-AN: 123155096
organization: National University of Singapore
newsgroups: gnu.chess