Open zhuang111 opened 8 months ago
fatal error: concurrent map iteration and map write
goroutine 232621 [running]: runtime.throw({0xbae576?, 0xc00056f438?}) /opt/hostedtoolcache/go/1.18.3/x64/src/runtime/panic.go:992 +0x71 fp=0xc00056f3d8 sp=0xc00056f3a8 pc=0x434431 runtime.mapiternext(0xb9058d?) /opt/hostedtoolcache/go/1.18.3/x64/src/runtime/map.go:871 +0x4eb fp=0xc00056f448 sp=0xc00056f3d8 pc=0x40fd2b github.com/qiniu/goc/pkg/cover.(fileStore).Set(0xc000486b80, 0xc00030a7b0?) /home/runner/work/goc/goc/pkg/cover/store.go:186 +0x1d3 fp=0xc00056f588 sp=0xc00056f448 pc=0x93b153 github.com/qiniu/goc/pkg/cover.(fileStore).Remove(0xc000486b80, {0xc00030a7b0?, 0xc0001ce070?}) /home/runner/work/goc/goc/pkg/cover/store.go:113 +0x5e fp=0xc00056f5b0 sp=0xc00056f588 pc=0x93a67e github.com/qiniu/goc/pkg/cover.(server).removeServices(0xc00039ff00, 0xc000414300) /home/runner/work/goc/goc/pkg/cover/server.go:318 +0x335 fp=0xc00056f6b0 sp=0xc00056f5b0 pc=0x9390f5 github.com/qiniu/goc/pkg/cover.(server).removeServices-fm(0xc00070d708?)
fatal error: concurrent map iteration and map write
goroutine 232621 [running]: runtime.throw({0xbae576?, 0xc00056f438?}) /opt/hostedtoolcache/go/1.18.3/x64/src/runtime/panic.go:992 +0x71 fp=0xc00056f3d8 sp=0xc00056f3a8 pc=0x434431 runtime.mapiternext(0xb9058d?) /opt/hostedtoolcache/go/1.18.3/x64/src/runtime/map.go:871 +0x4eb fp=0xc00056f448 sp=0xc00056f3d8 pc=0x40fd2b github.com/qiniu/goc/pkg/cover.(fileStore).Set(0xc000486b80, 0xc00030a7b0?) /home/runner/work/goc/goc/pkg/cover/store.go:186 +0x1d3 fp=0xc00056f588 sp=0xc00056f448 pc=0x93b153 github.com/qiniu/goc/pkg/cover.(fileStore).Remove(0xc000486b80, {0xc00030a7b0?, 0xc0001ce070?}) /home/runner/work/goc/goc/pkg/cover/store.go:113 +0x5e fp=0xc00056f5b0 sp=0xc00056f588 pc=0x93a67e github.com/qiniu/goc/pkg/cover.(server).removeServices(0xc00039ff00, 0xc000414300) /home/runner/work/goc/goc/pkg/cover/server.go:318 +0x335 fp=0xc00056f6b0 sp=0xc00056f5b0 pc=0x9390f5 github.com/qiniu/goc/pkg/cover.(server).removeServices-fm(0xc00070d708?)