memrizr
memrizr copied to clipboard
fatal error: concurrent map writes
Hello , I followed your writing method and encountered the following problem, Can you help locate the reason?
fatal error: concurrent map writes
goroutine 911183 [running]:
runtime.throw({0x17ce3c9?, 0x20307a?})
/root/sdk/go1.18.9/src/runtime/panic.go:992 +0x71 fp=0xc18469d300 sp=0xc18469d2d0 pc=0x438951
runtime.mapassign_faststr(0xc18469d3e0?, 0x40d61f?, {0x17be444, 0xc})
/root/sdk/go1.18.9/src/runtime/map_faststr.go:212 +0x39c fp=0xc18469d368 sp=0xc18469d300 pc=0x4138bc
github.com/gin-gonic/gin/render.writeContentType({0x7f97a3d2a088?, 0xc41a0ec100?}, {0x2674c00, 0x1, 0x1})
/gopath/pkg/mod/github.com/gin-gonic/[email protected]/render/render.go:39 +0x7f fp=0xc18469d3a0 sp=0xc18469d368 pc=0x95643f
github.com/gin-gonic/gin/render.WriteJSON({0x7f97a3d2a088, 0xc41a0ec100}, {0x159ada0, 0xc1e9c72c90})
/gopath/pkg/mod/github.com/gin-gonic/[email protected]/render/json.go:67 +0x4c fp=0xc18469d3d8 sp=0xc18469d3a0 pc=0x954e0c
github.com/gin-gonic/gin/render.JSON.Render(...)