Article View: gnu.chess
Article #4153Re: Unexpected exit
From: Nikhil Nair
Date: Fri, 12 Jan 1996 00:00
Date: Fri, 12 Jan 1996 00:00
33 lines
1626 bytes
1626 bytes
On Fri, 12 Jan 1996, Andreas Fatum wrote:
> I'm using xboard 3.4pl0 and gnuchess 4.0pl75 on my linux box (1.2.13 kernel).
> I did compile all of the above with gcc 2.6.2. After calling xboard and
> making a few moves I get the message:
>
> xboard: Error: first chess program (gnuchessx) exited unexpectedly
>
> Does anyone know why this error occurs and how to fix it?
>
> Regards,
> Andreas
>
> --
> Andreas Fatum ace@acelab.ruhr.de (@home)
> Student of CS, ace@mdz.uni-dortmund.de (@work)
> University of Dortmund ..!uunet!germany.EU.net!acelab!ace (UUCP/Bang!)
I can't verify this myself as I don't use X (I'm blind), but I guess you
probably haven't corrected the bug in gnuchess-4.0.pl75/src/search.c.
Change line 967 from
g->gmove = -1;
to
g->gmove = 0;
Without this fix, gnuchessr segfaults while it's `thinking', and I guess
gnuchessx would do something similar.
[BTW, I'm thinking of updating the Linux package, as the one on
sunsite.unc.edu is ancient, and I'm updating the Debian version anyway.]
Hope this helps,
Nikhil.
Technical Details
Message-ID:
<Pine.SOL.3.91.960112231403.22365A-100000@ursa.cus.cam.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<1996Jan12.204251.1872@acelab.ruhr.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,bcd8a729f471ba91,start X-Google-Attributes: gid10d71d,public From: Nikhil Nair <nn201@cus.cam.ac.uk> Subject: Re: Unexpected exit Date: 1996/01/12 Message-ID: <Pine.SOL.3.91.960112231403.22365A-100000@ursa.cus.cam.ac.uk> X-Deja-AN: 134933644 references: <1996Jan12.204251.1872@acelab.ruhr.de> content-type: TEXT/PLAIN; charset=US-ASCII organization: University of Cambridge, England mime-version: 1.0 newsgroups: gnu.chess