bug-gnu-chess
[Top][All Lists]
Advanced

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

GNU Chess 5.06 inputstr corruption


From: juha . nygard1
Subject: GNU Chess 5.06 inputstr corruption
Date: Fri, 5 Sep 2003 23:03:13 +0300 (EEST)

GNU Chess 5.06 inputstr corruption

XBoard version: 4.2.6

Inputstr can be corrupted by starting
a new xboard that uses gnuchess, then resetting the game from xboard 
when computer thinks its move.
When new game starts after reset and you make your second move,
gnuchess will get corrupted inputstr, always something
like "time 29727". And after single stepping some more inputstr changes to
"otim 29727". Can someone who has clear view of how gnuchess works to look
at this?


Breakpoint 1, getline_standard (p=0xbf7ffa6c "") at input.c:88
(gdb) insp inputstr
$1 = "time 29727", '\0' <repeats 117 times>
(gdb) c
Continuing.

Breakpoint 1, getline_standard (p=0xbf7ffa6c "") at input.c:88
(gdb) insp inputstr
$2 = "otim 28029", '\0' <repeats 117 times>
(gdb) where
#0  getline_standard (p=0xbf7ffa6c "") at input.c:88
#1  0x0805a869 in input_func (arg=0x0) at input.c:113
#2  0x4008d8be in pthread_start_thread () from /lib/libpthread.so.0


Juha Nygård







reply via email to

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