Hi lan, Thanks for your reply. I built the program with -race option. There is no news in crash dump. I will review cgo portion again. Thanks again.
Walter Ian Lance Taylor於 2019年11月26日星期二 UTC+8上午3時12分06秒寫道: > > On Mon, Nov 25, 2019 at 9:23 AM 黃翔蔚 <waterh...@gmail.com <javascript:>> > 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/c68e43ec-11a5-4d0c-9eac-b31d8fb91d7a%40googlegroups.com.