Arasan 11.3

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

krazyken

Re: Arasan 11.3

Post by krazyken »

Yeah I use 4.2.1 by default.

here is a backtrace without the optimizations:

Code: Select all

Process:         arasanx [11841]
Path:            ./arasanx
Identifier:      arasanx
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [11809]

Date/Time:       2009-03-27 12:47:19.741 -0600
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000750
Crashed Thread:  3

Thread 0:
0   libSystem.B.dylib             	0x00007fff83cae002 semop + 10
1   arasanx                       	0x0000000100030579 Search::waitForThreadCompletion(NodeInfo*) + 49 (search.cpp:2971)
2   arasanx                       	0x0000000100030841 Search::maybeWait(NodeInfo*) + 125 (search.cpp:2879)
3   arasanx                       	0x0000000100035ee8 Search::search() + 6514 (search.cpp:2254)
4   arasanx                       	0x000000010003a269 Search::search(int, int, int, int, int) + 75 (search.h:245)
5   arasanx                       	0x0000000100035a1b Search::search() + 5285 (search.cpp:2157)
6   arasanx                       	0x000000010003a269 Search::search(int, int, int, int, int) + 75 (search.h:245)
7   arasanx                       	0x0000000100035a1b Search::search() + 5285 (search.cpp:2157)
8   arasanx                       	0x000000010003a269 Search::search(int, int, int, int, int) + 75 (search.h:245)
9   arasanx                       	0x0000000100037580 RootSearch::ply0_search(RootMoveGenerator&, int, int, int, int, unsigned long long*, int) + 1820 (search.cpp:976)
10  arasanx                       	0x0000000100038075 RootSearch::ply0_search(unsigned long long*, int) + 1593 (search.cpp:634)
11  arasanx                       	0x000000010003922b SearchController::findBestMove(Board const&, SearchType, int, int, int, int, int, Statistics&, TalkLevel, unsigned long long*, int) + 379 (search.cpp:267)
12  arasanx                       	0x000000010000231d __ZL6searchR5BoardiiR10StatisticsPyi + 201
13  arasanx                       	0x0000000100006d61 __ZL7do_testSs + 2071
14  arasanx                       	0x0000000100008c24 __ZL10do_commandPKcR5Board + 3692
15  arasanx                       	0x000000010000c018 main + 1988 (arasanx.cpp:2752)
16  arasanx                       	0x0000000100001894 start + 52

Thread 1:
0   arasanx                       	0x0000000100045801 __ZL7LockAsmPVi + 25
1   arasanx                       	0x0000000100046599 ThreadPool::checkIn(ThreadInfo*) + 29 (threadp.cpp:343)
2   arasanx                       	0x0000000100046ad2 idle_loop(ThreadInfo*, split_t*) + 98
3   arasanx                       	0x0000000100046b00 __ZL10parkingLotPv + 26
4   libSystem.B.dylib             	0x00007fff83c30dcb _pthread_start + 316
5   libSystem.B.dylib             	0x00007fff83c30c8d thread_start + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff83cae002 semop + 10
1   arasanx                       	0x0000000100030579 Search::waitForThreadCompletion(NodeInfo*) + 49 (search.cpp:2971)
2   arasanx                       	0x0000000100030841 Search::maybeWait(NodeInfo*) + 125 (search.cpp:2879)
3   arasanx                       	0x0000000100035ee8 Search::search() + 6514 (search.cpp:2254)
4   arasanx                       	0x000000010003a269 Search::search(int, int, int, int, int) + 75 (search.h:245)
5   arasanx                       	0x0000000100035a1b Search::search() + 5285 (search.cpp:2157)
6   arasanx                       	0x000000010003a269 Search::search(int, int, int, int, int) + 75 (search.h:245)
7   arasanx                       	0x000000010003679b Search::searchSMP(ThreadInfo*) + 791 (search.cpp:2499)
8   arasanx                       	0x0000000100036c21 Search::idleLoop(NodeInfo*) + 51 (search.cpp:2988)
9   arasanx                       	0x0000000100036e57 Search::maybeSplit(Board const&, NodeInfo*, int, int) + 563 (search.cpp:2863)
10  arasanx                       	0x0000000100035e6a Search::search() + 6388 (search.cpp:2242)
11  arasanx                       	0x000000010003a269 Search::search(int, int, int, int, int) + 75 (search.h:245)
12  arasanx                       	0x000000010003690e Search::searchSMP(ThreadInfo*) + 1162 (search.cpp:2552)
13  arasanx                       	0x0000000100046ac1 idle_loop(ThreadInfo*, split_t*) + 81
14  arasanx                       	0x0000000100046b00 __ZL10parkingLotPv + 26
15  libSystem.B.dylib             	0x00007fff83c30dcb _pthread_start + 316
16  libSystem.B.dylib             	0x00007fff83c30c8d thread_start + 13

Thread 3 Crashed:
0   arasanx                       	0x0000000100039829 NodeInfo::unlock() + 19 (search.h:73)
1   arasanx                       	0x00000001000304da Search::join(NodeInfo*, ThreadInfo*) + 110 (search.cpp:2807)
2   arasanx                       	0x00000001000465cc ThreadPool::checkIn(ThreadInfo*) + 80 (threadp.cpp:345)
3   arasanx                       	0x0000000100046ad2 idle_loop(ThreadInfo*, split_t*) + 98
4   arasanx                       	0x0000000100046b00 __ZL10parkingLotPv + 26
5   libSystem.B.dylib             	0x00007fff83c30dcb _pthread_start + 316
6   libSystem.B.dylib             	0x00007fff83c30c8d thread_start + 13

Thread 3 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001097e0000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x00000001006dbcb8  rsi: 0x00000001097dfe68  rbp: 0x00000001097dfe50  rsp: 0x00000001097dfe50
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x00000001097e4480  r11: 0x00000001097e42a8
  r12: 0x0000000000000001  r13: 0x0000000000001003  r14: 0x0000000100046ae6  r15: 0x0000000100309500
  rip: 0x0000000100039829  rfl: 0x0000000000010246  cr2: 0x0000000000000750

Binary Images:
       0x100000000 -        0x1000e8f83 +arasanx ??? (???) <a60b8f69668f60a9fe9a774970e9a92a> /Volumes/Shard/Chess/ChessApps/arasan/arasanx
    0x7fff5fc00000 -     0x7fff5fc2e643  dyld 97.1 (???) <b40847f1ce1ba2ed13837aeccbf19284> /usr/lib/dyld
    0x7fff80003000 -     0x7fff8000fff1  libgcc_s.1.dylib ??? (???) <42e4fd8079ba44258ea9afc27d2f48f3> /usr/lib/libgcc_s.1.dylib
    0x7fff80537000 -     0x7fff8053bfff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x7fff83b05000 -     0x7fff83b79fe7  libstdc++.6.dylib ??? (???) <379a6a2dc6e21ba77310b3d2d9ea30ac> /usr/lib/libstdc++.6.dylib
    0x7fff83c02000 -     0x7fff83d8dffb  libSystem.B.dylib ??? (???) <cc365f568976948c6aeae0a0a931cb93> /usr/lib/libSystem.B.dylib
    0x7fffffe00000 -     0x7fffffe01780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
jdart
Posts: 4367
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Arasan 11.3

Post by jdart »

That's a different trace. I'll take an action item to investigate (rather than clog up the forum with this any more).

--Jon
krazyken

Re: Arasan 11.3

Post by krazyken »

Let me know if you need anything.
jdart
Posts: 4367
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Arasan 11.3 on Mac (64-bit)

Post by jdart »

Well, my daughter's older Mac it appears doesn't support 64-bit executables. So I can build the program for that target but not run it.

32-bit works so that it going to be what I support for now. If someone were to give me a patch for Darwin 64-bit, I wouldn't turn it down though :-).

--Jon
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: Arasan 11.3 on Mac (64-bit)

Post by sje »

No luck yet on getting a 64 bit executable, but here is the g++ warning list:

Code: Select all

board.cpp&#58;380&#58; warning&#58; enumeration value ‘Empty’ not handled in switch
board.cpp&#58;608&#58; warning&#58; enumeration value ‘Empty’ not handled in switch
board.cpp&#58;837&#58; warning&#58; enumeration value ‘Empty’ not handled in switch
board.cpp&#58;936&#58; warning&#58; enumeration value ‘Empty’ not handled in switch
egtb.cpp&#58;1290&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 3 has type ‘ULONG’
egtb.cpp&#58;1294&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 3 has type ‘ULONG’
egtb.cpp&#58;1301&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 4 has type ‘ULONG’
egtb.cpp&#58;1308&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 4 has type ‘ULONG’
egtb.cpp&#58;1318&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 5 has type ‘ULONG’
egtb.cpp&#58;1327&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 5 has type ‘ULONG’
egtb.cpp&#58;1330&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
egtb.cpp&#58;3268&#58; warning&#58; control may reach end of non-void function ‘unsigned int IndEnPassant21B&#40;square, square, square, square&#41;’ being inlined
egtb.cpp&#58;354&#58; warning&#58; format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
egtb.cpp&#58;4503&#58; warning&#58; ‘TB_CRC_CHECK’ initialized and declared ‘extern’
egtb.cpp&#58;6117&#58; warning&#58; ‘int TbtProbeTable&#40;int, color, INDEX&#41;’ defined but not used
egtb.cpp&#58;6323&#58; warning&#58; unused variable ‘fWasError’
egtb.cpp&#58;6324&#58; warning&#58; unused variable ‘block’
egtb.cpp&#58;6325&#58; warning&#58; unused variable ‘rgbBuffer’
legal.h&#58;15&#58; warning&#58; ‘int legalMove&#40;const Board&, Move&#41;’ defined but not used
log.cpp&#58;176&#58; warning&#58; comparison between ‘const enum StateType’ and ‘enum Log&#58;&#58;GameResult’
log.cpp&#58;2&#58; warning&#58; ignoring #pragma optimize 
makebook.cpp&#58;627&#58; warning&#58; comparison between signed and unsigned integer expressions
search.cpp&#58;1701&#58; warning&#58; comparison between ‘enum PieceType’ and ‘enum Piece’
search.cpp&#58;1729&#58; warning&#58; comparison between signed and unsigned integer expressions
search.cpp&#58;479&#58; warning&#58; comparison between signed and unsigned integer expressions
tbdecode.h&#58;798&#58; warning&#58; ‘int comp_tell_blocks&#40;decode_info*)’ defined but not used