崩溃日志如下,求大神解答啊 万分感谢
runtime: empty check fails b.log[0]= 0 b.log[1]= 0 b.log[2]= 0 b.log[3]= 0
fatal error: workbuf is not empty
runtime stack:
runtime.throw(0x607810, 0x14)
/usr/local/go/src/runtime/panic.go:527 +0x96
runtime.(*workbuf).checkempty(0x7f84b48da300)
/usr/local/go/src/runtime/mgcwork.go:267 +0x153
runtime.getempty(0x4cf628a, 0x0)
/usr/local/go/src/runtime/mgcwork.go:280 +0x55
runtime.getpartialorempty(0x2a, 0xc81fd6159e)
/usr/local/go/src/runtime/mgcwork.go:324 +0x6e
runtime.(*gcWork).put(0xc820021220, 0xc8253d4c20)
/usr/local/go/src/runtime/mgcwork.go:83 +0x3c
runtime.greyobject(0xc8253d4c20, 0x0, 0x0, 0xc81fd6159e, 0x7f8400000000, 0x7f84ba3fcef0, 0xc820021220)
/usr/local/go/src/runtime/mgcmark.go:898 +0x2f1
runtime.shade(0xc8253d4c20)
/usr/local/go/src/runtime/mgcmark.go:836 +0x9d
runtime.gcmarkwb_m(0xc821185c28, 0xc8253d4c20)
/usr/local/go/src/runtime/mbarrier.go:90 +0xc1
runtime.writebarrierptr_nostore1.func1()
/usr/local/go/src/runtime/mbarrier.go:116 +0x134
runtime.systemstack(0xc82001c000)
/usr/local/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
/usr/local/go/src/runtime/proc1.go:668
goroutine 1387 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:216 fp=0xc821185b78 sp=0xc821185b70
runtime.writebarrierptr_nostore1(0xc821185c28, 0xc8253d4c20)
/usr/local/go/src/runtime/mbarrier.go:117 +0x77 fp=0xc821185bb0 sp=0xc821185b78
runtime.writebarrierptr(0xc821185c28, 0xc8253d4c20)
/usr/local/go/src/runtime/mbarrier.go:136 +0x4b fp=0xc821185be0 sp=0xc821185bb0
runtime.convT2E(0x567180, 0xc821185cb0, 0xc8253d4c20, 0x567180, 0xc8253d4c20)
/usr/local/go/src/runtime/iface.go:146 +0x140 fp=0xc821185c08 sp=0xc821185be0
cloudclient.(*DHAVClient).sendFrame(0xc8205760e0, 0xc820fa035e, 0x111f, 0x187aa2, 0xe095bc, 0xc820658150, 0x2c, 0x0)
/mnt/shen_bifeng/MRSClient/src/cloudclient/cloudclient.go:157 +0x10d fp=0xc821185d68 sp=0xc821185c08
cloudclient.(*DHAVClient).startStream(0xc8205760e0, 0xc820658150, 0x2c)
/mnt/shen_bifeng/MRSClient/src/cloudclient/cloudclient.go:103 +0x1ec fp=0xc821185f98 sp=0xc821185d68
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc821185fa0 sp=0xc821185f98
created by cloudclient.(*DHAVClient).Start
/mnt/shen_bifeng/MRSClient/src/cloudclient/cloudclient.go:84 +0x408
goroutine 1 [chan receive, 3 minutes]:
main.main()
/mnt/shen_bifeng/MRSClient/src/mrsclient/mrsclient.go:46 +0xc06
goroutine 17 [syscall, 3 minutes, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [syscall, 3 minutes]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
有疑问加站长微信联系(非本文作者)