The latest source, posted about 2 days or so after the initial 23.1 release should have fixed this...BBauer wrote:Can you use hash=2048M ?
My crafty23.1 crashes with this setting.
kind regards
Bernhard
Crafty-23.1 crash
Moderator: Ras
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty-23.1 crash
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Crafty-23.1 crash
Good question. I don't use "learn=0" and both Craftys use the same book directory and files. Need to change that.bob wrote: one other question. Do you have "learn=0"? Or else do you use a different directory and book.bin file for each version? There is always a possibility of both trying to execute the learn code at the same instant, and that will break the book, at least.
-
- Posts: 3245
- Joined: Thu Mar 09, 2006 9:10 am
Re: Crafty-23.1 crash
Oh, manzullil wrote:... and both Craftys use the same book directory and files.



My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
http://www.chess.hylogic.de
-
- Posts: 58
- Joined: Thu Apr 09, 2009 1:38 pm
Re: Crafty-23.1 crash
It's not Linux, it's Darwin - derived from FreeBSD (http://developer.apple.com/opensource/index.html). It is not very different to any other UNIX you know.bob wrote:So this is basically linux? That's a new one on me. How often do you see this? in terms of once every N games, what is N?schlucke wrote:Bobbob wrote:I've never seen a crash from 23.0/23.1 released versions. I play them on ICC using 8 cores/threads 24/7, with any crash sending me an instant alert. If you see more than one, it may well be a windows-related issue although I have no idea what might cause it. If you happen to have a log file, can you post the last 50 lines or so to show what Crafty was doing at the time of the crash?zullil wrote:I've been experiencing occasional crashes. Here's a crash report. Any ideas?
Code: Select all
Process: crafty-23.1 [25356] Path: /Users/Louis/Documents/Chess/Crafty/Crafty-23.1/crafty-23.1 Identifier: crafty-23.1 Version: ??? (???) Code Type: X86-64 (Native) Parent Process: xboard [25355] Date/Time: 2009-12-10 14:19:53.389 -0500 OS Version: Mac OS X 10.5.8 (9L30) Report Version: 6 Anonymous UUID: 4CF52182-2BFE-41B2-8CD5-77275A03C082 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000be58 Crashed Thread: 7 Thread 0: 0 crafty-23.1 0x000000010004757c ThreadWait + 92 1 crafty-23.1 0x0000000100047417 Thread + 1575 2 crafty-23.1 0x0000000100012a9e Iterate + 2686 3 crafty-23.1 0x0000000100001f13 main + 2611 4 crafty-23.1 0x00000001000014b4 start + 52 Thread 1: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 2: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 3: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 4: 0 crafty-23.1 0x000000010004757c ThreadWait + 92 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 5: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 6: 0 crafty-23.1 0x000000010004757c ThreadWait + 92 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 7 Crashed: 0 crafty-23.1 0x000000010003190b SearchParallel + 379 1 crafty-23.1 0x000000010004762e ThreadWait + 270 2 crafty-23.1 0x0000000100020bcd ThreadInit + 333 3 libSystem.B.dylib 0x00007fff83f9fe8b _pthread_start + 316 4 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 7 crashed with X86 Thread State (64-bit): rax: 0x000000000000001c rbx: 0x0000000102420000 rcx: 0x0000000000000001 rdx: 0x000000000000be58 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000e00 rsp: 0x000000010389dcf0 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000001 r12: 0x0000000102420000 r13: 0x0000000000000001 r14: 0x0000000102420000 r15: 0x0000000000000007 rip: 0x000000010003190b rfl: 0x0000000000010202 cr2: 0x000000000000be58 Binary Images: 0x100000000 - 0x1000c7ff7 +crafty-23.1 ??? (???) <0a452c13de066031f69df9065efbd873> /Users/Louis/Documents/Chess/Crafty/Crafty-23.1/crafty-23.1 0x1002c4000 - 0x1002c4ffd libmx.A.dylib ??? (???) /usr/lib/libmx.A.dylib 0x7fff5fc00000 - 0x7fff5fc2e643 dyld 97.1 (???) <1d1ba42c89e77cfe2558a3c66129fff6> /usr/lib/dyld 0x7fff81f8b000 - 0x7fff81f8ffff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x7fff835fa000 - 0x7fff8366efe7 libstdc++.6.dylib ??? (???) <4c052234501252589cb46a124abc72d9> /usr/lib/libstdc++.6.dylib 0x7fff83f3d000 - 0x7fff83f49ff1 libgcc_s.1.dylib ??? (???) <568895f7479fefc4796748a618c6ec9f> /usr/lib/libgcc_s.1.dylib 0x7fff83f71000 - 0x7fff840fcffb libSystem.B.dylib ??? (???) <714d2608b5acae3ad5364897c49868fa> /usr/lib/libSystem.B.dylib 0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
One thing is for certain, if I can't reproduce it, I can't fix it.![]()
OS Version: Mac OS X 10.5.8 (9L30)
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
For me 23.1 is running fine on my Mac, but I have only two cores and 1G hash.
-
- Posts: 44589
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: Crafty-23.1 crash
Thanks Peter. I just downloaded the latest exe and will try it.Peter Skinner wrote:I run 100 or so games a day on my Phenom system and it never crashes.Graham Banks wrote:AMD Athlon MP2200+bob wrote:I noticed it said "processor is _not_ Intel" which would only leave AMD I assume. not a K7???
Bob
Cheers,
Graham.
Are you sure you are using the latest exe from my site? There was a hashing bug previously and I had recompiled the executable files.
I would try those first, and if they still give you problems I will recompile one for your system.
Peter
PS. On a side note, I notice you are using 96M for hash. Try 64M or 128M as the value is now a true power of 2 with Crafty 23.1. So 32,64,128,256,512,1024,2048,4096,8192,16384....
Cheers.
Graham.
gbanksnz at gmail.com
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty-23.1 crash
I understood. For me, there is linux (unix) and windows. For simplicity, !windows -> linux.schlucke wrote:It's not Linux, it's Darwin - derived from FreeBSD (http://developer.apple.com/opensource/index.html). It is not very different to any other UNIX you know.bob wrote:So this is basically linux? That's a new one on me. How often do you see this? in terms of once every N games, what is N?schlucke wrote:Bobbob wrote:I've never seen a crash from 23.0/23.1 released versions. I play them on ICC using 8 cores/threads 24/7, with any crash sending me an instant alert. If you see more than one, it may well be a windows-related issue although I have no idea what might cause it. If you happen to have a log file, can you post the last 50 lines or so to show what Crafty was doing at the time of the crash?zullil wrote:I've been experiencing occasional crashes. Here's a crash report. Any ideas?
Code: Select all
Process: crafty-23.1 [25356] Path: /Users/Louis/Documents/Chess/Crafty/Crafty-23.1/crafty-23.1 Identifier: crafty-23.1 Version: ??? (???) Code Type: X86-64 (Native) Parent Process: xboard [25355] Date/Time: 2009-12-10 14:19:53.389 -0500 OS Version: Mac OS X 10.5.8 (9L30) Report Version: 6 Anonymous UUID: 4CF52182-2BFE-41B2-8CD5-77275A03C082 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000be58 Crashed Thread: 7 Thread 0: 0 crafty-23.1 0x000000010004757c ThreadWait + 92 1 crafty-23.1 0x0000000100047417 Thread + 1575 2 crafty-23.1 0x0000000100012a9e Iterate + 2686 3 crafty-23.1 0x0000000100001f13 main + 2611 4 crafty-23.1 0x00000001000014b4 start + 52 Thread 1: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 2: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 3: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 4: 0 crafty-23.1 0x000000010004757c ThreadWait + 92 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 5: 0 crafty-23.1 0x0000000100047573 ThreadWait + 83 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 6: 0 crafty-23.1 0x000000010004757c ThreadWait + 92 1 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 7 Crashed: 0 crafty-23.1 0x000000010003190b SearchParallel + 379 1 crafty-23.1 0x000000010004762e ThreadWait + 270 2 crafty-23.1 0x0000000100020bcd ThreadInit + 333 3 libSystem.B.dylib 0x00007fff83f9fe8b _pthread_start + 316 4 libSystem.B.dylib 0x00007fff83f9fd4d thread_start + 13 Thread 7 crashed with X86 Thread State (64-bit): rax: 0x000000000000001c rbx: 0x0000000102420000 rcx: 0x0000000000000001 rdx: 0x000000000000be58 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000e00 rsp: 0x000000010389dcf0 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000001 r12: 0x0000000102420000 r13: 0x0000000000000001 r14: 0x0000000102420000 r15: 0x0000000000000007 rip: 0x000000010003190b rfl: 0x0000000000010202 cr2: 0x000000000000be58 Binary Images: 0x100000000 - 0x1000c7ff7 +crafty-23.1 ??? (???) <0a452c13de066031f69df9065efbd873> /Users/Louis/Documents/Chess/Crafty/Crafty-23.1/crafty-23.1 0x1002c4000 - 0x1002c4ffd libmx.A.dylib ??? (???) /usr/lib/libmx.A.dylib 0x7fff5fc00000 - 0x7fff5fc2e643 dyld 97.1 (???) <1d1ba42c89e77cfe2558a3c66129fff6> /usr/lib/dyld 0x7fff81f8b000 - 0x7fff81f8ffff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x7fff835fa000 - 0x7fff8366efe7 libstdc++.6.dylib ??? (???) <4c052234501252589cb46a124abc72d9> /usr/lib/libstdc++.6.dylib 0x7fff83f3d000 - 0x7fff83f49ff1 libgcc_s.1.dylib ??? (???) <568895f7479fefc4796748a618c6ec9f> /usr/lib/libgcc_s.1.dylib 0x7fff83f71000 - 0x7fff840fcffb libSystem.B.dylib ??? (???) <714d2608b5acae3ad5364897c49868fa> /usr/lib/libSystem.B.dylib 0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
One thing is for certain, if I can't reproduce it, I can't fix it.![]()
OS Version: Mac OS X 10.5.8 (9L30)
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
For me 23.1 is running fine on my Mac, but I have only two cores and 1G hash.

-
- Posts: 658
- Joined: Wed Mar 08, 2006 8:58 pm
Re: Crafty-23.1 crash
Yeah, should.
Can someone confirm that a 64-bit linux build from Bobs ftp-server works?
I cannot.
Kind regards
Bernhard
Can someone confirm that a 64-bit linux build from Bobs ftp-server works?
I cannot.
Kind regards
Bernhard
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Crafty-23.1 crash
I can confirm that my 64-bit build (Mac OS X Darwin) works (in that regard). The changes Bob made fixed the problem for me.BBauer wrote:Yeah, should.
Can someone confirm that a 64-bit linux build from Bobs ftp-server works?
I cannot.
Kind regards
Bernhard
-
- Posts: 658
- Joined: Wed Mar 08, 2006 8:58 pm
Re: Crafty-23.1 crash
What changes did Bob made for you?zullil wrote:I can confirm that my 64-bit build (Mac OS X Darwin) works (in that regard). The changes Bob made fixed the problem for me.BBauer wrote:Yeah, should.
Can someone confirm that a 64-bit linux build from Bobs ftp-server works?
I cannot.
Kind regards
Bernhard
Kind regards
Bernhard
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Crafty-23.1 crash
I believe the specific changes he made are discussed in this thread:BBauer wrote:What changes did Bob made for you?zullil wrote:I can confirm that my 64-bit build (Mac OS X Darwin) works (in that regard). The changes Bob made fixed the problem for me.BBauer wrote:Yeah, should.
Can someone confirm that a 64-bit linux build from Bobs ftp-server works?
I cannot.
Kind regards
Bernhard
Kind regards
Bernhard
http://www.talkchess.com/forum/viewtopic.php?t=30719
All I did was download the corrected 23.1 zip and compile it.
Louis