On Mon, Nov 25, 2019 at 9:23 AM 黃翔蔚 <waterhuan...@gmail.com> wrote: > > My program will get panic issue from time to time. > I don't have procedure to reproduce this issue. > So far, the issue is happen on 10/23, 10/25, 10/30, 11/14 and 11/22. > In the last try, I capture packets by wireshark, it seems no packet incoming > when panic. > I also try go build -race. There is no useful clues in crash dump. > Any suggestion is welcome.
The most common cause for this kind of problem is memory corruption. Run your program under the race detector. Look closely at any uses of unsafe or cgo. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVpuqEYkV81ETAuvbEbsJNzj3LqznYP6jNe0DA51HyybQ%40mail.gmail.com.