#726247 xboard keeps crashing when playing on a fics-server

Package:
xboard
Source:
xboard
Description:
X Window System Chess Board
Submitter:
folkert
Date:
2026-06-27 02:45:01 UTC
Severity:
important
Tags:
#726247#5
Date:
2013-10-13 19:57:45 UTC
From:
To:
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

#726247#10
Date:
2013-10-20 06:45:50 UTC
From:
To:
Hi,

folkert <folkert@vanheusden.com> writes:

Thanks for the report. However, I don't think the backtrace is helpful
here. Could you please rebuild xboard with debug symbols enabled ?  For
example: (or I can provide the package if needed)

 apt-get source xboard
 cd xboard-4.7.2
 DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -us -uc

And then try again to crash xboard to get a more verbose backtrace.

Also, it would help if you could indicate a way to reproduce the
bug. When exactly does it crash ? Does it only happen with your chess
program ? Would it be possible to download it somewhere ?

Thanks,
Vincent