🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4160

Gnuchess pl75 gnuchessr dumps core...

#4160
From: Richard Beerman
Date: Mon, 15 Jan 1996 00:00
22 lines
1224 bytes
Under FreeBSD-2.1.0 (and 2.0.5, I suspect), Gnuchessr (and gnuchess, etc) 
generates signal #11, Segmentation fault consistently, rendering the game
virtually unplayable.   This is built with gnucc 2.6.3, but I can try with
2.7.2, although I doubt this is the problem.

I patched in the search() -1 to 0 fix, then did a ./configure and build.
I changed CFLAGS to -g from -O2 for debugging information.

It is occuring consistently in file dspcom.c, line 279, during a "make check".

*mv = (xnode.f << 8) | xnode.t;

gdb reports:
0x14b77 in VerifyMove (s=Cannot access memory at address 0x2d202b28.)

Initially, I suspected *mv was pointing at a "bad" memory location, 
but looking at line 168 *mv = 0; in dspcom.c destroys this theory.

I'll continue looking into the problem, hopefully fixing it.  Anyone have
any quick solutions?

-RCB
Technical Details
Message-ID: <4de6rn$sak@kudo.kudonet.com>
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,6dfad43122a50799,start
X-Google-Attributes: gid10d71d,public
From: rcb@kudonet.com (Richard Beerman)
Subject: Gnuchess pl75 gnuchessr dumps core...
Date: 1996/01/15
Message-ID: <4de6rn$sak@kudo.kudonet.com>
X-Deja-AN: 135646473
organization: KudoNet On-Line Services
newsgroups: gnu.chess