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

我的go项目运行过程有各种崩溃问题 #41972

Closed
changeyoung2015 opened this issue Oct 14, 2020 · 2 comments
Closed

我的go项目运行过程有各种崩溃问题 #41972

changeyoung2015 opened this issue Oct 14, 2020 · 2 comments

Comments

@changeyoung2015
Copy link

@changeyoung2015 changeyoung2015 commented Oct 14, 2020

What version of Go are you using (go version)?

$ go version
1.14.4

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOENV=C:\Users\Administrator\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS= -mod=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=E:\projects\edu\EDU_zhixue_pt\srv-pt\srv-pt-recognization-engine-container;C:\Go\bin;C:\Users\Administrator\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn
set GOROOT=C:\Go
set GOSUMDB=off
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\go-build681986526=/tmp/go-build -gno-record-gcc-switches

What did you do?

用jmeter压测grpc的接口,封装的是cgo的代码。一个一个请求是没有问题的,但是一压测就会出现各种崩溃。并且,每次还不一定是同一个崩溃。然后,我在runtime崩溃里面加了个断点,后来,项目都不能正常启动了。用goland启动的时候,会一直走好多个断点。然后才能到main,最后才能启动起来。

What did you see instead?

这是压测几分钟后的一种报错

fatal error: unexpected signal during runtime execution
[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0x46d957]

runtime stack:
runtime.throw(0xe8cc07, 0x2a)
        C:/Go/src/runtime/panic.go:1116 +0x79
runtime.sigpanic()
        C:/Go/src/runtime/signal_windows.go:242 +0x165
runtime.gcBgMarkWorker.func1(0xc000055b00, 0xc00038a290, 0xc000040000)
        C:/Go/src/runtime/mgc.go:1893 +0x97
runtime.park_m(0xc000055b00)
        C:/Go/src/runtime/proc.go:2685 +0xaa
runtime.mcall(0x2a5bfea8)
        C:/Go/src/runtime/asm_amd64.s:318 +0x5e

goroutine 1 [chan receive]:
main.waitKill()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/main.go:29 +0x141
main.main()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/main.go:83 +0x5b8

goroutine 6 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc00003e690, 0x1)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00003e680)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc000156000, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc000156000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 7 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc00003e810, 0x0)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00003e800)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc000156120, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc000156120)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 18 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc000096e10, 0x70)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc000096e00)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc0000ae2d0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc0000ae2d0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 19 [sleep]:
time.Sleep(0x45d964b800)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/monitor.initCurrentMap.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/currentMonitor.go:23 +0x8d
created by iflytek.com/OMRService/monitor.initCurrentMap
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/currentMonitor.go:20 +0xc3

goroutine 20 [chan receive]:
iflytek.com/OMRService/monitor.initDayMap.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/dayMonitor.go:28 +0x2b0
created by iflytek.com/OMRService/monitor.initDayMap
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/dayMonitor.go:20 +0x7d

goroutine 9 [IO wait]:
internal/poll.runtime_pollWait(0x477d9a0, 0x72, 0xc0001fd6c8)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0001fd848, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0001fd698, 0xc000384ee0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).acceptOne(0xc0001fd680, 0x4f0, 0xc00035a3c0, 0x2, 0x2, 0xc0001fd698, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:896 +0xfa
internal/poll.(*FD).Accept(0xc0001fd680, 0xc00049fb58, 0x0, 0x0, 0x0, 0x0, 0xc000000000, 0x0, 0x0, 0x0, ...)
        C:/Go/src/internal/poll/fd_windows.go:930 +0x331
net.(*netFD).accept(0xc0001fd680, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:193 +0xe3
net.(*TCPListener).accept(0xc000005f20, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock_posix.go:139 +0x68
net.(*TCPListener).Accept(0xc000005f20, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock.go:261 +0x7f
google.golang.org/grpc.(*Server).Serve(0xc0001dcb60, 0xf676a0, 0xc000005f20, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:621 +0x3cb
created by iflytek.com/OMRService/server.StartGrpcServer
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:76 +0xb89

goroutine 10 [IO wait]:
internal/poll.runtime_pollWait(0x477d8c0, 0x72, 0xc0001fd948)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0001fdac8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0001fd918, 0xc0003641e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).acceptOne(0xc0001fd900, 0x368, 0xc00035a0f0, 0x2, 0x2, 0xc0001fd918, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:896 +0xfa
internal/poll.(*FD).Accept(0xc0001fd900, 0xc00045da18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        C:/Go/src/internal/poll/fd_windows.go:930 +0x331
net.(*netFD).accept(0xc0001fd900, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:193 +0xe3
net.(*TCPListener).accept(0xc0003641c0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock_posix.go:139 +0x68
net.(*TCPListener).Accept(0xc0003641c0, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock.go:261 +0x7f
net/http.(*Server).Serve(0xc000172460, 0xf676a0, 0xc0003641c0, 0x0, 0x0)
        C:/Go/src/net/http/server.go:2901 +0x432
net/http.(*Server).ListenAndServe(0xc000172460, 0x0, 0x0)
        C:/Go/src/net/http/server.go:2830 +0x1c8
iflytek.com/OMRService/server.StartHttpServer.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:104 +0x46
created by iflytek.com/OMRService/server.StartHttpServer
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:103 +0x2ad

goroutine 11 [semacquire]:
sync.runtime_Semacquire(0xc00038a084)
        C:/Go/src/runtime/sema.go:56 +0x49
sync.(*WaitGroup).Wait(0xc00038a084)
        C:/Go/src/sync/waitgroup.go:130 +0xdd
github.com/samuel/go-zookeeper/zk.(*Conn).loop(0xc000498000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:536 +0x95e
github.com/samuel/go-zookeeper/zk.Connect.func1(0xc000498000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:223 +0x36
created by github.com/samuel/go-zookeeper/zk.Connect
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:222 +0x88d

goroutine 12 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc0002928e0, 0xc, 0xc0003860c0, 0xc0003860b0, 0xc0003860a0, 0xc0000ba030, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 13 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc000292908, 0x8, 0xc000386190, 0xc000386180, 0xc000386170, 0xc0000ba060, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 14 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc000292930, 0xa, 0xc000386210, 0xc000386200, 0xc0003861f0, 0xc0000ba090, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 15 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc000292960, 0xc, 0xc000386290, 0xc000386280, 0xc000386270, 0xc0000ba0c0, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 16 [syscall]:
os/signal.signal_recv(0x0)
        C:/Go/src/runtime/sigqueue.go:147 +0xa3
os/signal.loop()
        C:/Go/src/os/signal/signal_unix.go:23 +0x2d
created by os/signal.Notify.func1
        C:/Go/src/os/signal/signal.go:127 +0x48

goroutine 66 [select]:
github.com/samuel/go-zookeeper/zk.(*Conn).sendLoop(0xc000498000, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:802 +0x1ee
github.com/samuel/go-zookeeper/zk.(*Conn).loop.func1(0xc00002c180, 0xc000498000, 0xc00038a084)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:507 +0x9a
created by github.com/samuel/go-zookeeper/zk.(*Conn).loop
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:502 +0x8c6

goroutine 67 [IO wait]:
internal/poll.runtime_pollWait(0x477d7e0, 0x72, 0xc000120a18)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc000120bc8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc000120a18, 0xea52e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).Read(0xc000120a00, 0xc000800000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:527 +0x53b
net.(*netFD).Read(0xc000120a00, 0xc000800000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:152 +0x94
net.(*conn).Read(0xc00008c010, 0xc000800000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/net/net.go:184 +0xbc
io.ReadAtLeast(0x315d0028, 0xc00008c010, 0xc000800000, 0x4, 0x180000, 0x4, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:310 +0x194
io.ReadFull(0x315d0028, 0xc00008c010, 0xc000800000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:329 +0xb1
github.com/samuel/go-zookeeper/zk.(*Conn).recvLoop(0xc000498000, 0xf6f560, 0xc00008c010, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:843 +0x3c4
github.com/samuel/go-zookeeper/zk.(*Conn).loop.func2(0xc000498000, 0xc00038a084)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:521 +0x29c
created by github.com/samuel/go-zookeeper/zk.(*Conn).loop
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:516 +0x91c

goroutine 51 [runnable]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00006c640, 0x1, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/controlbuf.go:395 +0x20f
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0007161e0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/controlbuf.go:513 +0xbe
google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc000055800)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:291 +0x15e
created by google.golang.org/grpc/internal/transport.newHTTP2Server
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:288 +0x1c55

goroutine 52 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc000055800)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:966 +0x2f2
created by google.golang.org/grpc/internal/transport.newHTTP2Server
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:297 +0x1c7a

goroutine 53 [IO wait]:
internal/poll.runtime_pollWait(0x477d700, 0x72, 0xc00017c018)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc00017c1c8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc00017c018, 0xea52e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).Read(0xc00017c000, 0xc00043c000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:527 +0x53b
net.(*netFD).Read(0xc00017c000, 0xc00043c000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:152 +0x94
net.(*conn).Read(0xc00008c018, 0xc00043c000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/net/net.go:184 +0xbc
bufio.(*Reader).Read(0xc000426240, 0xc000172118, 0x9, 0x9, 0x9, 0x0, 0x0)
        C:/Go/src/bufio/bufio.go:226 +0x409
io.ReadAtLeast(0xf599a0, 0xc000426240, 0xc000172118, 0x9, 0x9, 0x9, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:310 +0x194
io.ReadFull(0xf599a0, 0xc000426240, 0xc000172118, 0x9, 0x9, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:329 +0xb1
golang.org/x/net/http2.readFrameHeader(0xc000172118, 0x9, 0x9, 0xf599a0, 0xc000426240, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/golang.org/x/net@v0.0.0-20190827160401-ba9fcec4b297/http2/frame.go:237 +0xd3
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0001720e0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/golang.org/x/net@v0.0.0-20190827160401-ba9fcec4b297/http2/frame.go:492 +0x14e
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc000055800, 0xc000117020, 0xea3dd0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:453 +0xef
google.golang.org/grpc.(*Server).serveStreams(0xc0001dcb60, 0xf6fe60, 0xc000055800)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:742 +0x185
google.golang.org/grpc.(*Server).handleRawConn.func1(0xc0001dcb60, 0xf6fe60, 0xc000055800)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:703 +0x46
created by google.golang.org/grpc.(*Server).handleRawConn
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:702 +0x7f0

goroutine 335 [runnable]:
iflytek.com/OMRService/server/grpc_handler._Cfunc_ASP_CorrectImage_SemiAuto_V3(0x44766d0, 0xc000d80000, 0x6ed9b, 0x61300000891, 0x1f8c9a0, 0x4, 0x1f8c8e0, 0x4, 0x1f8c940, 0x4, ...)
        _cgo_gotypes.go:509 +0x68
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.CorrectImage.func6(0xc000d80000, 0x6ed9b, 0xc00009cb00, 0xc000772f58, 0xc00038a240, 0xc000772f50, 0x4, 0xc00038a249, 0xc00038a248, 0xc00038a24a, ...)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:247 +0x229
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.CorrectImage(0xf68ba0, 0xc0000b1530, 0xc0001f2070, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:247 +0x160c
iflytek.com/OMRService/proto/general._GeneralOmrAPI_CorrectImage_Handler(0xe36820, 0x1424f38, 0xf68ba0, 0xc0000b1530, 0xc00048e7e0, 0x0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/proto/general/GeneralOMRGrpc.pb.go:2872 +0x3e6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001dcb60, 0xf6fe60, 0xc000055800, 0xc000170600, 0xc0003585d0, 0xcec288, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x103c
google.golang.org/grpc.(*Server).handleStream(0xc0001dcb60, 0xf6fe60, 0xc000055800, 0xc000170600, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0x97d
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00002a1c4, 0xc0001dcb60, 0xf6fe60, 0xc000055800, 0xc000170600)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xfb
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

goroutine 378 [runnable]:
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00002a1c4, 0xc0001dcb60, 0xf6fe60, 0xc000055800, 0xc00000c600)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

这是另外一种报错
<--

fatal error: sync: inconsistent mutex state

goroutine 337 [running]:
runtime.throw(0xe8431f, 0x1e)
        C:/Go/src/runtime/panic.go:1116 +0x79 fp=0xc000140c20 sp=0xc000140bf0 pc=0x43f139
sync.throw(0xe8431f, 0x1e)
        C:/Go/src/runtime/panic.go:1102 +0x3c fp=0xc000140c40 sp=0xc000140c20 pc=0x43f0ac
sync.(*Mutex).lockSlow(0xc00002a468)
        C:/Go/src/sync/mutex.go:147 +0x309 fp=0xc000140ca0 sp=0xc000140c40 pc=0x49ca39
sync.(*Mutex).Lock(0xc00002a468)
        C:/Go/src/sync/mutex.go:81 +0x5f fp=0xc000140cc0 sp=0xc000140ca0 pc=0x49c71f
github.com/cihub/seelog.Info(0xc00018c8d0, 0x1, 0x1)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/log.go:264 +0x46 fp=0xc000140d58 sp=0xc000140cc0 pc=0x7df0a6
iflytek.com/OMRService/eventtracking.Logger(0xe6fc81, 0x4, 0xf69060, 0xc0001fe460, 0xe8451d, 0x1e, 0xc000141390, 0x2, 0x2)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/eventtracking/logger.go:47 +0x2cf fp=0xc000140f90 sp=0xc000140d58 pc=0xc29a6f
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.DetectAdmissionTicket(0xf68ba0, 0xc0003d5590, 0xc000627b30, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:1089 +0xe9d fp=0xc000141408 sp=0xc000140f90 pc=0xc50d8d
iflytek.com/OMRService/server/grpc_handler.(*GeneralOmrAPIServer).DetectAdmissionTicket(0x1424f38, 0xf68ba0, 0xc0003d5590, 0xc000627b30, 0x0, 0x0, 0x0)
        <autogenerated>:1 +0x9c fp=0xc000141480 sp=0xc000141408 pc=0xc7721c
iflytek.com/OMRService/proto/general._GeneralOmrAPI_DetectAdmissionTicket_Handler(0xe36820, 0x1424f38, 0xf68ba0, 0xc0003d5590, 0xc000624900, 0x0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/proto/general/GeneralOMRGrpc.pb.go:3034 +0x3e6 fp=0xc000141590 sp=0xc000141480 pc=0xc093f6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0004561a0, 0xf6fe60, 0xc00079c180, 0xc000074200, 0xc000403170, 0xcec360, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x103c fp=0xc000141bb0 sp=0xc000141590 pc=0xba988c
google.golang.org/grpc.(*Server).handleStream(0xc0004561a0, 0xf6fe60, 0xc00079c180, 0xc000074200, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0x97d fp=0xc000141f20 sp=0xc000141bb0 pc=0xbadf4d
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00040e050, 0xc0004561a0, 0xf6fe60, 0xc00079c180, 0xc000074200)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xfb fp=0xc000141fb8 sp=0xc000141f20 pc=0xbc068b
runtime.goexit()
        C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000141fc0 sp=0xc000141fb8 pc=0x472d01
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

goroutine 1 [chan receive]:
main.waitKill()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/main.go:29 +0x141
main.main()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/main.go:83 +0x5b8

goroutine 6 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc00003e690, 0x1)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00003e680)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc0000d6000, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc0000d6000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 7 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc00003e810, 0x0)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00003e800)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc0000d6120, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc0000d6120)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 18 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc00040ce10, 0x18f)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00040ce00)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc0004282d0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc0004282d0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 19 [sleep]:
time.Sleep(0x45d964b800)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/monitor.initCurrentMap.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/currentMonitor.go:23 +0x8d
created by iflytek.com/OMRService/monitor.initCurrentMap
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/currentMonitor.go:20 +0xc3

goroutine 20 [chan receive]:
iflytek.com/OMRService/monitor.initDayMap.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/dayMonitor.go:28 +0x2b0
created by iflytek.com/OMRService/monitor.initDayMap
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/dayMonitor.go:20 +0x7d

goroutine 9 [IO wait]:
internal/poll.runtime_pollWait(0x2a3e4f78, 0x72, 0xc00042c7c8)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc00042c948, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc00042c798, 0xc000620480, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).acceptOne(0xc00042c780, 0x508, 0xc00018a3c0, 0x2, 0x2, 0xc00042c798, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:896 +0xfa
internal/poll.(*FD).Accept(0xc00042c780, 0xc0001ddb58, 0x0, 0x0, 0x0, 0x0, 0xc000000000, 0x0, 0x0, 0x0, ...)
        C:/Go/src/internal/poll/fd_windows.go:930 +0x331
net.(*netFD).accept(0xc00042c780, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:193 +0xe3
net.(*TCPListener).accept(0xc000408c80, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock_posix.go:139 +0x68
net.(*TCPListener).Accept(0xc000408c80, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock.go:261 +0x7f
google.golang.org/grpc.(*Server).Serve(0xc0004561a0, 0xf676a0, 0xc000408c80, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:621 +0x3cb
created by iflytek.com/OMRService/server.StartGrpcServer
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:76 +0xb89

goroutine 10 [IO wait]:
internal/poll.runtime_pollWait(0x2a3e4e98, 0x72, 0xc0001a4048)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0001a41c8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0001a4018, 0xc000800000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).acceptOne(0xc0001a4000, 0x3c8, 0xc0003fe000, 0x2, 0x2, 0xc0001a4018, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:896 +0xfa
internal/poll.(*FD).Accept(0xc0001a4000, 0xc000065a18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        C:/Go/src/internal/poll/fd_windows.go:930 +0x331
net.(*netFD).accept(0xc0001a4000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:193 +0xe3
net.(*TCPListener).accept(0xc00068a040, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock_posix.go:139 +0x68
net.(*TCPListener).Accept(0xc00068a040, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock.go:261 +0x7f
net/http.(*Server).Serve(0xc0000f22a0, 0xf676a0, 0xc00068a040, 0x0, 0x0)
        C:/Go/src/net/http/server.go:2901 +0x432
net/http.(*Server).ListenAndServe(0xc0000f22a0, 0x0, 0x0)
        C:/Go/src/net/http/server.go:2830 +0x1c8
iflytek.com/OMRService/server.StartHttpServer.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:104 +0x46
created by iflytek.com/OMRService/server.StartHttpServer
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:103 +0x2ad

goroutine 50 [semacquire]:
sync.runtime_Semacquire(0xc000790098)
        C:/Go/src/runtime/sema.go:56 +0x49
sync.(*WaitGroup).Wait(0xc000790090)
        C:/Go/src/sync/waitgroup.go:130 +0xdd
github.com/samuel/go-zookeeper/zk.(*Conn).loop(0xc00060e000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:536 +0x95e
github.com/samuel/go-zookeeper/zk.Connect.func1(0xc00060e000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:223 +0x36
created by github.com/samuel/go-zookeeper/zk.Connect
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:222 +0x88d

goroutine 51 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00040e4e0, 0xc, 0xc000612040, 0xc000612030, 0xc000612020, 0xc000628000, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 52 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00040e508, 0x8, 0xc000612110, 0xc000612100, 0xc0006120f0, 0xc000628030, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 53 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00040e530, 0xa, 0xc000612190, 0xc000612180, 0xc000612170, 0xc000628060, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 54 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00040e560, 0xc, 0xc000612210, 0xc000612200, 0xc0006121f0, 0xc000628090, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 55 [syscall]:
os/signal.signal_recv(0x0)
        C:/Go/src/runtime/sigqueue.go:147 +0xa3
os/signal.loop()
        C:/Go/src/os/signal/signal_unix.go:23 +0x2d
created by os/signal.Notify.func1
        C:/Go/src/os/signal/signal.go:127 +0x48

goroutine 14 [select]:
github.com/samuel/go-zookeeper/zk.(*Conn).sendLoop(0xc00060e000, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:802 +0x1ee
github.com/samuel/go-zookeeper/zk.(*Conn).loop.func1(0xc000796120, 0xc00060e000, 0xc000790090)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:507 +0x9a
created by github.com/samuel/go-zookeeper/zk.(*Conn).loop
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:502 +0x8c6

goroutine 15 [IO wait]:
internal/poll.runtime_pollWait(0x2a3e4db8, 0x72, 0xc000798018)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0007981c8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc000798018, 0xea52e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).Read(0xc000798000, 0xc000802000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:527 +0x53b
net.(*netFD).Read(0xc000798000, 0xc000802000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:152 +0x94
net.(*conn).Read(0xc000406008, 0xc000802000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/net/net.go:184 +0xbc
io.ReadAtLeast(0x481cac0, 0xc000406008, 0xc000802000, 0x4, 0x180000, 0x4, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:310 +0x194
io.ReadFull(0x481cac0, 0xc000406008, 0xc000802000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:329 +0xb1
github.com/samuel/go-zookeeper/zk.(*Conn).recvLoop(0xc00060e000, 0xf6f560, 0xc000406008, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:843 +0x3c4
github.com/samuel/go-zookeeper/zk.(*Conn).loop.func2(0xc00060e000, 0xc000790090)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:521 +0x29c
created by github.com/samuel/go-zookeeper/zk.(*Conn).loop
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:516 +0x91c

goroutine 39 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00006c0a0, 0x1, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/controlbuf.go:395 +0x20f
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000780120, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/controlbuf.go:513 +0xbe
google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc00079c180)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:291 +0x15e
created by google.golang.org/grpc/internal/transport.newHTTP2Server
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:288 +0x1c55

goroutine 40 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc00079c180)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:966 +0x2f2
created by google.golang.org/grpc/internal/transport.newHTTP2Server
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:297 +0x1c7a

goroutine 41 [runnable]:
internal/poll.runtime_pollWait(0x2a3e4cd8, 0x72, 0xc0000a0a18)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0000a0bc8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0000a0a18, 0xea52e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).Read(0xc0000a0a00, 0xc0001c0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:527 +0x53b
net.(*netFD).Read(0xc0000a0a00, 0xc0001c0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:152 +0x94
net.(*conn).Read(0xc00078e010, 0xc0001c0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/net/net.go:184 +0xbc
bufio.(*Reader).Read(0xc000400120, 0xc0000f2118, 0x9, 0x9, 0x9, 0x0, 0x0)
        C:/Go/src/bufio/bufio.go:226 +0x409
io.ReadAtLeast(0xf599a0, 0xc000400120, 0xc0000f2118, 0x9, 0x9, 0x9, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:310 +0x194
io.ReadFull(0xf599a0, 0xc000400120, 0xc0000f2118, 0x9, 0x9, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:329 +0xb1
golang.org/x/net/http2.readFrameHeader(0xc0000f2118, 0x9, 0x9, 0xf599a0, 0xc000400120, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/golang.org/x/net@v0.0.0-20190827160401-ba9fcec4b297/http2/frame.go:237 +0xd3
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0000f20e0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/golang.org/x/net@v0.0.0-20190827160401-ba9fcec4b297/http2/frame.go:492 +0x14e
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc00079c180, 0xc000616480, 0xea3dd0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:453 +0xef
google.golang.org/grpc.(*Server).serveStreams(0xc0004561a0, 0xf6fe60, 0xc00079c180)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:742 +0x185
google.golang.org/grpc.(*Server).handleRawConn.func1(0xc0004561a0, 0xf6fe60, 0xc00079c180)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:703 +0x46
created by google.golang.org/grpc.(*Server).handleRawConn
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:702 +0x7f0

goroutine 631 [runnable]:
iflytek.com/OMRService/server/grpc_handler._Cfunc_ASP_CorrectImage_SemiAuto_V3(0x4515a50, 0xc00079e000, 0x5a2bf, 0x61300000891, 0x3172dc70, 0x4, 0x3172de20, 0x4, 0x3172dc10, 0x4, ...)
        _cgo_gotypes.go:509 +0x68
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.CorrectImage.func6(0xc00079e000, 0x5a2bf, 0xc000794480, 0xc000160f58, 0xc00002a398, 0xc000160f50, 0x4, 0xc00002a3c1, 0xc00002a3c0, 0xc00002a3c2, ...)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:247 +0x229
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.CorrectImage(0xf68ba0, 0xc0003d4f60, 0xc0000cc690, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:247 +0x160c
iflytek.com/OMRService/proto/general._GeneralOmrAPI_CorrectImage_Handler(0xe36820, 0x1424f38, 0xf68ba0, 0xc0003d4f60, 0xc000624840, 0x0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/proto/general/GeneralOMRGrpc.pb.go:2872 +0x3e6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0004561a0, 0xf6fe60, 0xc00079c180, 0xc0001b2500, 0xc000403170, 0xcec288, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x103c
google.golang.org/grpc.(*Server).handleStream(0xc0004561a0, 0xf6fe60, 0xc00079c180, 0xc0001b2500, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0x97d
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00040e050, 0xc0004561a0, 0xf6fe60, 0xc00079c180, 0xc0001b2500)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xfb
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

-->
这种只因为读了一段时间后就乱码了
<--

Exist Err: zk: invalid path
fatal error: sync: inconsistent mutex state
fatal error: sync: inconsistent mutex state

goroutine 1789 [running]:
runtime.throw(0xe8431f, 0x1e)
        C:/Go/src/runtime/panic.go:1116 +0x79 fp=0xc0001e2c20 sp=0xc0001e2bf0 pc=0x43f139
sync.throw(0xe8431f, 0x1e)
        C:/Go/src/runtime/panic.go:1102 +0x3c fp=0xc0001e2c40 sp=0xc0001e2c20 pc=0x43f0ac
sync.(*Mutex).lockSlow(0xc00002a468)
        C:/Go/src/sync/mutex.go:125 +0x1fc fp=0xc0001e2ca0 sp=0xc0001e2c40 pc=0x49c92c
sync.(*Mutex).Lock(0xc00002a468)
        C:/Go/src/sync/mutex.go:81 +0x5f fp=0xc0001e2cc0 sp=0xc0001e2ca0 pc=0x49c71f
github.com/cihub/seelog.Info(0xc00008c030, 0x1, 0x1)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/log.go:264 +0x46 fp=0xc0001e2d58 sp=0xc0001e2cc0 pc=0x7df0a6
iflytek.com/OMRService/eventtracking.Logger(0xe6fc81, 0x4, 0xf69060, 0xc0000f0540, 0xe8451d, 0x1e, 0xc0001e3390, 0x2, 0x2)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/eventtracking/logger.go:47 +0x2cf fp=0xc0001e2f90 sp=0xc0001e2d58 pc=0xc29a6f
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.DetectAdmissionTicket(0xf68ba0, 0xc000358b70, 0xc00006d9a0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:1089 +0xe9d fp=0xc0001e3408 sp=0xc0001e2f90 pc=0xc50d8d
iflytek.com/OMRService/server/grpc_handler.(*GeneralOmrAPIServer).DetectAdmissionTicket(0x1424f38, 0xf68ba0, 0xc000358b70, 0xc00006d9a0, 0x0, 0x0, 0x0)
        <autogenerated>:1 +0x9c fp=0xc0001e3480 sp=0xc0001e3408 pc=0xc7721c
iflytek.com/OMRService/proto/general._GeneralOmrAPI_DetectAdmissionTicket_Handler(0xe36820, 0x1424f38, 0xf68ba0, 0xc000358b70, 0xc0004005a0, 0x0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/proto/general/GeneralOMRGrpc.pb.go:3034 +0x3e6 fp=0xc0001e3590 sp=0xc0001e3480 pc=0xc093f6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc000170500, 0xc000088c90, 0xcec360, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x103c fp=0xc0001e3bb0 sp=0xc0001e3590 pc=0xba988c
google.golang.org/grpc.(*Server).handleStream(0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc000170500, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0x97d fp=0xc0001e3f20 sp=0xc0001e3bb0 pc=0xbadf4d
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00041a090, 0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc000170500)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xfb fp=0xc0001e3fb8 sp=0xc0001e3f20 pc=0xbc068b
runtime.goexit()
        C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0001e3fc0 sp=0xc0001e3fb8 pc=0x472d01
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

goroutine 1 [chan receive, 2 minutes]:
main.waitKill()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/main.go:29 +0x141
main.main()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/main.go:83 +0x5b8

goroutine 6 [sync.Cond.Wait, 2 minutes]:
sync.runtime_notifyListWait(0xc00003e690, 0x1)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00003e680)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc000156000, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc000156000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 7 [sync.Cond.Wait, 2 minutes]:
sync.runtime_notifyListWait(0xc00003e810, 0x0)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc00003e800)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc000156120, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc000156120)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 34 [sleep, 2 minutes]:
time.Sleep(0x45d964b800)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/monitor.initCurrentMap.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/currentMonitor.go:23 +0x8d
created by iflytek.com/OMRService/monitor.initCurrentMap
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/currentMonitor.go:20 +0xc3

goroutine 18 [sync.Cond.Wait, 1 minutes]:
sync.runtime_notifyListWait(0xc000092e10, 0x215)
        C:/Go/src/runtime/sema.go:513 +0x106
sync.(*Cond).Wait(0xc000092e00)
        C:/Go/src/sync/cond.go:56 +0x9d
github.com/cihub/seelog.(*asyncLoopLogger).processItem(0xc0000ae2d0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:50 +0x142
github.com/cihub/seelog.(*asyncLoopLogger).processQueue(0xc0000ae2d0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:63 +0x58
created by github.com/cihub/seelog.NewAsyncLoopLogger
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/behavior_asynclooplogger.go:40 +0xbc

goroutine 35 [chan receive, 2 minutes]:
iflytek.com/OMRService/monitor.initDayMap.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/dayMonitor.go:28 +0x2b0
created by iflytek.com/OMRService/monitor.initDayMap
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/monitor/dayMonitor.go:20 +0x7d

goroutine 19 [IO wait]:
internal/poll.runtime_pollWait(0x29f290b0, 0x72, 0xc0000b2548)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0000b26c8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0000b2518, 0xc00071c3e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).acceptOne(0xc0000b2500, 0x570, 0xc0003840f0, 0x2, 0x2, 0xc0000b2518, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:896 +0xfa
internal/poll.(*FD).Accept(0xc0000b2500, 0xc00063bb58, 0x0, 0x0, 0x0, 0x0, 0xc000000000, 0x0, 0x0, 0x0, ...)
        C:/Go/src/internal/poll/fd_windows.go:930 +0x331
net.(*netFD).accept(0xc0000b2500, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:193 +0xe3
net.(*TCPListener).accept(0xc000090a60, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock_posix.go:139 +0x68
net.(*TCPListener).Accept(0xc000090a60, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock.go:261 +0x7f
google.golang.org/grpc.(*Server).Serve(0xc0000e21a0, 0xf676a0, 0xc000090a60, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:621 +0x3cb
created by iflytek.com/OMRService/server.StartGrpcServer
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:76 +0xb89

goroutine 20 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x29f28fd0, 0x72, 0xc0001fd448)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0001fd5c8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0001fd418, 0xc0006a2000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).acceptOne(0xc0001fd400, 0x3c0, 0xc0006a0000, 0x2, 0x2, 0xc0001fd418, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:896 +0xfa
internal/poll.(*FD).Accept(0xc0001fd400, 0xc000637a18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        C:/Go/src/internal/poll/fd_windows.go:930 +0x331
net.(*netFD).accept(0xc0001fd400, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:193 +0xe3
net.(*TCPListener).accept(0xc000782000, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock_posix.go:139 +0x68
net.(*TCPListener).Accept(0xc000782000, 0x0, 0x0, 0x0, 0x0)
        C:/Go/src/net/tcpsock.go:261 +0x7f
net/http.(*Server).Serve(0xc0000f02a0, 0xf676a0, 0xc000782000, 0x0, 0x0)
        C:/Go/src/net/http/server.go:2901 +0x432
net/http.(*Server).ListenAndServe(0xc0000f02a0, 0x0, 0x0)
        C:/Go/src/net/http/server.go:2830 +0x1c8
iflytek.com/OMRService/server.StartHttpServer.func1()
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:104 +0x46
created by iflytek.com/OMRService/server.StartHttpServer
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/server.go:103 +0x2ad

goroutine 66 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0xc00002a078)
        C:/Go/src/runtime/sema.go:56 +0x49
sync.(*WaitGroup).Wait(0xc00002a070)
        C:/Go/src/sync/waitgroup.go:130 +0xdd
github.com/samuel/go-zookeeper/zk.(*Conn).loop(0xc000700000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:536 +0x95e
github.com/samuel/go-zookeeper/zk.Connect.func1(0xc000700000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:223 +0x36
created by github.com/samuel/go-zookeeper/zk.Connect
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:222 +0x88d

goroutine 67 [sleep]:
time.Sleep(0x2540be400)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00008a500, 0xc, 0xc000704040, 0xc000704030, 0xc000704020, 0xc000724000, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:96 +0x3b9
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 68 [sleep]:
time.Sleep(0x3b9aca00)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00008a528, 0x8, 0xc000704120, 0xc000704110, 0xc000704100, 0xc000724030, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:77 +0x379
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 69 [sleep]:
time.Sleep(0x3b9aca00)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00008a550, 0xa, 0xc0007041a0, 0xc000704190, 0xc000704180, 0xc000724060, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:77 +0x379
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 70 [sleep]:
time.Sleep(0x3b9aca00)
        C:/Go/src/runtime/time.go:188 +0xc8
iflytek.com/OMRService/common/zookeeper.Register.func1(0xc00008a580, 0xc, 0xc000704220, 0xc000704210, 0xc000704200, 0xc000724090, 0x21, 0x30)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:77 +0x379
created by iflytek.com/OMRService/common/zookeeper.Register
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/common/zookeeper/zk.go:65 +0x45b

goroutine 71 [syscall, 2 minutes]:
os/signal.signal_recv(0x0)
        C:/Go/src/runtime/sigqueue.go:147 +0xa3
os/signal.loop()
        C:/Go/src/os/signal/signal_unix.go:23 +0x2d
created by os/signal.Notify.func1
        C:/Go/src/os/signal/signal.go:127 +0x48

goroutine 51 [select]:
github.com/samuel/go-zookeeper/zk.(*Conn).sendLoop(0xc000700000, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:802 +0x1ee
github.com/samuel/go-zookeeper/zk.(*Conn).loop.func1(0xc000632060, 0xc000700000, 0xc00002a070)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:507 +0x9a
created by github.com/samuel/go-zookeeper/zk.(*Conn).loop
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:502 +0x8c6

goroutine 52 [IO wait]:
internal/poll.runtime_pollWait(0x29f28c50, 0x72, 0xc0000b2a18)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc0000b2bc8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc0000b2a18, 0xea52e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).Read(0xc0000b2a00, 0xc000880000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:527 +0x53b
net.(*netFD).Read(0xc0000b2a00, 0xc000880000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:152 +0x94
net.(*conn).Read(0xc00038a018, 0xc000880000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/net/net.go:184 +0xbc
io.ReadAtLeast(0x2a36caa0, 0xc00038a018, 0xc000880000, 0x4, 0x180000, 0x4, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:310 +0x194
io.ReadFull(0x2a36caa0, 0xc00038a018, 0xc000880000, 0x4, 0x180000, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:329 +0xb1
github.com/samuel/go-zookeeper/zk.(*Conn).recvLoop(0xc000700000, 0xf6f560, 0xc00038a018, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:843 +0x3c4
github.com/samuel/go-zookeeper/zk.(*Conn).loop.func2(0xc000700000, 0xc00002a070)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:521 +0x29c
created by github.com/samuel/go-zookeeper/zk.(*Conn).loop
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/samuel/go-zookeeper@v0.0.0-20200724154423-2164a8ac840e/zk/conn.go:516 +0x91c

goroutine 38 [runnable]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00045e410, 0x1, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/controlbuf.go:395 +0x20f
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00006a060, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/controlbuf.go:513 +0xbe
google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc000708c00)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:291 +0x15e
created by google.golang.org/grpc/internal/transport.newHTTP2Server
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:288 +0x1c55

goroutine 39 [select, 1 minutes]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc000708c00)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:966 +0x2f2
created by google.golang.org/grpc/internal/transport.newHTTP2Server
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:297 +0x1c7a

goroutine 40 [IO wait]:
internal/poll.runtime_pollWait(0x29f28e10, 0x72, 0xc000120a18)
        C:/Go/src/runtime/netpoll.go:203 +0x65
internal/poll.(*pollDesc).wait(0xc000120bc8, 0x72, 0xc99400, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x13f2698, 0xc000120a18, 0xea52e0, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:228 +0x2cd
internal/poll.(*FD).Read(0xc000120a00, 0xc0000e8000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/internal/poll/fd_windows.go:527 +0x53b
net.(*netFD).Read(0xc000120a00, 0xc0000e8000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/net/fd_windows.go:152 +0x94
net.(*conn).Read(0xc00069a018, 0xc0000e8000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        C:/Go/src/net/net.go:184 +0xbc
bufio.(*Reader).Read(0xc000788600, 0xc00009e038, 0x9, 0x9, 0x9, 0x0, 0x0)
        C:/Go/src/bufio/bufio.go:226 +0x409
io.ReadAtLeast(0xf599a0, 0xc000788600, 0xc00009e038, 0x9, 0x9, 0x9, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:310 +0x194
io.ReadFull(0xf599a0, 0xc000788600, 0xc00009e038, 0x9, 0x9, 0x0, 0x0, 0x0)
        C:/Go/src/io/io.go:329 +0xb1
golang.org/x/net/http2.readFrameHeader(0xc00009e038, 0x9, 0x9, 0xf599a0, 0xc000788600, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/golang.org/x/net@v0.0.0-20190827160401-ba9fcec4b297/http2/frame.go:237 +0xd3
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00009e000, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/golang.org/x/net@v0.0.0-20190827160401-ba9fcec4b297/http2/frame.go:492 +0x14e
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc000708c00, 0xc000712600, 0xea3dd0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/internal/transport/http2_server.go:453 +0xef
google.golang.org/grpc.(*Server).serveStreams(0xc0000e21a0, 0xf6fe60, 0xc000708c00)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:742 +0x185
google.golang.org/grpc.(*Server).handleRawConn.func1(0xc0000e21a0, 0xf6fe60, 0xc000708c00)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:703 +0x46
created by google.golang.org/grpc.(*Server).handleRawConn
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:702 +0x7f0

goroutine 1296 [runnable]:
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00041a090, 0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc00000a000)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

goroutine 1692 [running]:
        goroutine running on other thread; stack unavailable
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

goroutine 1692 [running]:
runtime.throw(0xe8431f, 0x1e)
        C:/Go/src/runtime/panic.go:1116 +0x79 fp=0xc000234c20 sp=0xc000234bf0 pc=0x43f139
sync.throw(0xe8431f, 0x1e)
        C:/Go/src/runtime/panic.go:1102 +0x3c fp=0xc000234c40 sp=0xc000234c20 pc=0x43f0ac
sync.(*Mutex).lockSlow(0xc00002a468)
        C:/Go/src/sync/mutex.go:125 +0x1fc fp=0xc000234ca0 sp=0xc000234c40 pc=0x49c92c
sync.(*Mutex).Lock(0xc00002a468)
        C:/Go/src/sync/mutex.go:81 +0x5f fp=0xc000234cc0 sp=0xc000234ca0 pc=0x49c71f
github.com/cihub/seelog.Info(0xc0000611c0, 0x1, 0x1)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/github.com/cihub/seelog@v0.0.0-20170130134532-f561c5e57575/log.go:264 +0x46 fp=0xc000234d58 sp=0xc000234cc0 pc=0x7df0a6
iflytek.com/OMRService/eventtracking.Logger(0xe6fc81, 0x4, 0xf69060, 0xc00009e540, 0xe767e6, 0xc, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/eventtracking/logger.go:47 +0x2cf fp=0xc000234f90 sp=0xc000234d58 pc=0xc29a6f
iflytek.com/OMRService/server/grpc_handler.GeneralOmrAPIServer.DetectAdmissionTicket(0xf68ba0, 0xc0000785d0, 0xc00069e780, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/server/grpc_handler/general_omr_service.go:1037 +0x2b6 fp=0xc000235408 sp=0xc000234f90 pc=0xc501a6
iflytek.com/OMRService/server/grpc_handler.(*GeneralOmrAPIServer).DetectAdmissionTicket(0x1424f38, 0xf68ba0, 0xc0000785d0, 0xc00069e780, 0x0, 0x0, 0x0)
        <autogenerated>:1 +0x9c fp=0xc000235480 sp=0xc000235408 pc=0xc7721c
iflytek.com/OMRService/proto/general._GeneralOmrAPI_DetectAdmissionTicket_Handler(0xe36820, 0x1424f38, 0xf68ba0, 0xc0000785d0, 0xc0006acae0, 0x0, 0x0, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/src/iflytek.com/OMRService/proto/general/GeneralOMRGrpc.pb.go:3034 +0x3e6 fp=0xc000235590 sp=0xc000235480 pc=0xc093f6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc00013a200, 0xc000088c90, 0xcec360, 0x0, 0x0, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1082 +0x103c fp=0xc000235bb0 sp=0xc000235590 pc=0xba988c
google.golang.org/grpc.(*Server).handleStream(0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc00013a200, 0x0)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1405 +0x97d fp=0xc000235f20 sp=0xc000235bb0 pc=0xbadf4d
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00041a090, 0xc0000e21a0, 0xf6fe60, 0xc000708c00, 0xc00013a200)
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xfb fp=0xc000235fb8 sp=0xc000235f20 pc=0xbc068b
runtime.goexit()
        C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000235fc0 sp=0xc000235fb8 pc=0x472d01
created by google.golang.org/grpc.(*Server).serveStreams.func1
        E:/projects/edu/EDU_zhixue_pt/srv-pt/srv-pt-recognization-engine-container/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xb7

-->
还有一种就是运行一段时间后grpc里面崩溃了,报这个错误
<--
sync: WaitGroup is reused before previous Wait has returned
-->

What did you expect to see?

希望能正常的运行,找到错误的原因。目前猜测是因为cgo的某个操作,导致系统的内存乱了。所以,读取的全局变量会乱码。但是grpc那个报错不知道啥原因

@bcmills
Copy link
Member

@bcmills bcmills commented Oct 14, 2020

Your program probably contains a data race. Build and run your program using the -race flag to figure out where the race occurs so that you can fix it.

See:

This is almost certainly a bug in your program. The Go issue tracker is for reporting bugs in the Go compiler and toolchain itself, not for help debugging other Go programs, so this is not the right place to continue this discussion.

There are many other methods to get help if you're still looking for answers:

Thanks

@bcmills bcmills closed this Oct 14, 2020
@changeyoung2015
Copy link
Author

@changeyoung2015 changeyoung2015 commented Oct 16, 2020

Your program probably contains a data race. Build and run your program using the -race flag to figure out where the race occurs so that you can fix it.

See:

This is almost certainly a bug in your program. The Go issue tracker is for reporting bugs in the Go compiler and toolchain itself, not for help debugging other Go programs, so this is not the right place to continue this discussion.

There are many other methods to get help if you're still looking for answers:

Thanks

你好!谢谢,问题已经解决了。的确有data race,但那个不是导致崩溃的根本原因。崩溃是因为我用cgo调用C++接口的时候,有个参数没有分配足够的内存空间。非常感谢您的回答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.