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