Closed xtuc closed 6 years ago
fatal error: concurrent map read and map write goroutine 26 [running]: runtime.throw(0x7f5c1f, 0x21) /usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc4207cfda0 sp=0xc4207cfd80 runtime.mapaccess2_faststr(0x7827c0, 0xc42010a330, 0xc42052c4c0, 0x11, 0xc42034f301, 0xc4200ed910) /usr/local/go/src/runtime/hashmap_fast.go:326 +0x50a fp=0xc4207cfe00 sp=0xc4207cfda0 github.com/bytearena/bytearena/arenamaster.(*Server).createScheduler.func2(0xc420112360, 0xc4200f8300) /go/src/github.com/bytearena/bytearena/arenamaster/server.go:172 +0x161 fp=0xc4207cfea0 sp=0xc4207cfe00 github.com/bytearena/bytearena/arenamaster.(*Server).createScheduler.func3(0xc4200f84e0, 0xc4200fa300, 0xc420100320, 0xc420076480, 0xc420014540, 0xc4200148a0, 0xc420014ba0, 0xc420014ea0, 0xc4201340c0, 0xc4201 343c0, ...) /go/src/github.com/bytearena/bytearena/arenamaster/server.go:193 +0x1dd fp=0xc4207cff80 sp=0xc4207cfea0 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4207cff88 sp=0xc4207cff80 created by github.com/bytearena/bytearena/arenamaster.(*Server).createScheduler /go/src/github.com/bytearena/bytearena/arenamaster/server.go:219 +0x1f1 goroutine 1 [select, 1 minutes]: github.com/bytearena/bytearena/arenamaster.(*Server).Run(0xc420076480) /go/src/github.com/bytearena/bytearena/arenamaster/server.go:285 +0x7c9 main.main() /go/src/github.com/bytearena/bytearena/cmd/arena-master/main.go:56 +0x289 goroutine 17 [syscall, 275 minutes, locked to thread]: runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1