Some buffering problem...
Posted: 15 Mar 2013, 20:59
My new engine, written in ruby, consistently blows up after the second move when running under xboard (Mac OSX). It's fine if i run the basic ui without xboard. The relevant section of the debug file is here:
You can find the code at https://github.com/arwagner/tdchess if you're interested.
Any suggestions?
15496 >first : usermove 15496 >first : c2c3
15497 <first : /Users/andrewwagner/workspace/ruby/tdchess/lib/tdchess/runner.rb:13:in `gets': Interrupt
15497 <first : from /Users/andrewwagner/workspace/ruby/tdchess/lib/tdchess/runner.rb:13:in `tick'
15497 <first : from bin/winboard.rb:15:in `<main>'
GameEnds(26, Error: first chess program (bin/winboard.rb) exited unexpectedly, 2)
Interrupting first
18069 >first : result 0-1 {Error: first chess program (bin/winboard.rb) exited unexpectedly}
18069 >first : force
18069 >first : quit
You can find the code at https://github.com/arwagner/tdchess if you're interested.
Any suggestions?