gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Bug Report


From: Sumit Chaturvedi
Subject: [gnugo-devel] Bug Report
Date: Mon, 2 Apr 2018 22:27:43 +0530

Apparently I stepped on a bug.

***assertion failure:
board.c:1086 - ON_BOARD1(pos) near [3]***


   A B C D E F G H J K L M N O P Q R S T
19 . . . . . . . . . . . . . . . . . . . 19
18 . . . . . . . . . . . . . . . . . . . 18
17 . . . . . . . . . . . . . . . . . . . 17
16 . . . + . . . . . + . . . . . + . . . 16
15 . . . . . . . . . . . . . . . . . . . 15
14 . . . . . . . . . . . . . . . . . . . 14
13 . . . . . . . . . . . . . . . . . . . 13
12 . . . . . . . . . . . . . . . . . . . 12
11 . . . . . . . . . . . . . . . . . . . 11     WHITE (O) has captured 0 stones
10 . . . + . . . . . + . . . . . + . . . 10     BLACK (X) has captured 0 stones
 9 . . . . . . . . . . . . . . . . . . . 9
 8 . . . . . . . . . . . . . . . . . . . 8
 7 . . . . . . . . . . . . . . . . . . . 7
 6 . . . . . . . . . . . . . . . . . . . 6
 5 . . . . . . . . . . . . . . . . . . . 5
 4 . . . + . . . . . + . . . . . + . . . 4
 3 . . . . . . . . . . . . . . . . . . . 3
 2 . . . . . . . . . . . . . . . . . . . 2
 1 . . . . . . . . . . . . . . . . . . . 1
   A B C D E F G H J K L M N O P Q R S T
(;GM[1]FF[4]SZ[19]KM[0.0]HA[0]GN[GNU Go 3.8 stepped on a bug]
)
gnugo 3.8 (seed 0): You stepped on a bug.
Please mail this message, including the debug output above, to address@hidden

Aborted (core dumped)

-------------------------
The program i tried running was
#include "board.h"
#include "liberty.h"
#include "sgftree.h"

int main(){
  clear_board();
  printf("%d\n",is_legal(3,1));
}

----------------------------
compiled using
gcc -o myfile myfile.c ../engine/libboard.a ../sgf/libsgf.a ../utils/libutils.a


--
Sumit Chaturvedi

reply via email to

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