Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: concurrent map writes #4

Open
x-lambda opened this issue Sep 13, 2023 · 0 comments
Open

fatal error: concurrent map writes #4

x-lambda opened this issue Sep 13, 2023 · 0 comments

Comments

@x-lambda
Copy link

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(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant