Crafty crashes AMD64 system

Bug #324617 reported by benb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
crafty (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: crafty

Problem:
Crafty 20.14 will hang my system when performing at a search depth of roughly 13 or more, forcing me to do a hard reboot. In a nutshell, setting mt=1 in /etc/crafty.rc makes crafty angry; mt=2 makes crafty violent. mt=1 will cause crafty to crash only if i multi-task with non-crafty related programs (firefox, audacious, etc). mt=2 removes all hope and just locks up the system.

ubuntu release:
Ubuntu 8.10 (Linux ubuntu 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64 GNU/Linux)

package release:
crafty:
  Installed: 20.14-1
  Candidate: 20.14-1
  Version table:
 *** 20.14-1 0
        500 http://us.archive.ubuntu.com intrepid/multiverse Packages
        100 /var/lib/dpkg/status

hardware:
MSI GX630 laptop
4 gigs of memory
AMD Athlon(TM) X2 Dual-Core QL-62 2.0GHz
(http://global.msi.com.tw/index.php?func=proddesc&prod_no=1513)

notes:
1. i increased shmmax to 1000000000 to accomodate large hash tables. default is only like 32 megs.
2. exact same install of Ubuntu as 32-bit has no problems whatsoever with the exact same crafty.rc, although i set shmmax to 500000000 instead on the 32-bit install.
3. Trying to compile the source for crafty i get error: too many arguments to function ‘numa_node_to_cpus’, but if i edit out -DNUMA from Makefile for -linux-amd64, it compiles. I just get no SMP function =(
4. problem exists with both 64-bit kernels, 2.6.27-7 and 2.6.27-9
5. i suspect it has to deal with -DNUMA.

benb@ubuntu:~$ cat /etc/crafty.rc
ponder on
book on
learn 7
hash=600m
hashp=200m
egtb
cache=64m
swindle on
mt=2
exit
benb@ubuntu:~$ cat /proc/sys/kernel/shmmax
1000000000
benb@ubuntu:~$ crafty

Machine is NUMA, 1 nodes (2 cpus/node)

pondering enabled.
book learning enabled
result learning enabled
position learning enabled
hash table memory = 384M bytes.
pawn hash table memory = 128M bytes.
EGTB access enabled
using tbpath=/var/lib/crafty/TB
0 piece tablebase files found
EGTB cache memory = 64M bytes.
max threads set to 2

Crafty v20.14 (2 cpus)

White(1):

Revision history for this message
benb (benb-nerp) wrote :

I've noticed when crafty starts to tantrum, if I am quick (within a second) i can CTRL+C and it will take roughly 5-10 seconds before the crafty processes die. I've tried running it with nice, as it seems to be utilizing all the CPU strength, but to no avail.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.