Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Crafty goes crazy?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sun Mar 24, 2013 12:36 pm    Post subject: [SOLVED] Crafty goes crazy? Reply with quote

It does not seem to accept my valid move. If I get it to accept a move, it crashes. Any ideas?

Code:
 $ crafty
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Crafty v23.4 (1 cpus)

White(1): a4
Illegal move: a4
White(1): a3
              time used:   3.39
ERROR!  board[17]=0, should be -1
ERROR!  board[18]=0, should be -1
ERROR!  board[19]=0, should be -1
ERROR!  board[20]=0, should be -1
ERROR!  board[21]=0, should be -1
ERROR!  board[22]=0, should be -1
ERROR!  board[23]=0, should be -1
ERROR!  board[25]=0, should be -2
ERROR!  board[30]=0, should be -2
ERROR!  board[26]=0, should be -3
ERROR!  board[29]=0, should be -3
ERROR!  board[24]=0, should be -4
ERROR!  board[31]=0, should be -4
ERROR!  board[27]=0, should be -5
ERROR!  board[28]=0, should be -6
ERROR!  board[8]=0, should be 1
ERROR!  bitboards/board[48] don't agree!
ERROR!  hash_key is bad.
ERROR!  pawn_hash_key is bad.
processor id: cpu-0
current move:
move=  piece=1, from=9, to=16, captured=1, promote=0

       +---+---+---+---+---+---+---+---+
    8  |<R>|<N>|<B>|<Q>|<K>|<B>|<N>|<R>|
       +---+---+---+---+---+---+---+---+
    7  |<P>|<P>|<P>|<P>|<P>|<P>|<P>|<P>|
       +---+---+---+---+---+---+---+---+
    6  |   | . |   | . |   | . |   | . |
       +---+---+---+---+---+---+---+---+
    5  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    4  |   | . |   | . |   | . |   | . |
       +---+---+---+---+---+---+---+---+
    3  |-P-|   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    2  |   | . |-P-|-P-|-P-|-P-|-P-|-P-|
       +---+---+---+---+---+---+---+---+
    1  |-R-|-N-|-B-|-Q-|-K-|-B-|-N-|-R-|
       +---+---+---+---+---+---+---+---+
         a   b   c   d   e   f   g   h

called from Main(1), ply=0
node=0
active path:


Last edited by Kobboi on Sun May 19, 2013 10:46 am; edited 1 time in total
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sun Mar 24, 2013 12:43 pm    Post subject: Reply with quote

On a machine with normal crafty behavior, the binary is:

Code:
$ ldd /usr/games/bin/crafty
   linux-vdso.so.1 (0x00007fffde5ff000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7f1079e000)
   libc.so.6 => /lib64/libc.so.6 (0x00007f7f103f5000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f7f109bb000)


On the failing crafty, it's:
Code:

$ ldd /usr/games/bin/crafty
   linux-gate.so.1 (0xb76f4000)
   libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/libgcc_s.so.1 (0xb76b0000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb7697000)
   libc.so.6 => /lib/libc.so.6 (0xb7516000)
   /lib/ld-linux.so.2 (0xb76f5000)


(even though the GCC profile is set to to 4.6.3?)
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 672
Location: Belgium

PostPosted: Sun May 19, 2013 10:47 am    Post subject: Reply with quote

I had logged it in bugzilla and it's now solved in the tree
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum