Page 1 of 1

xboard issue (pipe)

PostPosted: 03 Aug 2016, 17:05
by Eric Mullins
Xboard doesn't appear to handle pipes correctly when used with an ics helper such as openseal.

I noticed this problem on an ARM device using openseal. But investigation showed that I get the same problem on linux i686 with the ics helper as telnet.

It connects fine, but when you 'quit', the process hangs, xboard consuming 100% cpu. Typing enter, or ctrl-c closes it with a broken pipe error. But that's irritating, but also not always possible, as often I leave the computer to run an errand, and come back to xboard using 100% cpu for long periods (because FICS closes after an hour)

Re: xboard issue (pipe)

PostPosted: 03 Aug 2016, 17:59
by Eric Mullins
I just checked, and trusty old 4.2.7 doesn't exhibit this issue. the main pipe setup in childio.c looks identical.

Re: xboard issue (pipe)

PostPosted: 04 Aug 2016, 15:26
by Eric Mullins
I suspect this is related to the GTK builds which have different code for adding an input source.