Skip to content

Instantly share code, notes, and snippets.

@pciet
Created November 19, 2017 18:11
Show Gist options
  • Save pciet/9c2251324184adbe3fdd25e6ded9160b to your computer and use it in GitHub Desktop.
Save pciet/9c2251324184adbe3fdd25e6ded9160b to your computer and use it in GitHub Desktop.
==================
WARNING: DATA RACE
Read at 0x00c42045c278 by goroutine 11:
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:498 +0x230b
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9bd
github.com/pciet/debuggo22781/wichessing.Board.Moves()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:23 +0x2e5
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xc9
Previous write at 0x00c42045c278 by goroutine 7:
[failed to restore the stack]
Goroutine 11 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
Goroutine 7 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
==================
==================
WARNING: DATA RACE
Read at 0x00c42045c260 by goroutine 11:
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:502 +0x232b
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9bd
github.com/pciet/debuggo22781/wichessing.Board.Moves()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:23 +0x2e5
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xc9
Previous write at 0x00c42045c260 by goroutine 7:
[failed to restore the stack]
Goroutine 11 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
Goroutine 7 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
==================
==================
WARNING: DATA RACE
Read at 0x00c4203ae045 by goroutine 11:
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:505 +0x2189
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9bd
github.com/pciet/debuggo22781/wichessing.Board.Moves()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:23 +0x2e5
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xc9
Previous write at 0x00c4203ae045 by goroutine 7:
[failed to restore the stack]
Goroutine 11 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
Goroutine 7 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
==================
==================
WARNING: DATA RACE
Read at 0x00c42035dfb8 by goroutine 9:
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:395 +0xde3
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9bd
github.com/pciet/debuggo22781/wichessing.Board.Move()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:126 +0x12b1
github.com/pciet/debuggo22781/wichessing.Board.AfterMove()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:10 +0x18a
github.com/pciet/debuggo22781/wichessing.Board.Check()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:47 +0x2ae
github.com/pciet/debuggo22781/wichessing.Board.Moves()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5ca
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xc9
Previous write at 0x00c42035dfb8 by goroutine 6:
[failed to restore the stack]
Goroutine 9 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
Goroutine 6 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
==================
==================
WARNING: DATA RACE
Read at 0x00c42035dfa0 by goroutine 9:
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:399 +0xe03
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9bd
github.com/pciet/debuggo22781/wichessing.Board.Move()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:126 +0x12b1
github.com/pciet/debuggo22781/wichessing.Board.AfterMove()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:10 +0x18a
github.com/pciet/debuggo22781/wichessing.Board.Check()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:47 +0x2ae
github.com/pciet/debuggo22781/wichessing.Board.Moves()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5ca
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xc9
Previous write at 0x00c42035dfa0 by goroutine 6:
[failed to restore the stack]
Goroutine 9 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
Goroutine 6 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
==================
==================
WARNING: DATA RACE
Read at 0x00c420172845 by goroutine 9:
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:402 +0xc3b
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9bd
github.com/pciet/debuggo22781/wichessing.Board.Move()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:126 +0x12b1
github.com/pciet/debuggo22781/wichessing.Board.AfterMove()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:10 +0x18a
github.com/pciet/debuggo22781/wichessing.Board.Check()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:47 +0x2ae
github.com/pciet/debuggo22781/wichessing.Board.Moves()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5ca
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xc9
Previous write at 0x00c420172845 by goroutine 6:
[failed to restore the stack]
Goroutine 9 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
Goroutine 6 (running) created at:
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4b
==================
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1 pc=0x10f9884]
goroutine 22 [running]:
panic(0x1124320, 0x11e3980)
/usr/local/go/src/runtime/panic.go:540 +0x474 fp=0xc4204c2af8 sp=0xc4204c2a50 pc=0x1054554
runtime.panicmem()
/usr/local/go/src/runtime/panic.go:63 +0x5e fp=0xc4204c2b18 sp=0xc4204c2af8 pc=0x105324e
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:367 +0x17c fp=0xc4204c2b68 sp=0xc4204c2b18 pc=0x106993c
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths(0xc42001d110, 0x0, 0xc42001d140, 0x1, 0xc42001d170, 0x2, 0xc42001d1a0, 0x3, 0xc42001d1d0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:402 +0xc44 fp=0xc4204c34c0 sp=0xc4204c2b68 pc=0x10f9884
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint(0xc42001d110, 0x0, 0xc42001d140, 0x1, 0xc42001d170, 0x2, 0xc42001d1a0, 0x3, 0xc42001d1d0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9be fp=0xc4204c3d00 sp=0xc4204c34c0 pc=0x10f786e
github.com/pciet/debuggo22781/wichessing.Board.Move(0xc42001d110, 0x0, 0xc42001d140, 0x1, 0xc42001d170, 0x2, 0xc42001d1a0, 0x3, 0xc42001d1d0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:126 +0x12b2 fp=0xc4204c5918 sp=0xc4204c3d00 pc=0x10f1b42
github.com/pciet/debuggo22781/wichessing.Board.AfterMove(0xc420276cc0, 0x0, 0xc420276cf0, 0x1, 0xc420276d20, 0x2, 0xc420276d50, 0x3, 0xc420276d80, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:10 +0x18b fp=0xc4204c6998 sp=0xc4204c5918 pc=0x10f071b
github.com/pciet/debuggo22781/wichessing.Board.Check(0xc420276cc0, 0x0, 0xc420276cf0, 0x1, 0xc420276d20, 0x2, 0xc420276d50, 0x3, 0xc420276d80, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:47 +0x2af fp=0xc4204c76b0 sp=0xc4204c6998 pc=0x10f03bf
github.com/pciet/debuggo22781/wichessing.Board.Moves(0xc420276060, 0x0, 0xc420276090, 0x1, 0xc4202760c0, 0x2, 0xc4202760f0, 0x3, 0xc420276120, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5cb fp=0xc4204c97b0 sp=0xc4204c76b0 pc=0x10f4c4b
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xca fp=0xc4204c9fe0 sp=0xc4204c97b0 pc=0x110779a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4204c9fe8 sp=0xc4204c9fe0 pc=0x10811f1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 1 [select (no cases)]:
runtime.gopark(0x0, 0x0, 0x1141a7f, 0x11, 0xc42004df10, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42003df20 sp=0xc42003def0 pc=0x10565ed
runtime.block()
/usr/local/go/src/runtime/select.go:192 +0x56 fp=0xc42003df60 sp=0xc42003df20 pc=0x1065956
main.main()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:16 +0x5f fp=0xc42003df88 sp=0xc42003df60 pc=0x11076bf
runtime.main()
/usr/local/go/src/runtime/proc.go:195 +0x1c4 fp=0xc42003dfe0 sp=0xc42003df88 pc=0x10561a4
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42003dfe8 sp=0xc42003dfe0 pc=0x10811f1
goroutine 2 [force gc (idle)]:
runtime.gopark(0x11470f8, 0x11e8bf0, 0x114146b, 0xf, 0x1146f14, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42002a768 sp=0xc42002a738 pc=0x10565ed
runtime.goparkunlock(0x11e8bf0, 0x114146b, 0xf, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc42002a7a8 sp=0xc42002a768 pc=0x10566ce
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:245 +0xcc fp=0xc42002a7e0 sp=0xc42002a7a8 pc=0x105643c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42002a7e8 sp=0xc42002a7e0 pc=0x10811f1
created by runtime.init.4
/usr/local/go/src/runtime/proc.go:234 +0x35
goroutine 3 [runnable]:
runtime.gopark(0x11470f8, 0x11e8ce0, 0x1141079, 0xd, 0x107d014, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc42002af58 sp=0xc42002af28 pc=0x10565ed
runtime.goparkunlock(0x11e8ce0, 0x1141079, 0xd, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc42002af98 sp=0xc42002af58 pc=0x10566ce
runtime.bgsweep(0xc42005a000)
/usr/local/go/src/runtime/mgcsweep.go:71 +0x13e fp=0xc42002afd8 sp=0xc42002af98 pc=0x104946e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42002afe0 sp=0xc42002afd8 pc=0x10811f1
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:216 +0x58
goroutine 18 [finalizer wait]:
runtime.gopark(0x11470f8, 0x1206f70, 0x11412a2, 0xe, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420026700 sp=0xc4200266d0 pc=0x10565ed
runtime.goparkunlock(0x1206f70, 0x11412a2, 0xe, 0x14, 0x1)
/usr/local/go/src/runtime/proc.go:293 +0x5e fp=0xc420026740 sp=0xc420026700 pc=0x10566ce
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:175 +0xb8 fp=0xc4200267e0 sp=0xc420026740 pc=0x1040218
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4200267e8 sp=0xc4200267e0 pc=0x10811f1
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x62
goroutine 19 [runnable]:
runtime.mapassign_fast64(0x112aae0, 0xc42028de00, 0xc420403920, 0xc420419d08)
/usr/local/go/src/runtime/hashmap_fast.go:510 +0x5db fp=0xc4200e4f38 sp=0xc4200e4f30 pc=0x103642b
github.com/pciet/debuggo22781/wichessing.Board.SurroundingPoints(0xc42004b650, 0x0, 0xc42004b680, 0x1, 0xc42004b6b0, 0x2, 0xc42004b6e0, 0x3, 0xc42004b710, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:718 +0x131 fp=0xc4200e4f98 sp=0xc4200e4f38 pc=0x10fc1e1
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths(0xc42004b650, 0x0, 0xc42004b680, 0x1, 0xc42004b6b0, 0x2, 0xc42004b6e0, 0x3, 0xc42004b710, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:562 +0x15b0 fp=0xc4200e58f0 sp=0xc4200e4f98 pc=0x10fa1f0
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint(0xc42004b650, 0x0, 0xc42004b680, 0x1, 0xc42004b6b0, 0x2, 0xc42004b6e0, 0x3, 0xc42004b710, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9be fp=0xc4200e6130 sp=0xc4200e58f0 pc=0x10f786e
github.com/pciet/debuggo22781/wichessing.Board.AllNaiveMovesFor(0xc42004b650, 0x0, 0xc42004b680, 0x1, 0xc42004b6b0, 0x2, 0xc42004b6e0, 0x3, 0xc42004b710, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:191 +0x1f2 fp=0xc4200e6998 sp=0xc4200e6130 pc=0x10f6db2
github.com/pciet/debuggo22781/wichessing.Board.Check(0xc42004b650, 0x0, 0xc42004b680, 0x1, 0xc42004b6b0, 0x2, 0xc42004b6e0, 0x3, 0xc42004b710, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:39 +0xc5 fp=0xc4200e76b0 sp=0xc4200e6998 pc=0x10f01d5
github.com/pciet/debuggo22781/wichessing.Board.Moves(0xc4203b0db0, 0x0, 0xc4203b0de0, 0x1, 0xc4203b0e10, 0x2, 0xc4203b0e40, 0x3, 0xc4203b0e70, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5cb fp=0xc4200e97b0 sp=0xc4200e76b0 pc=0x10f4c4b
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xca fp=0xc4200e9fe0 sp=0xc4200e97b0 pc=0x110779a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4200e9fe8 sp=0xc4200e9fe0 pc=0x10811f1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 20 [runnable]:
runtime.lock(0x11f4260)
/usr/local/go/src/runtime/lock_sema.go:35 +0x1cf fp=0xc420440d18 sp=0xc420440d10 pc=0x1038b6f
runtime.semacquire1(0x11e9508, 0x103b000, 0x0)
/usr/local/go/src/runtime/sema.go:132 +0xf2 fp=0xc420440d68 sp=0xc420440d18 pc=0x1065ca2
runtime.semacquire(0x11e9508)
/usr/local/go/src/runtime/sema.go:95 +0x39 fp=0xc420440d90 sp=0xc420440d68 pc=0x1065b99
runtime.gcMarkDone()
/usr/local/go/src/runtime/mgc.go:1347 +0x31 fp=0xc420440db0 sp=0xc420440d90 pc=0x1042ac1
runtime.gcAssistAlloc(0xc420086300)
/usr/local/go/src/runtime/mgcmark.go:476 +0x1db fp=0xc420440e00 sp=0xc420440db0 pc=0x10462db
runtime.mallocgc(0x30, 0x1134360, 0xc41ffeab01, 0xc400000000)
/usr/local/go/src/runtime/malloc.go:615 +0x7e8 fp=0xc420440ea8 sp=0xc420440e00 pc=0x103a658
runtime.newobject(0x1134360, 0x199999900)
/usr/local/go/src/runtime/malloc.go:840 +0x38 fp=0xc420440ed8 sp=0xc420440ea8 pc=0x103a8b8
runtime.makemap(0x112aae0, 0x0, 0x0, 0x0, 0xc420440f88)
/usr/local/go/src/runtime/hashmap.go:321 +0x2b1 fp=0xc420440f38 sp=0xc420440ed8 pc=0x1030b21
github.com/pciet/debuggo22781/wichessing.Board.SurroundingPoints(0xc4203580f0, 0x0, 0xc420358120, 0x1, 0xc420358150, 0x2, 0xc420358180, 0x3, 0xc4203581b0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:704 +0x9a fp=0xc420440f98 sp=0xc420440f38 pc=0x10fc14a
github.com/pciet/debuggo22781/wichessing.Board.ActualPaths(0xc4203580f0, 0x0, 0xc420358120, 0x1, 0xc420358150, 0x2, 0xc420358180, 0x3, 0xc4203581b0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:562 +0x15b0 fp=0xc4204418f0 sp=0xc420440f98 pc=0x10fa1f0
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint(0xc4203580f0, 0x0, 0xc420358120, 0x1, 0xc420358150, 0x2, 0xc420358180, 0x3, 0xc4203581b0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:215 +0x9be fp=0xc420442130 sp=0xc4204418f0 pc=0x10f786e
github.com/pciet/debuggo22781/wichessing.Board.AllNaiveMovesFor(0xc4203580f0, 0x0, 0xc420358120, 0x1, 0xc420358150, 0x2, 0xc420358180, 0x3, 0xc4203581b0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:191 +0x1f2 fp=0xc420442998 sp=0xc420442130 pc=0x10f6db2
github.com/pciet/debuggo22781/wichessing.Board.Check(0xc4203580f0, 0x0, 0xc420358120, 0x1, 0xc420358150, 0x2, 0xc420358180, 0x3, 0xc4203581b0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:39 +0xc5 fp=0xc4204436b0 sp=0xc420442998 pc=0x10f01d5
github.com/pciet/debuggo22781/wichessing.Board.Moves(0xc4204081b0, 0x0, 0xc4204081e0, 0x1, 0xc420408210, 0x2, 0xc420408240, 0x3, 0xc420408270, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5cb fp=0xc4204457b0 sp=0xc4204436b0 pc=0x10f4c4b
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xca fp=0xc420445fe0 sp=0xc4204457b0 pc=0x110779a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420445fe8 sp=0xc420445fe0 pc=0x10811f1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 21 [runnable]:
runtime.newobject(0x112d500, 0x2)
/usr/local/go/src/runtime/malloc.go:839 +0x51 fp=0xc4204ab4c0 sp=0xc4204ab4b8 pc=0x103a8d1
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint(0xc4201dc090, 0x0, 0x0, 0x1, 0xc4201dc0c0, 0x2, 0xc4201dc0f0, 0x3, 0xc4201dc120, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:221 +0x649 fp=0xc4204abd00 sp=0xc4204ab4c0 pc=0x10f74f9
github.com/pciet/debuggo22781/wichessing.Board.Move(0xc4201dc090, 0x0, 0x0, 0x1, 0xc4201dc0c0, 0x2, 0xc4201dc0f0, 0x3, 0xc4201dc120, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:126 +0x12b2 fp=0xc4204ad918 sp=0xc4204abd00 pc=0x10f1b42
github.com/pciet/debuggo22781/wichessing.Board.AfterMove(0xc42011a030, 0x0, 0x0, 0x1, 0xc42011a090, 0x2, 0xc42011a0c0, 0x3, 0xc42011a0f0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:10 +0x18b fp=0xc4204ae998 sp=0xc4204ad918 pc=0x10f071b
github.com/pciet/debuggo22781/wichessing.Board.Check(0xc42011a030, 0x0, 0x0, 0x1, 0xc42011a090, 0x2, 0xc42011a0c0, 0x3, 0xc42011a0f0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:47 +0x2af fp=0xc4204af6b0 sp=0xc4204ae998 pc=0x10f03bf
github.com/pciet/debuggo22781/wichessing.Board.Moves(0xc42001dd10, 0x0, 0xc42001dd40, 0x1, 0xc42001dd70, 0x2, 0xc42001dda0, 0x3, 0xc42001ddd0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5cb fp=0xc4204b17b0 sp=0xc4204af6b0 pc=0x10f4c4b
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xca fp=0xc4204b1fe0 sp=0xc4204b17b0 pc=0x110779a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4204b1fe8 sp=0xc4204b1fe0 pc=0x10811f1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 23 [runnable]:
github.com/pciet/debuggo22781/wichessing.Piece.SetKindFlags(0x6, 0x0, 0x6, 0x0, 0x0, 0x6, 0x0, 0x6, 0x0, 0x0)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/piece.go:123 +0x2f8 fp=0xc4204d5020 sp=0xc4204d5018 pc=0x10fed48
github.com/pciet/debuggo22781/wichessing.(*Piece).Copy(0xc420249c20, 0x10)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/piece.go:220 +0x1b2 fp=0xc4204d50e0 sp=0xc4204d5020 pc=0x10fef02
github.com/pciet/debuggo22781/wichessing.Board.Copy(0xc420249950, 0x0, 0xc420249980, 0x1, 0xc4202499b0, 0x2, 0xc4202499e0, 0x3, 0xc420249a10, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board.go:21 +0xe8 fp=0xc4204d5918 sp=0xc4204d50e0 pc=0x10ef828
github.com/pciet/debuggo22781/wichessing.Board.AfterMove(0xc420249950, 0x0, 0xc420249980, 0x1, 0xc4202499b0, 0x2, 0xc4202499e0, 0x3, 0xc420249a10, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_move.go:9 +0x9a fp=0xc4204d6998 sp=0xc4204d5918 pc=0x10f062a
github.com/pciet/debuggo22781/wichessing.Board.Check(0xc420249950, 0x0, 0xc420249980, 0x1, 0xc4202499b0, 0x2, 0xc4202499e0, 0x3, 0xc420249a10, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:47 +0x2af fp=0xc4204d76b0 sp=0xc4204d6998 pc=0x10f03bf
github.com/pciet/debuggo22781/wichessing.Board.Moves(0xc4203eaa20, 0x0, 0xc4203eaa50, 0x1, 0xc4203eaa80, 0x2, 0xc4203eaab0, 0x3, 0xc4203eaae0, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5cb fp=0xc4204d97b0 sp=0xc4204d76b0 pc=0x10f4c4b
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xca fp=0xc4204d9fe0 sp=0xc4204d97b0 pc=0x110779a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4204d9fe8 sp=0xc4204d9fe0 pc=0x10811f1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 24 [runnable]:
runtime.mapiternext(0xc420339820)
/usr/local/go/src/runtime/hashmap.go:771 +0x8a8 fp=0xc4203396e0 sp=0xc4203396d8 pc=0x1032d58
runtime.mapiterinit(0x112bd00, 0xc42006e360, 0xc420339820)
/usr/local/go/src/runtime/hashmap.go:768 +0x1ff fp=0xc420339750 sp=0xc4203396e0 pc=0x103221f
github.com/pciet/debuggo22781/wichessing.TruncatedAbsPathsForKind(0x6, 0x103, 0x0, 0xc420339ec0)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/path.go:18 +0x5f1 fp=0xc4203398f0 sp=0xc420339750 pc=0x10fcb81
github.com/pciet/debuggo22781/wichessing.Board.MovesFromPoint(0xc420236540, 0x0, 0xc420236570, 0x1, 0xc4202365a0, 0x2, 0xc4202365d0, 0x3, 0xc420236600, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:214 +0x4a5 fp=0xc42033a130 sp=0xc4203398f0 pc=0x10f7355
github.com/pciet/debuggo22781/wichessing.Board.AllNaiveMovesFor(0xc420236540, 0x0, 0xc420236570, 0x1, 0xc4202365a0, 0x2, 0xc4202365d0, 0x3, 0xc420236600, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:191 +0x1f2 fp=0xc42033a998 sp=0xc42033a130 pc=0x10f6db2
github.com/pciet/debuggo22781/wichessing.Board.Check(0xc420236540, 0x0, 0xc420236570, 0x1, 0xc4202365a0, 0x2, 0xc4202365d0, 0x3, 0xc420236600, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_check.go:39 +0xc5 fp=0xc42033b6b0 sp=0xc42033a998 pc=0x10f01d5
github.com/pciet/debuggo22781/wichessing.Board.Moves(0xc4201be150, 0x0, 0xc4201be180, 0x1, 0xc4201be1b0, 0x2, 0xc4201be1e0, 0x3, 0xc4201be210, 0x4, ...)
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/wichessing/board_moves.go:50 +0x5cb fp=0xc42033d7b0 sp=0xc42033b6b0 pc=0x10f4c4b
main.simulateClient()
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:28 +0xca fp=0xc42033dfe0 sp=0xc42033d7b0 pc=0x110779a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42033dfe8 sp=0xc42033dfe0 pc=0x10811f1
created by main.main
/Users/aftermatt/Code/src/github.com/pciet/debuggo22781/main.go:14 +0x4c
goroutine 4 [GC worker (idle)]:
runtime.gopark(0x1146f28, 0xc4203afdd0, 0x11415db, 0x10, 0x14, 0x0)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420026f40 sp=0xc420026f10 pc=0x10565ed
runtime.gcBgMarkWorker(0xc420020000)
/usr/local/go/src/runtime/mgc.go:1710 +0x14c fp=0xc420026fd8 sp=0xc420026f40 pc=0x1043a9c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420026fe0 sp=0xc420026fd8 pc=0x10811f1
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1658 +0x7e
goroutine 25 [GC worker (idle)]:
runtime.gopark(0x1146f28, 0xc4203cd800, 0x11415db, 0x10, 0x14, 0x0)
/usr/local/go/src/runtime/proc.go:287 +0xfd fp=0xc420028740 sp=0xc420028710 pc=0x10565ed
runtime.gcBgMarkWorker(0xc420021300)
/usr/local/go/src/runtime/mgc.go:1710 +0x14c fp=0xc4200287d8 sp=0xc420028740 pc=0x1043a9c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4200287e0 sp=0xc4200287d8 pc=0x10811f1
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1658 +0x7e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment