[Pachi] segfault boardsize 19 \n genmove black \n

jonathan chetwynd j.chetwynd at btconnect.com
Wed Jun 8 13:34:24 CEST 2011


boardsize 19

thanks once again for your patience...

3 reports attached, nb ! ILLEGAL MOVE

1  
$ gdb --args pachi
IN: boardsize 19
= 

genmove black
segfault

2 
$ gdb --args pachi
IN: boardsize 19
= 

play black d4
! ILLEGAL MOVE
genmove black
segfault

3
$ gdb --args pachi "reporting=jsonbig","threads=2"
IN: boardsize 19
= 

play black D4
! ILLEGAL MOVE
genmove black
segfault

 for reference

best

Jonathan
  	
Jonathan Chetwynd

j.chetwynd at btconnect.com
http://www.peepo.com/

+44 (0) 20 7978 1764



mac-mini:~ jaymini$ gdb --args pachi
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .. done

(gdb) run
Starting program: /usr/local/bin/pachi 
Reading symbols for shared libraries +. done
Random seed: 1307447029
boardsize 19
IN: boardsize 19
= 

genmove black
IN: genmove black
Fresh board with random seed 1307447029

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000001477fffac
[Switching to process 86675]
0x000000010000250f in play_one_neighbor [inlined] () at /Users/jaymini/pachi/board.c:1070
1070		enum stone ncolor = board_at(board, c);
(gdb) bt
#0  0x000000010000250f in play_one_neighbor [inlined] () at /Users/jaymini/pachi/board.c:1070
#1  0x000000010000250f in board_play_outside [inlined] () at /Users/jaymini/pachi/board.c:1135
#2  0x000000010000250f in board_play_f (board=0x1006f9d00, m=0x1006f9b40, f=44) at board.c:1263
#3  0x0000000000000009 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
error while killing target (killing anyway): assertion failure on line 300 of "/SourceCache/gdb/gdb-1515/src/gdb/macosx/macosx-nat-inferior-util.c" in function "macosx_inferior_suspend_ptrace": status.value.sig == TARGET_SIGNAL_STOP

warning: error on line 2182 of "/SourceCache/gdb/gdb-1515/src/gdb/macosx/macosx-nat-inferior.c" in function "macosx_kill_inferior_safe": (os/kern) failure (0x5x)

-----

mac-mini:~ jaymini$ gdb --args pachi
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .. done

(gdb) run
Starting program: /usr/local/bin/pachi 
Reading symbols for shared libraries +. done
Random seed: 1307444704
boardsize 19
IN: boardsize 19
= 

play black d4
IN: play black d4
got move 1,0,0
Fresh board with random seed 1307444704
Warning: Cannot promote move node! Several play commands in row?
! ILLEGAL MOVE 1,0,0
Move:   0  Komi: 0.0  Handicap: 0  Captures B: 0 W: 0
      A B C D E F G H J K L M N O P Q R S T  
    +---------------------------------------+
 19 | . . . . . . . . . . . . . . . . . . . |
 18 | . . . . . . . . . . . . . . . . . . . |
 17 | . . . . . . . . . . . . . . . . . . . |
 16 | . . . . . . . . . . . . . . . . . . . |
 15 | . . . . . . . . . . . . . . . . . . . |
 14 | . . . . . . . . . . . . . . . . . . . |
 13 | . . . . . . . . . . . . . . . . . . . |
 12 | . . . . . . . . . . . . . . . . . . . |
 11 | . . . . . . . . . . . . . . . . . . . |
 10 | . . . . . . . . . . . . . . . . . . . |
  9 | . . . . . . . . . . . . . . . . . . . |
  8 | . . . . . . . . . . . . . . . . . . . |
  7 | . . . . . . . . . . . . . . . . . . . |
  6 | . . . . . . . . . . . . . . . . . . . |
  5 | . . . . . . . . . . . . . . . . . . . |
  4 | . . . . . . . . . . . . . . . . . . . |
  3 | . . . . . . . . . . . . . . . . . . . |
  2 | . . . . . . . . . . . . . . . . . . . |
  1 | . . . . . . . . . . . . . . . . . . . |
    +---------------------------------------+

? illegal move

genmove black
IN: genmove black
Fresh board with random seed 1307444704

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000001477fffac
[Switching to process 86639]
0x000000010000250f in play_one_neighbor [inlined] () at /Users/jaymini/pachi/board.c:1070
1070		enum stone ncolor = board_at(board, c);
(gdb) bt
#0  0x000000010000250f in play_one_neighbor [inlined] () at /Users/jaymini/pachi/board.c:1070
#1  0x000000010000250f in board_play_outside [inlined] () at /Users/jaymini/pachi/board.c:1135
#2  0x000000010000250f in board_play_f (board=0x1006f9d00, m=0x1006f9b40, f=14) at board.c:1263
#3  0x0000000000000009 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
error while killing target (killing anyway): assertion failure on line 300 of "/SourceCache/gdb/gdb-1515/src/gdb/macosx/macosx-nat-inferior-util.c" in function "macosx_inferior_suspend_ptrace": status.value.sig == TARGET_SIGNAL_STOP

warning: error on line 2182 of "/SourceCache/gdb/gdb-1515/src/gdb/macosx/macosx-nat-inferior.c" in function "macosx_kill_inferior_


------

mac-mini:~ jaymini$ gdb --args pachi "reporting=jsonbig","threads=2"
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .. done

(gdb) run
Starting program: /usr/local/bin/pachi reporting=jsonbig,threads=2
Reading symbols for shared libraries +. done
Random seed: 1307444303
boardsize 19
IN: boardsize 19
= 

play black D4
IN: play black D4
got move 1,0,0
! ILLEGAL MOVE 1,0,0
Move:   0  Komi: 0.0  Handicap: 0  Captures B: 0 W: 0
      A B C D E F G H J K L M N O P Q R S T  
    +---------------------------------------+
 19 | . . . . . . . . . . . . . . . . . . . |
 18 | . . . . . . . . . . . . . . . . . . . |
 17 | . . . . . . . . . . . . . . . . . . . |
 16 | . . . . . . . . . . . . . . . . . . . |
 15 | . . . . . . . . . . . . . . . . . . . |
 14 | . . . . . . . . . . . . . . . . . . . |
 13 | . . . . . . . . . . . . . . . . . . . |
 12 | . . . . . . . . . . . . . . . . . . . |
 11 | . . . . . . . . . . . . . . . . . . . |
 10 | . . . . . . . . . . . . . . . . . . . |
  9 | . . . . . . . . . . . . . . . . . . . |
  8 | . . . . . . . . . . . . . . . . . . . |
  7 | . . . . . . . . . . . . . . . . . . . |
  6 | . . . . . . . . . . . . . . . . . . . |
  5 | . . . . . . . . . . . . . . . . . . . |
  4 | . . . . . . . . . . . . . . . . . . . |
  3 | . . . . . . . . . . . . . . . . . . . |
  2 | . . . . . . . . . . . . . . . . . . . |
  1 | . . . . . . . . . . . . . . . . . . . |
    +---------------------------------------+

? illegal move

genmove black
IN: genmove black

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000001477fffac
[Switching to process 86619]
0x000000010000250f in play_one_neighbor [inlined] () at /Users/jaymini/pachi/board.c:1070
1070		enum stone ncolor = board_at(board, c);
(gdb) bt
#0  0x000000010000250f in play_one_neighbor [inlined] () at /Users/jaymini/pachi/board.c:1070
#1  0x000000010000250f in board_play_outside [inlined] () at /Users/jaymini/pachi/board.c:1135
#2  0x000000010000250f in board_play_f (board=0x1006f9d00, m=0x1006f9b40, f=19) at board.c:1263
#3  0x0000000000000009 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y


safe": (os/kern) failure (0x5x)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rover.ms.mff.cuni.cz/pipermail/pachi/attachments/20110608/58ef5738/attachment.html>


More information about the Pachi mailing list