I use xboard as an interface between my chess program and a chess server using the fics software.
Every game, it crashes somewhere in the game:
(gdb) bt
#0 0x00007f4446b11f41 in XtWidgetToApplicationContext () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#1 0x00007f4446b18c6c in XtGetValues () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#2 0x00007f44480f0542 in ?? ()
#3 0x00007f44480de71f in ?? ()
#4 0x00007f44480c097b in ?? ()
#5 0x00007f4446b20817 in XtAppProcessEvent () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#6 0x00007f4446b1589d in XtAppMainLoop () from /usr/lib/x86_64-linux-gnu/libXt.so.6
#7 0x00007f4448091bdb in ?? ()
#8 0x00007f444574b995 in __libc_start_main (main=0x7f44480912b0, argc=17, ubp_av=0x7fff85e31338, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fff85e31328) at libc-start.c:260
#9 0x00007f44480921f3 in ?? ()
Last few lines from xboard debug log:
load 8x8 board
parseboard 4, castling = 7 0 4 7 0 4
accepted move h5 from ICS, parse it.
moveNum = 4
board = 0-8 x 8
Move parsed to 'h5 (0:04)'
nps: w=-1, b=-1
Display title 'WaDuuttie(39) DeepBrutePos(38) {5 1}, gameInfo.variant = 0'
<ICS: \012\015<12> rnbqkbnr ppppp-p- -------- -----P-p ---P---- -------- PPP--PPP RNBQKBNR B 3 1 1 1 1 0 1 WaDuuttie DeepBrutePos 1 5 1 39 38 279 297 3 P/d2-d4 (0:07) d4 1 1\012\015\012\015\015fics%
ics input 4, castling = 7 0 4 7 0 4
Parsing board: rnbqkbnr ppppp-p- -------- -----P-p ---P---- -------- PPP--PPP RNBQKBNR B 3 1 1 1 1 0 1 WaDuuttie DeepBrutePos 1 5 1 39 38 279 297 3 P/d2-d4 (0:07) d4 1 1
load 8x8 board
parseboard 5, castling = 7 0 4 7 0 4
accepted move d4 from ICS, parse it.
moveNum = 5
board = 0-8 x 8
Move parsed to 'd4 (0:07)'
10182863 >first : time 29700
10182863 >first : otim 27900
book hit = (NULL)
10182863 >first : d4
nps: w=-1, b=-1
Display title 'WaDuuttie(39) DeepBrutePos(38) {5 1}, gameInfo.variant = 0'
<ICS: \012\015WaDuuttie(1957)(C) kibitzes: !!! +1.78/15 (7.38 sec, 8165427 \012\015\ nodes, 1106 knps) PV=d2d4 d7d5 f1d3 b8c6 c2c3 d8d6 g1e2 e7e5 \012\015\ f5e6 c8e6 c1f4 d6d7 e1g1 e8c8 b1d2 e6g4\012\015fics%
ics input 5, castling = 7 0 4 7 0 4