Closed GoogleCodeExporter closed 9 years ago
I have seen this in several places lately too. I think its related to the
bughouse bug. Something broke in the move validation and needs to be fixed.
Original comment by carsonday
on 27 Feb 2011 at 7:57
Original comment by carsonday
on 27 Feb 2011 at 7:58
Here is another similar one. I got this obsing a 1 0 game.
Error occured! We are trying to make Raptor bug free and we need your help!
Please take a moment to report this issue by selecting the menu:
Help -> Report Issue
Error in ThreadService Runnable.
RuntimeException: Error occured parsing message:
<12> -------- ---p--k- ----p--- pp-n---- ---P---- P-P----- KPR----- ------rr B
-1 0 0 0 0 9 99 reggieside Madmin 0 1 0 9 17 11007 3028 38 R/f2-c2 (0:01.147)
Rc2 0 1 131
fics%
java.lang.RuntimeException: Error occured parsing message:
<12> -------- ---p--k- ----p--- pp-n---- ---P---- P-P----- KPR----- ------rr B
-1 0 0 0 0 9 99 reggieside Madmin 0 1 0 9 17 11007 3028 38 R/f2-c2 (0:01.147)
Rc2 0 1 131
fics%
at raptor.connector.ics.IcsConnector$12.run(IcsConnector.java:2000)
at raptor.service.ThreadService$RunnableExceptionDecorator.run(ThreadService.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.IllegalArgumentException: Invalid move Rc2
emptyBB occupiedBB notColorToMoveBB color[WHITE] color[BLACK]
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0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 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|*|*|*|*|*|*|*|*| To Move: White Last Move:
|*|*|*|p|*|*|k|*| Piece counts [WP=4 WN=0 WB=0 WR=1 WQ=0 WK=1][BP=4 BN= 1
BB=0 BR=2 BQ=0 BK=1]
|*|*|*|*|p|*|*|*| Moves: 76 EP: - Castle: -
|*|p|*|n|*|*|*|*| FEN: 8/3p2k1/4p3/1p1n4/p2P4/P1P5/KPR5/6rr w - - 0 39
|p|*|*|P|*|*|*|*| State: 3393 Variant=lightning Result=*
|P|*|P|*|*|*|*|*| Event: 1 0 rated lightning Site=freechess.org
Date=2011.02.27
|K|P|R|*|*|*|*|*| WhiteName: reggieside BlackName=Madmin WhiteTime=11007
whiteLag=3455 blackRemainingTImeMillis = 2928 blackLag=6827
|*|*|*|*|*|*|r|r| initialWhiteClock: 00:01:00.0 initialBlackClocks=00:01:00.0
Legals=[Rc1, Rd2, Re2, Rf2, Rg2, Rh2, b3, b4, c4]
Movelist=[]
Squares with promote masks: []
at raptor.chess.ClassicGame.testForSanDisambiguationFromCheck(ClassicGame.java:2451)
at raptor.chess.ClassicGame.makeSanMove(ClassicGame.java:980)
at raptor.connector.ics.IcsUtils.addCurrentMove(IcsUtils.java:123)
at raptor.connector.ics.IcsParser.processStyle12Adjustment(IcsParser.java:1206)
at raptor.connector.ics.IcsParser.process(IcsParser.java:845)
at raptor.connector.ics.IcsParser.parseGameEvents(IcsParser.java:521)
at raptor.connector.ics.IcsParser.parse(IcsParser.java:216)
at raptor.connector.ics.IcsConnector$12.run(IcsConnector.java:1998)
... 9 more
Original comment by carsonday
on 28 Feb 2011 at 4:21
I have a hunch why this is might be happening. Before timeseal was optimized
there was a 50ms delay when publishing moves. I had forgotten why I added this.
I think what might be happening is moves are being made out of sequence on the
chess board.
Original comment by carsonday
on 28 Feb 2011 at 4:27
always comment everything :)
Original comment by jessego...@gmail.com
on 28 Feb 2011 at 5:03
It turned out it wasn't the delay. I will have to dig into it and see what is
going on. Either the fics message parsing code is buggy, or there is a bug in
the Chess Game api. It might take me a week or two to track this down.
Original comment by carsonday
on 2 Mar 2011 at 12:10
I think these have been fixed. I will close it out and keep a close eye on it.
If it shows up again ill open it back up.
Original comment by carsonday
on 6 Mar 2011 at 4:25
Original issue reported on code.google.com by
jessego...@gmail.com
on 27 Feb 2011 at 7:45