报错日志 可以看到报错信息中出现unexpected fault address,说明是指针出了问题。 unexpected fault address 0x4000185960 fatal error: fault [signal SIGSEGV: segmentation violation code=0x2 addr=0x4000185960 pc=0x4000185960] goroutine 6 [running]: ...... goroutine 1 [chan receive]: ...... goroutine 19 [chan