gorountine 错误 这个是什么情况下引起的 直接导致程序退出 是什么问题

yl32940 · · 1776 次点击
D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x128081c0, 0x14f9e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x129ccd68, 0x14f9e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x122aaf00, 0x14f9e000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x11cef050) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x11cef050, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x11cef050, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x122aaf40, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x122aaf40, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x11cef050, 0x0, 0x12a1b570, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x12d09900, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x12d09900) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50204 [IO wait, 23 minutes]: net.runtime_pollWait(0x339bc928, 0x72, 0x11a1898c) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x13153170, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x131530d8, 0x9c78d0, 0x7, 0xadf680, 0x7ffffffe, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x131530a0, 0x12108000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x12be7128, 0x12108000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x13950be0, 0x12108000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x135b1620) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x135b1620, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x135b1620, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x12ec7ba0, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x12ec7ba0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x135b1620, 0x0, 0x14229ea0, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x11c5bb00, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x11c5bb00) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50482 [IO wait, 6 minutes]: net.runtime_pollWait(0x339bc568, 0x72, 0x11ac546c) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x11d216b0, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x11d21618, 0x9c78d0, 0x7, 0xadf680, 0xfaa, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x11d215e0, 0x1368d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x13dddd48, 0x1368d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x13dc5c40, 0x1368d000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x135b0810) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x135b0810, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x135b0810, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x14ca7b80, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x14ca7b80, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x135b0810, 0x0, 0x129e1110, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x15266340, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x15266340) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50483 [IO wait, 6 minutes]: net.runtime_pollWait(0x339bc4f0, 0x72, 0x13f73f2c) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x137900d0, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x13790038, 0x9c78d0, 0x7, 0xadf680, 0xfaa, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x13790000, 0x13275000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x13dddd78, 0x13275000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x13dc5fe0, 0x13275000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x135b0ab0) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x135b0ab0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x135b0ab0, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x1293c0e0, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x1293c0e0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x135b0ab0, 0x0, 0x1486a770, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x152667c0, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x152667c0) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50484 [IO wait, 6 minutes]: net.runtime_pollWait(0x339bc478, 0x72, 0x119791bc) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x12859090, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x12858ff8, 0x9c78d0, 0x7, 0xadf680, 0xfaa, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x12858fc0, 0x13836000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x13ddde80, 0x13836000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x1293dd60, 0x13836000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x135b1530) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x135b1530, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x135b1530, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x13922900, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x13922900, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x135b1530, 0x0, 0x120e0150, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x15267200, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x15267200) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50491 [IO wait, 4 minutes]: net.runtime_pollWait(0x339bc130, 0x72, 0x11ac4b50) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x1215a7d0, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x1215a738, 0x9c78d0, 0x7, 0xadf680, 0x11, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x1215a700, 0x1317a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x141c5a28, 0x1317a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x13af3820, 0x1317a000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x128060f0) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x128060f0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x128060f0, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x13af3860, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x13af3860, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x128060f0, 0x0, 0x11edf3b0, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x12028400, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x12028400) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50492 [IO wait, 4 minutes]: net.runtime_pollWait(0x334bec90, 0x72, 0x11ac5c40) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x12b16450, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x12b163b8, 0x9c78d0, 0x7, 0xadf680, 0x11, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x12b16380, 0x14ae8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x141c5b98, 0x14ae8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x13b1c9e0, 0x14ae8000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x12807ec0) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x12807ec0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x12807ec0, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x13b1ca20, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x13b1ca20, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x12807ec0, 0x0, 0x12e88460, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x11aee3c0, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x11aee3c0) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 50493 [IO wait, 4 minutes]: net.runtime_pollWait(0x334bec18, 0x72, 0x11a74990) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x12b166f0, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x12b16658, 0x9c78d0, 0x7, 0xadf680, 0x11, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x12b16620, 0x1379a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x141c5d08, 0x1379a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x13b1da20, 0x1379a000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x134356e0) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x134356e0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x134356e0, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x13b1da80, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x13b1da80, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x134356e0, 0x0, 0x1279ccb0, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x12e55fc0, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x12e55fc0) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 goroutine 73061 [IO wait, 1 minutes]: net.runtime_pollWait(0x334beb28, 0x72, 0x14ffce68) D:/Go/src/runtime/netpoll.go:160 +0x55 net.(pollDesc).Wait(0x14f64370, 0x72, 0x0, 0x0) D:/Go/src/net/fd_poll_runtime.go:73 +0x35 net.(ioSrv).ExecIO(0x11a136e8, 0x14f642d8, 0x9c78d0, 0x7, 0xadf680, 0xf90, 0x0, 0x0) D:/Go/src/net/fd_windows.go:183 +0x122 net.(netFD).Read(0x14f642a0, 0x13834000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/fd_windows.go:482 +0x129 net.(conn).Read(0x14d30da8, 0x13834000, 0x1000, 0x1000, 0x0, 0x0, 0x0) D:/Go/src/net/net.go:172 +0xb9 net/http.(connReader).Read(0x141863a0, 0x13834000, 0x1000, 0x1000, 0x0, 0x0, 0x 0) D:/Go/src/net/http/server.go:526 +0x189 bufio.(Reader).fill(0x13d7c600) D:/Go/src/bufio/bufio.go:97 +0x172 bufio.(Reader).ReadSlice(0x13d7c600, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/bufio/bufio.go:328 +0x1b4 bufio.(Reader).ReadLine(0x13d7c600, 0x0, 0x0, 0x0, 0x9a6a00, 0x0, 0x0) D:/Go/src/bufio/bufio.go:357 +0x4b net/textproto.(Reader).readLineSlice(0x129359e0, 0x0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:55 +0x59 net/textproto.(Reader).ReadLine(0x129359e0, 0x0, 0x0, 0x0, 0x0) D:/Go/src/net/textproto/reader.go:36 +0x39 net/http.readRequest(0x13d7c600, 0x0, 0x146fbab0, 0x0, 0x0) D:/Go/src/net/http/request.go:721 +0x9a net/http.(conn).readRequest(0x11e4ff00, 0x0, 0x0, 0x0) D:/Go/src/net/http/server.go:705 +0x3b7 net/http.(conn).serve(0x11e4ff00) D:/Go/src/net/http/server.go:1425 +0x985 created by net/http.(*Server).Serve D:/Go/src/net/http/server.go:2137 +0x394 这个是cmd 显示的错误
#9
更多评论
stevewang
耶和华是我的牧者,我必不至缺乏。
你要看打印出来的第一个goroutine的调用栈信息。
#1
这个cmd 自动截取了
#2