Crash within netpoll.go?

87 views
Skip to first unread message

Michael Sweeney

unread,
Jun 8, 2022, 7:21:32 PM6/8/22
to golang-nuts
Hi All, I searched around for details and references for a similar error and could not find anything. I am posting here to see if someone has any pointers to help me discover the root cause.

A GO 1.15.4 executable encountered a panic and generated a core file. Using 'dlv' to analyze the core file, I found:

(dlv) bt
0  0x000000000047ee01 in internal/poll.runtime_pollOpen
   at runtime/netpoll.go:144
(dlv) frame 0
> internal/poll.runtime_pollOpen() runtime/netpoll.go:144 (PC: 0x47ee01)
Warning: debugging optimized function
Frame 0: runtime/netpoll.go:144 (PC: 47ee01)
(dlv) args
fd = 0
~r1 = (unreadable empty OP stack)
~r2 = (unreadable empty OP stack)

The source code for the above is here:


I have used the 'latest' and 1.6.0 of 'delve' both report the same details.

Not much else existed. Any suggestions on how one could go about trying to gain more insight into root cause? I have only encountered this once so far.

Thanks,
Mike

Ian Lance Taylor

unread,
Jun 8, 2022, 7:55:47 PM6/8/22
to Michael Sweeney, golang-nuts
Normally a panic should print a stack backtrace. Also the line number
doesn't make sense for a crash. If this problem has only happened
once, my first guess would be some sort of hardware or kernel failure.
I personally wouldn't spend more time on this kind of failure unless
it happens again.

Note that 1.15.4 is no longer supported.

Ian

Michael Sweeney

unread,
Jun 8, 2022, 8:00:20 PM6/8/22
to golang-nuts
Thank you. We have since updated our set of services to the GO 1.17.x series. Yet, we had an instance of our service deployed using the older version. I wish we had the stdout, that would have been useful. I will continue to monitor and upgrade. 

Thanks again.
Mike

Reply all
Reply to author
Forward
0 new messages