Bug in latest GIT version - new parser problem?

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Bug in latest GIT version - new parser problem?

Postby vsoljan » 08 Mar 2011, 12:13

Today I compiled (Dev-Cpp) latest version from GIT (08.03.2011.) and it compiled ok, but when I logged to FICS (tried logging as guest too) and typed "obs /b" command Winboard crashed. It happens every time I try observing a FICS game.
After that I tried version before new parser (http://git.savannah.gnu.org/cgit/xboard ... 72c13dfae7) and it works normally when trying to observe a FICS game, so I guess new parser broke something?
vsoljan
 
Posts: 24
Joined: 28 Sep 2009, 14:15

Re: Bug in latest GIT version - new parser problem?

Postby H.G.Muller » 08 Mar 2011, 20:40

OK, thanks. I will look into it. There still must be some things the new parser chokes on.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Bug in latest GIT version - new parser problem?

Postby H.G.Muller » 10 Mar 2011, 20:24

I found the problem. I had simply forgotten to make the entry point to redirect parsing to a string (yynewstr), used only when parsing the move list fetched from an ICS. It was still an empty routine. So after getting the move list, WinBoard started to parse from a file, while no file was open. I fixed it now in the hgm.nubati git (parser branch). It should be pushed to Savannah soon.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Bug in latest GIT version - new parser problem?

Postby H.G.Muller » 15 Mar 2011, 10:10

There was a additional problem parsing castling moves form the ICS. The ICS uses the non-compliant notation o-o-o here (lower-case oh), and the new parser preferred interpreting this as a Pawn push in the o-file (similar to non-compliant notations like fxg or fg, which in Xiangq, Shogi or Berolina Chess could also be fxf or ff). That should be fixed too now in Savannah master.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 2 guests