Hello,
I get this message when I want to start a new game (reset) with crafty and winboard : Error : first chess program exited unexpectedly
My winboard.ini :
"crafty.exe tbpath=c:\tb log off" /fd="c:\winboard\crafty" ; crafty 22.1
and my crafty.rc :
egtb
tbpath=c:\tb
hash=192m
hashp=64m
cache=16m
ponder on
kibitz 1
mt=2
log off
swindle on
learn 7
timebook 80 8
exit
What's going on ?
Winboard 4.2.7 + Crafty 22.1
Moderator: Ras
-
- Posts: 1763
- Joined: Sun Feb 26, 2006 1:49 pm
- Location: Edmonton, Alberta, Canada
- Full name: Peter Skinner
Re: Winboard 4.2.7 + Crafty 22.1
Try making a new short cut on your desktop and put this information in:Philippe wrote:Hello,
I get this message when I want to start a new game (reset) with crafty and winboard : Error : first chess program exited unexpectedly
My winboard.ini :
"crafty.exe tbpath=c:\tb log off" /fd="c:\winboard\crafty" ; crafty 22.1
and my crafty.rc :
egtb
tbpath=c:\tb
hash=192m
hashp=64m
cache=16m
ponder on
kibitz 1
mt=2
log off
swindle on
learn 7
timebook 80 8
exit
What's going on ?
F:\Chess\Winboard\winboard.exe -cp -fcp crafty -fd F:\Chess\Crafty -scp crafty -sd F:\Chess\Crafty
Of course edit the paths for your setup and use the rc file below. You have a few options set that are defaults and don't need to be in your rc.
mt=2
xboard
egtb
tbpath=c:\tb
hash=192m
hashp=64m
cache=16m
timebook 80 8
kibitz 1
log off
exit
I was kicked out of Chapters because I moved all the Bibles to the fiction section.
Re: Winboard 4.2.7 + Crafty 22.1
I modified the rc file and created the shortcut but I still have this problem when I restart a game. I also tried your compilation and JA's one. I have no problems with the option mt=1.
My cpu is an Intel Core2 Duo. Windows xp SP3 32 bits.
Below is the debug :
recognized 'normal' (-1) as variant normal
WinBoard 4.2.7 + crafty
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
StartChildProcess (dir="c:\winboard\Crafty") crafty
922 >first : xboard
protover 2
922 <first :
922 <first : Initializing multiple threads.
922 <first : System is SMP, not NUMA.
922 <first : EPD Kit revision date: 1996.04.21
922 <first : found computer opening book file [./bookc.bin].
922 <first : max threads set to 2
922 <first :
922 <first : tellicsnoalias set 1 Crafty v22.1 (2 cpus)
922 <first : tellicsnoalias kibitz Hello from Crafty v22.1! (2 cpus)
1141 <first : feature ping=1 setboard=1 san=1 time=1 draw=1
1141 >first : accepted ping
1141 >first : accepted setboard
1141 >first : accepted san
1141 >first : accepted time
1141 >first : accepted draw
1141 <first : feature sigint=0 sigterm=0 reuse=1 analyze=1
1141 >first : accepted sigint
1141 >first : accepted sigterm
1141 >first : accepted reuse
1141 >first : accepted analyze
1141 <first : feature myname="Crafty-22.1" name=1
1141 >first : accepted myname
1141 >first : accepted name
1141 <first : feature playother=1 colors=0
1141 >first : accepted playother
1141 >first : accepted colors
1141 <first : feature variants="normal,nocastle"
1141 >first : accepted variants
1141 <first : feature done=1
1141 >first : accepted done
1156 >first : new
random
1156 >first : level 0 3 0
1156 >first : post
1156 >first : hard
1156 >first : ping 1
1281 <first : tellicsnoalias set 1 Crafty v22.1 (2 cpus)
1281 <first : pong 1
2625 >first : name philippe
2625 >first : time 18000
otim 18000
2625 >first : h3
2625 <first : tellicsnoalias kibitz Hello from Crafty v22.1! (2 cpus)
2656 <first : move d5
3875 <first : 0 0 0 0 (d5 60%)
3875 <first :
3891 <first : Hint: Nf3
4875 >first : time 17995
otim 17778
4875 >first : a3
5094 <first : 10 -59 20 299477 2. ... e5 3. Nf3 e4 4. Ne5 Nf6 5. d4 Nbd7 6. Nc3 Nxe5 7. dxe5
5094 <first : 10 -59 22 316891 2. ... e5 3. Nf3 e4 4. Ne5 Nf6 5. d4 Nbd7 6. Nc3 Nxe5 7. dxe5
5328 <first : 11 -63 42 634067 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 O-O 7. dxe4 dxe4 8. Nxd6 cxd6
5344 <first : 11 -63 47 688039 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 O-O 7. dxe4 dxe4 8. Nxd6 cxd6
5985 <first : 12 -60 109 1669594 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 exd3 7. Qxd3 O-O 8. Nxd6 Qxd6
6078 <first : 12 -60 119 1818802 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 exd3 7. Qxd3 O-O 8. Nxd6 Qxd6
6797 <first : 13 -60 189 2937562 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Be7 6. Nc3 O-O 7. Bg5 c5 8. Nb3 Nbd7 9. dxe4 dxe4
6922 <first : 13 -60 203 3149609 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Be7 6. Nc3 O-O 7. Bg5 c5 8. Nb3 Nbd7 9. dxe4 dxe4
11110 <first : 14 -68 620 10088887 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Nbd7 7. Nc3 O-O 8. dxe4 dxe4 9. Bf4
11297 <first : 14 -68 642 10434801 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Nbd7 7. Nc3 O-O 8. dxe4 dxe4 9. Bf4
16922 <first : move e5
16922 <first : 14 -68 1205 20035972 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Nbd7 7. Nc3 O-O 8. dxe4 dxe4 9. Bf4
16953 <first : Hint: Nf3
19766 <first : 14 -64 282 5742626 3. ... e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Na6 7. dxe4 Nxe4 8. Nd2 O-O 9. Nxe4 dxe4 10. g4
22281 <first : 14 -64 534 11176971 3. ... e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Na6 7. dxe4 Nxe4 8. Nd2 O-O 9. Nxe4 dxe4 10. g4
37281 <first : 15 -68 2036 42945410 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
39531 <first : 15 -68 2259 46994164 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
59781 <first : 16 -68 4284 93272122 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
63797 <first : 16 -68 4686 100988236 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
GameEnds(32, White resigns, 2)
63906 >first : result 0-1 {White resigns}
63906 >first : force
63906 >first : ping 2
64031 <first : pong 2
Reset(1, 1) from gameMode 8
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
67656 >first : new
random
67656 >first : level 0 3 0
67656 >first : post
67656 >first : hard
67656 >first : ping 3
67656 <first : tellicsnoalias set 1 Crafty v22.1 (2 cpus)
Fatal Error: Error: first chess program (crafty) exited unexpectedly
GameEnds(0, (null), 2)
68969 >first : force
68969 >first : ping 4
68969 >first : quit
My cpu is an Intel Core2 Duo. Windows xp SP3 32 bits.
Below is the debug :
recognized 'normal' (-1) as variant normal
WinBoard 4.2.7 + crafty
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
StartChildProcess (dir="c:\winboard\Crafty") crafty
922 >first : xboard
protover 2
922 <first :
922 <first : Initializing multiple threads.
922 <first : System is SMP, not NUMA.
922 <first : EPD Kit revision date: 1996.04.21
922 <first : found computer opening book file [./bookc.bin].
922 <first : max threads set to 2
922 <first :
922 <first : tellicsnoalias set 1 Crafty v22.1 (2 cpus)
922 <first : tellicsnoalias kibitz Hello from Crafty v22.1! (2 cpus)
1141 <first : feature ping=1 setboard=1 san=1 time=1 draw=1
1141 >first : accepted ping
1141 >first : accepted setboard
1141 >first : accepted san
1141 >first : accepted time
1141 >first : accepted draw
1141 <first : feature sigint=0 sigterm=0 reuse=1 analyze=1
1141 >first : accepted sigint
1141 >first : accepted sigterm
1141 >first : accepted reuse
1141 >first : accepted analyze
1141 <first : feature myname="Crafty-22.1" name=1
1141 >first : accepted myname
1141 >first : accepted name
1141 <first : feature playother=1 colors=0
1141 >first : accepted playother
1141 >first : accepted colors
1141 <first : feature variants="normal,nocastle"
1141 >first : accepted variants
1141 <first : feature done=1
1141 >first : accepted done
1156 >first : new
random
1156 >first : level 0 3 0
1156 >first : post
1156 >first : hard
1156 >first : ping 1
1281 <first : tellicsnoalias set 1 Crafty v22.1 (2 cpus)
1281 <first : pong 1
2625 >first : name philippe
2625 >first : time 18000
otim 18000
2625 >first : h3
2625 <first : tellicsnoalias kibitz Hello from Crafty v22.1! (2 cpus)
2656 <first : move d5
3875 <first : 0 0 0 0 (d5 60%)
3875 <first :
3891 <first : Hint: Nf3
4875 >first : time 17995
otim 17778
4875 >first : a3
5094 <first : 10 -59 20 299477 2. ... e5 3. Nf3 e4 4. Ne5 Nf6 5. d4 Nbd7 6. Nc3 Nxe5 7. dxe5
5094 <first : 10 -59 22 316891 2. ... e5 3. Nf3 e4 4. Ne5 Nf6 5. d4 Nbd7 6. Nc3 Nxe5 7. dxe5
5328 <first : 11 -63 42 634067 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 O-O 7. dxe4 dxe4 8. Nxd6 cxd6
5344 <first : 11 -63 47 688039 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 O-O 7. dxe4 dxe4 8. Nxd6 cxd6
5985 <first : 12 -60 109 1669594 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 exd3 7. Qxd3 O-O 8. Nxd6 Qxd6
6078 <first : 12 -60 119 1818802 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bd6 6. Nb5 exd3 7. Qxd3 O-O 8. Nxd6 Qxd6
6797 <first : 13 -60 189 2937562 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Be7 6. Nc3 O-O 7. Bg5 c5 8. Nb3 Nbd7 9. dxe4 dxe4
6922 <first : 13 -60 203 3149609 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Be7 6. Nc3 O-O 7. Bg5 c5 8. Nb3 Nbd7 9. dxe4 dxe4
11110 <first : 14 -68 620 10088887 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Nbd7 7. Nc3 O-O 8. dxe4 dxe4 9. Bf4
11297 <first : 14 -68 642 10434801 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Nbd7 7. Nc3 O-O 8. dxe4 dxe4 9. Bf4
16922 <first : move e5
16922 <first : 14 -68 1205 20035972 2. ... e5 3. Nf3 e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Nbd7 7. Nc3 O-O 8. dxe4 dxe4 9. Bf4
16953 <first : Hint: Nf3
19766 <first : 14 -64 282 5742626 3. ... e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Na6 7. dxe4 Nxe4 8. Nd2 O-O 9. Nxe4 dxe4 10. g4
22281 <first : 14 -64 534 11176971 3. ... e4 4. Nd4 Nf6 5. d3 Bc5 6. Be3 Na6 7. dxe4 Nxe4 8. Nd2 O-O 9. Nxe4 dxe4 10. g4
37281 <first : 15 -68 2036 42945410 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
39531 <first : 15 -68 2259 46994164 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
59781 <first : 16 -68 4284 93272122 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
63797 <first : 16 -68 4686 100988236 3. ... e4 4. Nd4 c5 5. Nb3 c4 6. Nd4 Bc5 7. e3 Bxd4 8. exd4 Nc6 9. c3 Nf6 10. b3 cxb3 11. Qxb3
GameEnds(32, White resigns, 2)
63906 >first : result 0-1 {White resigns}
63906 >first : force
63906 >first : ping 2
64031 <first : pong 2
Reset(1, 1) from gameMode 8
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
67656 >first : new
random
67656 >first : level 0 3 0
67656 >first : post
67656 >first : hard
67656 >first : ping 3
67656 <first : tellicsnoalias set 1 Crafty v22.1 (2 cpus)
Fatal Error: Error: first chess program (crafty) exited unexpectedly
GameEnds(0, (null), 2)
68969 >first : force
68969 >first : ping 4
68969 >first : quit
Re: Winboard 4.2.7 + Crafty 22.1
I found the solution by reading this old news.
”/Xreuse” - when added will cause Winboard to restart the Chess engine after each game, instead of reusing it from game to game. This is useful in some cases with problematic engines that do not recognise the end of a game properly.
So I just added /Xreuse at the end of the command line and mt=2 works fine.
”/Xreuse” - when added will cause Winboard to restart the Chess engine after each game, instead of reusing it from game to game. This is useful in some cases with problematic engines that do not recognise the end of a game properly.
So I just added /Xreuse at the end of the command line and mt=2 works fine.
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Winboard 4.2.7 + Crafty 22.1
It is a remnant of the smpnice=1 bug. When the proceses are terminated, they go away normally under unix. But in windows, they should not terminate, they should do a "return" which will terminate them. 22.2 will solve this when it is released...Philippe wrote:Hello,
I get this message when I want to start a new game (reset) with crafty and winboard : Error : first chess program exited unexpectedly
My winboard.ini :
"crafty.exe tbpath=c:\tb log off" /fd="c:\winboard\crafty" ; crafty 22.1
and my crafty.rc :
egtb
tbpath=c:\tb
hash=192m
hashp=64m
cache=16m
ponder on
kibitz 1
mt=2
log off
swindle on
learn 7
timebook 80 8
exit
What's going on ?