Nalimov code

Discussion of chess software programming and technical issues.

Moderator: Ras

Ralf Schaefer

Nalimov code

Post by Ralf Schaefer »

Hello,

I did some tests with Nalimov endgame table bases. I used the etgb,cpp code from crafty. Everything works fine (I could not find an increase of playing strength compaired with the bitbase version but this was not expected at least on short time control).

My problem: I got error messages using valgrind:

Code: Select all

==9361== 1 errors in context 1 of 1:                                                 
==9361== Use of uninitialised value of size 8                                        
==9361==    at 0x42D742: do_decode(decode_info*, decode_block*, unsigned char*) (tbdecode.h:534)
==9361==    by 0x42EC7B: comp_decode_and_check_crc(decode_block*, decode_info*, int, int) (tbdecode.h:862)
==9361==    by 0x43019C: TbtProbeTable(int, int, unsigned int, unsigned int) (egtb.cpp:6034)              
==9361==    by 0x4306EE: L_TbtProbeTable (egtb.cpp:6216)                                                  
==9361==    by 0x429C93: ProbeEgtb (nalimov.c:138)  
I get this errors also with an older version of crafty. (version 22.8). I did not test other versions.

Does someone know solution for this problem ?

Ralf