[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] Stack overflow on OS X 10.8.2
From: |
Erik S. Steinmetz |
Subject: |
[gnugo-devel] Stack overflow on OS X 10.8.2 |
Date: |
Sun, 13 Jan 2013 16:30:21 -0600 |
To whom it may concern (in case anyone is still maintaining gnugo),
I have been running gnugo 3.8 without any problem for quite some time on OS X
running on a dual quad-core Mac Pro circa 2008 (Intel Xeon processors). I
compiled it in April of 2011, so that must have been under OS X 10.7, and it's
still running fine (probably about 20,000 games worth or more).
Recently I have been running gnugo 3.8 on Intel Core i7, mid to late 2012 Macs
(both a 15" MBP Retina and a Mac Mini), compiling under 10.8.2. On both of
these machines, I get the occasional stack overflow. Perhaps one in every four
hundred games.
Presumably there is something different in the build process either because of
the architecture (Xeon vs Core i7), or because of the OS (10.7 vs 10.8) and I
was wondering whether anyone else had experienced a similar problem.
I have attached the crash report below, in case the stack trace is of any help.
Any ideas on what one might do to alleviate this?
Many thanks,
Erik Steinmetz
address@hidden
Process: gnugo [3340]
Path: /Users/USER/*/gnugo
Identifier: gnugo
Version: 0
Code Type: X86-64 (Native)
Parent Process: java [3334]
User ID: 501
Date/Time: 2013-01-11 22:46:09.208 -0600
OS Version: Mac OS X 10.8.2 (12C3006)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
[3340] stack overflow
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff86dd9d46 __kill + 10
1 libsystem_c.dylib 0x00007fff86c74ec0 __abort + 193
2 libsystem_c.dylib 0x00007fff86c75d17 __stack_chk_fail +
195
3 gnugo 0x0000000104916948 recognize_eye + 152
(optics.c:1225)
4 gnugo 0x0000000104917327 read_eye + 87
(optics.c:1046)
5 gnugo 0x0000000104917ae2
compute_eyes_pessimistic + 738 (optics.c:843)
6 gnugo 0x000000010491b5ec owl_estimate_life +
924 (owl.c:3302)
7 gnugo 0x000000010491f182 do_owl_attack + 866
(owl.c:2097)
8 gnugo 0x000000010491e971 do_owl_defend + 3409
(owl.c:2937)
9 gnugo 0x00000001049203eb do_owl_attack + 5579
(owl.c:2368)
10 gnugo 0x0000000104921fa5 owl_attack + 341
(owl.c:1995)
11 gnugo 0x00000001048fcb2c make_dragons + 5244
(dragon.c:222)
12 gnugo 0x0000000104900aaa examine_position +
362 (genmove.c:166)
13 gnugo 0x0000000104900ecb do_genmove + 539
(genmove.c:432)
14 gnugo 0x0000000104901f6e genmove + 62
(genmove.c:264)
15 gnugo 0x00000001048e1c66 gtp_genmove + 86
(play_gtp.c:2569)
16 gnugo 0x00000001048e8b01 gtp_main_loop + 385
(gtp.c:142)
17 gnugo 0x00000001048ded3b play_gtp + 107
(play_gtp.c:353)
18 gnugo 0x00000001048db790 main + 7504
(main.c:1431)
19 libdyld.dylib 0x00007fff848457e1 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff5b318e20 rcx: 0x00007fff5b318e08
rdx: 0x0000000000000000
rdi: 0x0000000000000d0c rsi: 0x0000000000000006 rbp: 0x00007fff5b318e30
rsp: 0x00007fff5b318e08
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x00007fff86ddb342
r11: 0x0000000000000206
r12: 0x0000000000000014 r13: 0x0000000000000001 r14: 0x0000000105276ce0
r15: 0x0000000000000190
rip: 0x00007fff86dd9d46 rfl: 0x0000000000000206 cr2: 0x00007fff71c9dfe8
Logical CPU: 0
Binary Images:
0x1048d9000 - 0x104d82fe7 +gnugo (0)
<FAD2D330-D476-3B50-82C9-768FB8E36948> /Users/USER/*/gnugo
0x7fff644d9000 - 0x7fff6450d93f dyld (210.2.3)
<A40597AA-5529-3337-8C09-D8A014EB1578> /usr/lib/dyld
0x7fff81084000 - 0x7fff8108cfff liblaunch.dylib (442.26.2)
<2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff81769000 - 0x7fff8178eff7 libc++abi.dylib (24.4)
<E7BD9363-1D25-3551-A68A-2E2FF6ABECD7> /usr/lib/libc++abi.dylib
0x7fff81fd4000 - 0x7fff81fd6fff libquarantine.dylib (52)
<4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
0x7fff82650000 - 0x7fff82651ff7 libdnsinfo.dylib (453.18)
<E7595861-ECF9-336E-9901-BED2620FAA80> /usr/lib/system/libdnsinfo.dylib
0x7fff82687000 - 0x7fff82687fff libkeymgr.dylib (25)
<CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
0x7fff83383000 - 0x7fff83389ff7 libunwind.dylib (35.1)
<21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
0x7fff84843000 - 0x7fff84846ff7 libdyld.dylib (210.2.3)
<F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
0x7fff84fc1000 - 0x7fff850d992f libobjc.A.dylib (532.2)
<90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
0x7fff850e7000 - 0x7fff85115ff7 libsystem_m.dylib (3022.6)
<B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
0x7fff863d7000 - 0x7fff863d9ff7 libunc.dylib (25)
<92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
0x7fff863e3000 - 0x7fff863f1fff libcommonCrypto.dylib (60027)
<DA98AE56-BC3F-3AD0-9660-8CC79E4AECE6> /usr/lib/system/libcommonCrypto.dylib
0x7fff865de000 - 0x7fff865e4fff libmacho.dylib (829)
<BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
0x7fff868ea000 - 0x7fff868effff libcompiler_rt.dylib (30)
<08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
0x7fff86bfa000 - 0x7fff86c0fff7 libdispatch.dylib (228.23)
<D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
0x7fff86c1b000 - 0x7fff86ce7fe7 libsystem_c.dylib (825.25)
<8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B> /usr/lib/system/libsystem_c.dylib
0x7fff86d98000 - 0x7fff86da3fff libsystem_notify.dylib (98.5)
<C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
0x7fff86dc8000 - 0x7fff86de3ff7 libsystem_kernel.dylib (2050.20.9)
<EC0A9F5B-C9F5-336B-A7DD-49A718042F39> /usr/lib/system/libsystem_kernel.dylib
0x7fff88676000 - 0x7fff88677ff7 libSystem.B.dylib (169.3)
<132FE02E-3865-3F1F-B78D-C93D65930A67> /usr/lib/libSystem.B.dylib
0x7fff89431000 - 0x7fff89432ff7 libsystem_sandbox.dylib (220)
<3C3B03CF-C525-3CB3-8557-62E91B93AC95> /usr/lib/system/libsystem_sandbox.dylib
0x7fff895af000 - 0x7fff895feff7 libcorecrypto.dylib (106.2)
<CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
0x7fff895ff000 - 0x7fff89621ff7 libxpc.dylib (140.41)
<FAC04D8B-680E-325F-8F0C-DD69859D0E01> /usr/lib/system/libxpc.dylib
0x7fff8962d000 - 0x7fff89634fff libcopyfile.dylib (89)
<876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
0x7fff89c0d000 - 0x7fff89c0eff7 libremovefile.dylib (23.1)
<DBBFAF35-AC78-3856-92F6-6E4FD9DF14A2> /usr/lib/system/libremovefile.dylib
0x7fff89d70000 - 0x7fff89dbcff7 libauto.dylib (185.1)
<73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
0x7fff89ee3000 - 0x7fff89ee8fff libcache.dylib (57)
<65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
0x7fff8a47a000 - 0x7fff8a47bfff libsystem_blocks.dylib (59)
<D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
0x7fff8b1ce000 - 0x7fff8b204fff libsystem_info.dylib (406.17)
<4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
0x7fff8b3c6000 - 0x7fff8b3d4ff7 libsystem_network.dylib (77.10)
<0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
0x7fff8dadc000 - 0x7fff8db14fff libncurses.5.4.dylib (37.3)
<68D5B5F5-8252-3F1E-AFF1-C6AFE145DBC1> /usr/lib/libncurses.5.4.dylib
0x7fff8df0f000 - 0x7fff8df17ff7 libsystem_dnssd.dylib (379.34)
<F0AE5B8E-C7CC-3393-927F-B65DB04016AA> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8df18000 - 0x7fff8df80ff7 libc++.1.dylib (65.1)
<20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 6093
thread_create: 2
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=62.0M resident=21.5M(35%)
swapped_out_or_unallocated=40.5M(65%)
Writable regions: Total=39.5M written=21.8M(55%) resident=22.8M(58%)
swapped_out=0K(0%) unallocated=16.6M(42%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 28.0M
MALLOC guard page 16K
STACK GUARD 56.0M
Stack 8192K
__DATA 5820K
__LINKEDIT 52.7M
__TEXT 9568K
shared memory 12K
=========== =======
TOTAL 159.7M
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnugo-devel] Stack overflow on OS X 10.8.2,
Erik S. Steinmetz <=