gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] bug report from WING (fwd)


From: Arend Bayer
Subject: [gnugo-devel] bug report from WING (fwd)
Date: Tue, 26 Feb 2002 18:35:37 +0100 (CET)

Here is a bug report I received from Shigeru Mabuchi. It happened with
GNU Go 3.1.19. I can reproduce it with 3.1.19, but only by replaying the
game, just loading the position where the crash occured is not enough.

The crash does not happen with 3.1.26 (neither w/o nor w/ --owl-threats).
But I am not sure this means we have fixed the problem.

At the moment, I don't have time to look into this in more detail, so I 
can just report what I have collected so far. Below is the error log from
Shigeru, the backtrace from my gdb, and attached is the sgf file (somewhat
edited to fix some parsing problems).



========= Error Log Starts ==========

Server: 1 6
Server: 15 Game 13 I: hellwig (8 799 15) vs robot1 (7 768 12)
Server: 15 179(W): M4
Sent: 202 white m4
Sent: 203 genmove_black
Server: 1 6
Recv: =202 
Recv: 
owl_attack C19, result 3 E18 (2, 723 nodes, 0.03 seconds)
owl_defend C19, result 0 PASS (5, 2039 nodes, 0.06 seconds)
owl_threaten_defense C19 PASS PASS, result 0 (0, 0 nodes, 0.02 seconds)
owl_attack C17, result 3 E16 (56, 22856 nodes, 0.71 seconds)
owl_defend C17, result 3 B16 (113, 59973 nodes, 1.32 seconds)
owl_attack J11, result 3 H12 (4, 2041 nodes, 0.06 seconds)
owl_attack F9, result 3 E9 (1, 0 nodes, 0.01 seconds)
owl_defend F9, result 3 E8 (2, 1976 nodes, 0.02 seconds)
owl_attack F8, result 3 E8 (1, 0 nodes, 0.01 seconds)
owl_defend F8, result 3 E9 (2, 390 nodes, 0.02 seconds)
owl_attack L7, result 1 Q1 (6, 819 nodes, 0.05 seconds)
owl_defend L7, result 2 Q1 (7, 738 nodes, 0.06 seconds)
owl_attack P6, result 2 K4 (43, 4507 nodes, 0.32 seconds)
owl_defend P6, result 1 K4 (24, 1397 nodes, 0.18 seconds)
owl_attack N1, result 3 K4 (5, 0 nodes, 0.03 seconds)
owl_defend N1, result 0 PASS (4, 0 nodes, 0.03 seconds)
owl_threaten_defense N1 PASS PASS, result 0 (0, 0 nodes, 0.01 seconds)
owl_substantial N1, result 0 (10, 736 nodes)
owl_does_defend E16 C19(C19), result 0 (75, 32595 nodes)
owl_does_attack K4 L7(L7), result 1 (14, 992 nodes)
owl_does_defend Q1 P6(P6), result 1 (13, 1265 nodes)
owl_does_defend E9 F9(F9), result 3 (1, 1968 nodes)
owl_does_attack E9 F8(F8), result 3 (1, 0 nodes)
owl_does_attack N5 L7(L7), result 1 (9, 407 nodes)
owl_does_attack O5 L7(L7), result 1 (8, 614 nodes)
owl_does_defend Q1 P1(P6), result 1 (0, 0 nodes)
owl_does_defend N5 P6(P6), result 1 (9, 720 nodes)
owl_does_defend O5 P6(P6), result 1 (27, 2201 nodes)
owl_does_defend E8 F9(F9), result 3 (0, 0 nodes)
Recv: =203 K4
Recv: 
Tell server: K4
Server: 15 Game 13 I: hellwig (8 799 15) vs robot1 (7 763 11)
Can play 152 more moves at this speed.
Server: 15 180(B): K4
Server: 1 6
Server: 15 Game 13 I: hellwig (9 794 14) vs robot1 (7 763 11)
Server: 15 181(W): O1
Sent: 204 white o1
Sent: 205 genmove_black
Server: 1 6
Recv: =204 
Recv: 
owl_attack C19, result 3 E18 (2, 723 nodes, 0.03 seconds)
owl_defend C19, result 0 PASS (5, 2039 nodes, 0.06 seconds)
owl_threaten_defense C19 PASS PASS, result 0 (0, 0 nodes, 0.01 seconds)
owl_attack C17, result 3 E16 (56, 22856 nodes, 0.71 seconds)
owl_defend C17, result 3 B16 (113, 59973 nodes, 1.34 seconds)
owl_attack J11, result 3 H12 (4, 2060 nodes, 0.05 seconds)
owl_defend J11, result 0 PASS (11, 4633 nodes, 0.15 seconds)
owl_threaten_defense J11 PASS PASS, result 0 (38, 9631 nodes, 0.42 seconds)
owl_attack O11, result 3 N11 (2, 26 nodes, 0.02 seconds)
owl_defend O11, result 0 PASS (1, 4 nodes, 0.02 seconds)
owl_threaten_defense O11 PASS PASS, result 0 (0, 0 nodes, 0.01 seconds)
owl_attack P10, result 3 P11 (2, 41 nodes, 0.02 seconds)
owl_defend P10, result 0 PASS (1, 0 nodes, 0.01 seconds)
owl_threaten_defense P10 PASS PASS, result 0 (0, 0 nodes, 0.01 seconds)
owl_attack F9, result 3 E9 (1, 0 nodes, 0.01 seconds)
owl_defend F9, result 3 E8 (2, 2026 nodes, 0.02 seconds)
owl_attack F8, result 3 E8 (1, 0 nodes, 0.01 seconds)
owl_defend F8, result 3 E9 (2, 370 nodes, 0.02 seconds)
owl_attack L7, result 2 O5 (7, 724 nodes, 0.06 seconds)
owl_defend L7, result 1 Q1 (6, 714 nodes, 0.05 seconds)
owl_attack P6, result 1 O5 (19, 2145 nodes, 0.15 seconds)
owl_defend P6, result 2 N5 (14, 1851 nodes, 0.11 seconds)
owl_attack O1, result 3 O5 (3, 11 nodes, 0.02 seconds)
owl_defend O1, result 0 PASS (2, 0 nodes, 0.02 seconds)
owl_threaten_defense O1 PASS PASS, result 0 (0, 0 nodes, 0.01 seconds)
owl_does_defend E16 C19(C19), result 0 (75, 32890 nodes)
owl_does_attack N5 L7(L7), result 2 (6, 680 nodes)
owl_does_defend O5 P6(P6), result 2 (12, 2063 nodes)
owl_does_defend E9 F9(F9), result 3 (1, 2017 nodes)
owl_does_attack E9 F8(F8), result 3 (1, 0 nodes)
owl_does_defend O9 P1(P6), result 2 (19, 1925 nodes)
owl_does_defend N5 P1(P6), result 2 (13, 0 nodes)
owl_does_defend N11 O11(O11), result 0 (0, 0 nodes)
owl_does_defend N11 P10(P10), result 0 (2, 0 nodes)
owl_does_defend O9 P10(P10), result 0 (4, 1112 nodes)
owl_does_defend E8 F9(F9), result 3 (0, 0 nodes)
owl_substantial P1, result 1 (1, 33 nodes)


***assertion failure:
utils.c:757 - ON_BOARD1(apos) near PASS***

 (variation 30771)
   A B C D E F G H J K L M N O P Q R S T
19 . . X . X . . . . . . . . . . . O . . 19
18 . O X X . O . O . . . . . . . O . O . 18
17 . . O X . X . . . . . . . . O . O X X 17
16 . . O O . . . . O + . . . O X O O X . 16
15 . X . . . O . . . . . . . O X X X X X 15
14 . . X . . . . . . . . . . . O X X O . 14
13 . . . . . . . . . . . . . . O X O O . 13
12 . . . . X O . . . . O O . O O O X O X 12
11 . . X . . O . . X X X X . X . O X X X 11     WHITE has captured 9 stones
10 . . . + . O . . O O . X O . X O O X . 10     BLACK has captured 7 stones
 9 . . . . . X O O . O O O . . X X O X O 9
 8 . . X . . O X O X X X X O O O . . O . 8
 7 . . . . X X X X . X O X X X O O . O O 7
 6 . . . X . . . . . X O O O O X X O . . 6
 5 . . X . X X X X X O O O . . O X O . . 5
 4 . . . X . . . . . X O O O O O X O O . 4
 3 . . . . . X . . X X X O X X X X O . O 3
 2 . . . . . . . . . X O O O X . X X O . 2
 1 . . . . . . . . . X X O . O X . O O O 1
   A B C D E F G H J K L M N O P Q R S T

gnugo 3.1.19: You stepped on a bug.
Please save this game as an sgf file and mail it to address@hidden

Reader closed down.
Looks like a crash.
Tell server: tell hellwig I'm in trouble, the program crashed.
Tell server: quit

------------------

And here the gdb session (using GNU Go 3.1.19):

(gdb) set args  --quiet -l wing_hellwig.sgf --replay black
(gdb) run
Starting program: /home/arend/Go/gnugo-3.1.21/interface/gnugo --quiet -l wing_he
llwig.sgf --replay black
Move 1 (black): GNU Go plays R16 (75.00) - Game move Q4 (74.00) 
Move 3 (black): GNU Go plays Q17 (75.00) - Game move D4 (74.00) 
Move 5 (black): GNU Go plays K4 (75.00) - Game move R14 (74.00) 
Move 49 (black): GNU Go plays E12 (9.02) - Game move P10 (9.03) 
Move 67 (black): GNU Go plays K5 (9.02) - Game move E12 (9.02) 
Move 85 (black): GNU Go plays T14 (55.33) - Game move T11 (55.33) 
Move 123 (black): GNU Go plays N3 (76.32) - Game move O3 (76.28) 
Move 125 (black): GNU Go plays O4 (56.45) - Game move G7 (15.25) 
Move 127 (black): GNU Go plays F7 (33.67) - Game move N3 
Move 129 (black): GNU Go plays K3 (51.96) - Game move R2 (0.36) 
Move 159 (black): GNU Go plays G10 (17.72) - Game move M7 (4.33) 


***assertion failure:
utils.c:757 - ON_BOARD1(apos) near PASS***

(variation 30765)
A B C D E F G H J K L M N O P Q R S T
19 . . X . X . . . . . . . . . . . O . . 19
18 . O X X . O . O . . . . . . . O . O . 18
17 . . O X . X . . . . . . . . O . O X X 17
16 . . O O . . . . O + . . . O X O O X . 16
15 . X . . . O . . . . . . . O X X X X X 15
14 . . X . . . . . . . . . . . O X X O . 14
13 . . . . . . . . . . . . . . O X O O . 13
12 . . . . X O . . . . O O . O O O X O X 12
11 . . X . . O . . X X X X . X . O X X X 11     WHITE has captured 9 stones
10 . . . + . O . . O O . X O . X O O X . 10     BLACK has captured 7 stones
9 . . . . . X O O . O O O . . X X O X O 9
8 . . X . . O X O X X X X O O O . . O . 8
7 . . . . X X X X . X O X X X O O . O O 7
6 . . . X . . . . . X O O O O X X O . . 6
5 . . X . X X X X X O O O . . O X O . . 5
4 . . . X . . . . . X O O O O O X O O . 4
3 . . . . . X . . X X X O X X X X O . O 3
2 . . . . . . . . . X O O O X . X X O . 2
1 . . . . . . . . . X X O . O X . O O O 1
  A B C D E F G H J K L M N O P Q R S T

gnugo 3.1.19: You stepped on a bug.
Please save this game as an sgf file and mail it to address@hidden


Program received signal SIGABRT, Aborted.
0x400a3ab1 in __kill () from /lib/libc.so.6
(gdb) bt
#0  0x400a3ab1 in __kill () from /lib/libc.so.6
#1  0x400a36bf in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x400a4ef3 in abort () at ../sysdeps/generic/abort.c:88
#3  0x8085993 in abortgo (file=0x80e0955 "utils.c", line=757, 
    msg=0x80e0a45 "ON_BOARD1(apos)", x=-1, y=-1) at printutils.c:281
#4  0x809dc26 in confirm_safety (move=245, color=2, size=27, 
    defense_point=0x0, saved_dragons=0xbfffea5c, saved_worms=0xbfffe41c)
    at utils.c:757
#5  0x807775b in move_reasons_confirm_safety (move=245, color=2, minsize=27)
    at move_reasons.c:3568
#6  0x8078a1c in review_move_reasons (the_move=0xbffff174, val=0xbffff140, 
    color=2, pure_threat_value=0.400000006, score=91.5) at move_reasons.c:4049
#7  0x8066cee in do_genmove (move=0xbffff174, color=2, 
    pure_threat_value=0.400000006) at genmove.c:399
#8  0x8066800 in genmove (i=0xbffff1dc, j=0xbffff1e0, color=2) at genmove.c:252
#9  0x806c349 in gnugo_genmove (pos=0xbffff214, i=0xbffff1dc, j=0xbffff1e0, 
    color=2, move_number=182) at interface.c:353
#10 0x8053650 in replay_node (node=0x866da50, gameinfo=0xbffff210, 
    color_to_replay=2) at play_test.c:158
#11 0x80534bb in play_replay (sgf_head=0x8668078, color_to_replay=2)
    at play_test.c:95
#12 0x804a57d in main (argc=6, argv=0xbffff784) at main.c:813

Attachment: wing_hellwig.sgf
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]