Client (please complete the following information):
- OS: Mac OS 13.3
- ARCH: m1 max芯片
- Tunnel : http
- Version : 0.26.0
运行超过一晚上大概率就会发生,可能连接数也挺高,连接频率都挺高的,这个貌似与#873类似:
goroutine 9671562 [chan receive, 78 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001e7f300)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9013575 [chan receive, 181 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001d30280)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9862492 [chan receive, 48 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140025e9680)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9614664 [chan receive, 87 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002081900)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9055948 [chan receive, 174 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002416b80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9919239 [chan receive, 39 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400218ff80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9190414 [chan receive, 153 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400218ea80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9714059 [chan receive, 71 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002030400)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10109528 [chan receive, 9 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001c7af00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9621757 [chan receive, 86 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002fcea00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9289292 [chan receive, 138 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400235c580)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 8737925 [chan receive, 224 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400218e780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9444694 [chan receive, 113 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001e7e080)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9458829 [chan receive, 111 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002fce400)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9565158 [chan receive, 95 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14004c4f980)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10144734 [chan receive, 3 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400267c800)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9721111 [chan receive, 70 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140015edc00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9423313 [chan receive, 117 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140022f7b80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9735246 [chan receive, 68 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400280b480)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9225621 [chan receive, 148 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140022f6680)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10003611 [chan receive, 25 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400218ee00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10123625 [chan receive, 6 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140025e8580)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172183 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x14002720380)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x14002720380)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14001406230, {0x140028cbab4, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14001406230, {0x140028cbab4, 0x4, 0x4}, 0x1a25af8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x14001a25ad8?, {0x140028cbab4?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x140001f8360?, {0x140028cbab4?, 0x14001a25b28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x140017b47b0}, {0x140028cbab4, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x140017b47b0}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x140028cbab0})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x14000615188})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14001406320})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 8773348 [chan receive, 219 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002417a00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9034767 [chan receive, 178 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002a1ec80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9048896 [chan receive, 176 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140019ca680)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9600461 [chan receive, 89 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400253dd00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9359448 [chan receive, 127 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140029c0000)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9763562 [chan receive, 63 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002fcfa00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9063007 [chan receive, 173 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002113400)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9961225 [chan receive, 32 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002f3f280)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9989457 [chan receive, 28 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400335da00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 8844084 [chan receive, 208 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002a1f100)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9204598 [chan receive, 151 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140022f6900)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9607629 [chan receive, 88 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002805780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9968307 [chan receive, 31 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002148900)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9232658 [chan receive, 147 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002260b00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10031691 [chan receive, 21 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002805280)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9579136 [chan receive, 92 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001e28680)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10166200 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x140026ede90, 0x1d62)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/runtime/sema.go:527 +0x16c
sync.(*Cond).Wait(0x140026ede80)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/sync/cond.go:70 +0xd0
ehang.io/nps-mux.(*priorityQueue).Pop(0x14002485d00)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:79 +0xf0
ehang.io/nps-mux.(*Mux).writeSession.func1()
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/mux.go:146 +0x38
created by ehang.io/nps-mux.(*Mux).writeSession
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/mux.go:141 +0x60
goroutine 8999388 [chan receive, 183 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002f3f500)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9869567 [chan receive, 47 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140019caa00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9268091 [chan receive, 141 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001d30180)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9218380 [chan receive, 149 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002804b00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9154881 [chan receive, 159 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400235c880)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 8858247 [chan receive, 206 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140029c1980)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 8752023 [chan receive, 222 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001f8b080)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9098567 [chan receive, 168 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14004c4fb80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 8759113 [chan receive, 221 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14003bd3600)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9352489 [chan receive, 128 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140026e5a80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9515553 [chan receive, 102 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002805480)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9402193 [chan receive, 120 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002417b00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9451733 [chan receive, 112 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140025e9480)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172853 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x1400148da40)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x1400148da40)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14001a22370, {0x140020662f8, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14001a22370, {0x140020662f8, 0x4, 0x4}, 0x42faf8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x1400042fad8?, {0x140020662f8?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x140001f8360?, {0x140020662f8?, 0x1400042fb28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x140004d4960}, {0x140020662f8, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x140004d4960}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x140020662f4})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x140023d0600})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14001a22410})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 9664518 [chan receive, 79 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001e7f580)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9813165 [chan receive, 56 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400267d780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9147930 [chan receive, 160 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001bdb200)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9161664 [chan receive, 158 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400235cc80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9586354 [chan receive, 91 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002226480)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 8829904 [chan receive, 210 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002031080)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9749461 [chan receive, 66 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14003bd3000)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9933100 [chan receive, 37 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140026e5300)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9168575 [chan receive, 157 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140022d7800)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9253995 [chan receive, 143 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14004c4fe00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9380849 [chan receive, 123 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002112100)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9070201 [chan receive, 172 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400264e200)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9183227 [chan receive, 154 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001bda500)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9706875 [chan receive, 72 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400280ae80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9041912 [chan receive, 176 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400235d100)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9388004 [chan receive, 122 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001e7e780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9742399 [chan receive, 67 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002a1fb80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9975320 [chan receive, 30 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002914c80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9543782 [chan receive, 98 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002fcf780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9246855 [chan receive, 144 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140026e5380)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172182 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x14002720300)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x14002720300)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14001406000, {0x140028cbaac, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14001406000, {0x140028cbaac, 0x4, 0x4}, 0x2d0af8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x140002d0ad8?, {0x140028cbaac?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x140001f8360?, {0x140028cbaac?, 0x140002d0b28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x140017b46f0}, {0x140028cbaac, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x140017b46f0}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x140028cbaa8})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x14000615180})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14001406050})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 9551030 [chan receive, 97 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400280ad80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10059914 [chan receive, 16 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001f8a500)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9925984 [chan receive, 38 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14003007480)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172825 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x1400145de80)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x1400145de80)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14002661b30, {0x14002abf000, 0x1000, 0x1000}, 0xb879b8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14002661b30, {0x14002abf000, 0x1000, 0x1000}, 0xb879b8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x0?, {0x14002abf000?, 0x14000b879d8?, 0x1021ee2c8?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/rate.(*rateConn).Read(0x1400129b368, {0x14002abf000?, 0x14001481300?, 0x14002abe000?})
/Users/zhihongmeng/nps/lib/rate/conn.go:20 +0x34
bufio.(*Reader).fill(0x1400081fc20)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:106 +0xfc
bufio.(*Reader).ReadSlice(0x1400081fc20, 0xa0?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:372 +0x30
bufio.(*Reader).ReadLine(0x1400081fc20)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:401 +0x24
net/textproto.(*Reader).readLineSlice(0x1400255a480)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/textproto/reader.go:56 +0x7c
net/textproto.(*Reader).ReadLine(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/textproto/reader.go:39
net/http.readRequest(0x14002abf000?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/http/request.go:1042 +0x78
net/http.ReadRequest(0x140019dee00?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/http/request.go:1025 +0x1c
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14002661b80})
/Users/zhihongmeng/nps/client/client.go:195 +0x73c
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 10074076 [chan receive, 14 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400280ab80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10166199 [select]:
ehang.io/nps-mux.(*Mux).ping.func2()
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/mux.go:203 +0xa0
created by ehang.io/nps-mux.(*Mux).ping
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/mux.go:196 +0xa4
goroutine 10166196 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x140026edf10, 0x776)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/runtime/sema.go:527 +0x16c
sync.(*Cond).Wait(0x140026edf00)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/sync/cond.go:70 +0xd0
ehang.io/nps-mux.(*connQueue).Pop(0x14002485d28)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:168 +0x10c
ehang.io/nps-mux.(*Mux).readSession.func1()
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/mux.go:230 +0x80
created by ehang.io/nps-mux.(*Mux).readSession
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/mux.go:224 +0x60
goroutine 10116095 [chan receive, 7 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400264ff00)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10088354 [chan receive, 12 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400267cd80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9996416 [chan receive, 27 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002a1f900)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172826 [runnable]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x14002720000)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x14002720000)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14002661e00, {0x140012bc678, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14002661e00, {0x140012bc678, 0x4, 0x4}, 0x1f53af8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x14001f53ad8?, {0x140012bc678?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x140001f8360?, {0x140012bc678?, 0x14001f53b28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x1400119c270}, {0x140012bc678, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x1400119c270}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x140012bc674})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x14000483578})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14002661e50})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 10024632 [chan receive, 22 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400335d700)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10038651 [chan receive, 20 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002915000)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172839 [runnable]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x1400145dcc0)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x1400145dcc0)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x140026618b0, {0x14002abb000, 0x1000, 0x1000}, 0xb899b8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x140026618b0, {0x14002abb000, 0x1000, 0x1000}, 0xb899b8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x0?, {0x14002abb000?, 0x14000b899d8?, 0x1021ee2c8?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/rate.(*rateConn).Read(0x140040a7c50, {0x14002abb000?, 0x14003006f00?, 0x14002aba000?})
/Users/zhihongmeng/nps/lib/rate/conn.go:20 +0x34
bufio.(*Reader).fill(0x1400081f620)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:106 +0xfc
bufio.(*Reader).ReadSlice(0x1400081f620, 0xa0?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:372 +0x30
bufio.(*Reader).ReadLine(0x1400081f620)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:401 +0x24
net/textproto.(*Reader).readLineSlice(0x14001dd18c0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/textproto/reader.go:56 +0x7c
net/textproto.(*Reader).ReadLine(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/textproto/reader.go:39
net/http.readRequest(0x14002abb000?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/http/request.go:1042 +0x78
net/http.ReadRequest(0x14001c43f00?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/http/request.go:1025 +0x1c
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14002661900})
/Users/zhihongmeng/nps/client/client.go:195 +0x73c
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 10172872 [IO wait]:
internal/poll.runtime_pollWait(0x12a7166a8, 0x72)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/runtime/netpoll.go:306 +0xa0
internal/poll.(*pollDesc).wait(0x14001481300?, 0x1400182a000?, 0x0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28
internal/poll.(*pollDesc).waitRead(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x14001481300, {0x1400182a000, 0x8000, 0x8000})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_unix.go:167 +0x200
net.(*netFD).Read(0x14001481300, {0x1400182a000?, 0x0?, 0xa?})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/fd_posix.go:55 +0x28
net.(*conn).Read(0x14000331420, {0x1400182a000?, 0x0?, 0x140011875f0?})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/net.go:183 +0x34
ehang.io/nps/lib/common.CopyBuffer({0x12a222968, 0x1400129b368}, {0x12a00ff58, 0x14000331420}, {0x0?, 0x1021731a8?, 0x0?})
/Users/zhihongmeng/nps/lib/common/util.go:282 +0xe0
ehang.io/nps/client.(*TRPClient).handleChan.func1()
/Users/zhihongmeng/nps/client/client.go:190 +0x78
created by ehang.io/nps/client.(*TRPClient).handleChan
/Users/zhihongmeng/nps/client/client.go:189 +0x3b4
goroutine 10081156 [chan receive, 13 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14004c4f780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10066967 [chan receive, 15 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400253c800)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10137725 [chan receive, 4 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x140026e4280)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10010652 [chan receive, 25 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14003bd3800)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172841 [runnable]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x1400145df80)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x1400145df80)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14002661d10, {0x14001bbc440, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14002661d10, {0x14001bbc440, 0x4, 0x4}, 0x1a2aaf8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x14001a2aad8?, {0x14001bbc440?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x14001bbc440?, {0x14001bbc440?, 0x14001a2ab28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x140016e8ea0}, {0x14001bbc440, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x140016e8ea0}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x14001bbc43c})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x140008b3760})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14002661d60})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 9982340 [chan receive, 29 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14001842780)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172866 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x14002ca6800)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x14002ca6800)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x1400160e410, {0x140017934a0, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x1400160e410, {0x140017934a0, 0x4, 0x4}, 0x42aaf8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x1400042aad8?, {0x140017934a0?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x140017934a0?, {0x140017934a0?, 0x1400042ab28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x14000336030}, {0x140017934a0, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x14000336030}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x1400179349c})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x14000331408})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x1400160e460})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 9947210 [chan receive, 34 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002f3fd80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172829 [runnable]:
internal/poll.runtime_pollWait(0x12a753138, 0x72)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/runtime/netpoll.go:306 +0xa0
internal/poll.(*pollDesc).wait(0x14001480f00?, 0x14001a42000?, 0x0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28
internal/poll.(*pollDesc).waitRead(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x14001480f00, {0x14001a42000, 0x8000, 0x8000})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_unix.go:167 +0x200
net.(*netFD).Read(0x14001480f00, {0x14001a42000?, 0x0?, 0xa?})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/fd_posix.go:55 +0x28
net.(*conn).Read(0x14000483590, {0x14001a42000?, 0x0?, 0x14001187530?})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/net.go:183 +0x34
ehang.io/nps/lib/common.CopyBuffer({0x12a222968, 0x140040a7c98}, {0x12a00ff58, 0x14000483590}, {0x0?, 0x1021731a8?, 0x0?})
/Users/zhihongmeng/nps/lib/common/util.go:282 +0xe0
ehang.io/nps/client.(*TRPClient).handleChan.func1()
/Users/zhihongmeng/nps/client/client.go:190 +0x78
created by ehang.io/nps/client.(*TRPClient).handleChan
/Users/zhihongmeng/nps/client/client.go:189 +0x3b4
goroutine 10172184 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x14002720400)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x14002720400)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14001406370, {0x140028cbabc, 0x4, 0x4}, 0x7d?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14001406370, {0x140028cbabc, 0x4, 0x4}, 0xd23af8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x14000d23ad8?, {0x140028cbabc?, 0x0?, 0x100000000?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/conn.(*Conn).Read(0x140001f8360?, {0x140028cbabc?, 0x14000d23b28?, 0x102255a50?})
/Users/zhihongmeng/nps/lib/conn/conn.go:292 +0x11c
io.ReadAtLeast({0x10273bd20, 0x140017b4870}, {0x140028cbabc, 0x4, 0x4}, 0x4)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:332 +0xa0
io.ReadFull(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/io/io.go:351
encoding/binary.Read({0x10273bd20, 0x140017b4870}, {0x102742290, 0x102ac1d68}, {0x102675840?, 0x140028cbab8})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/encoding/binary/binary.go:233 +0x90
ehang.io/nps/lib/conn.(*Conn).GetLen(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:124
ehang.io/nps/lib/conn.(*Conn).getInfo(0x0?, {0x102670500, 0x14000615190})
/Users/zhihongmeng/nps/lib/conn/conn.go:261 +0x114
ehang.io/nps/lib/conn.(*Conn).GetLinkInfo(...)
/Users/zhihongmeng/nps/lib/conn/conn.go:171
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x14001406460})
/Users/zhihongmeng/nps/client/client.go:174 +0x98
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 10151887 [chan receive, 2 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x14002148c80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 9912173 [chan receive, 40 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400280bc80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172850 [select]:
ehang.io/nps-mux.(*receiveWindowQueue).waitPush(0x1400145dd40)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:305 +0xa8
ehang.io/nps-mux.(*receiveWindowQueue).Pop(0x1400145dd40)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/queue.go:265 +0x9c
ehang.io/nps-mux.(*receiveWindow).readFromQueue(0x14002661950, {0x14002a3a000, 0x1000, 0x1000}, 0x22119b8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:321 +0xbc
ehang.io/nps-mux.(*receiveWindow).Read(0x14002661950, {0x14002a3a000, 0x1000, 0x1000}, 0x22119b8?)
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:305 +0x5c
ehang.io/nps-mux.(*conn).Read(0x0?, {0x14002a3a000?, 0x140022119d8?, 0x1021ee2c8?})
/Users/zhihongmeng/go/pkg/mod/ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992/conn.go:49 +0x54
ehang.io/nps/lib/rate.(*rateConn).Read(0x140040a7c98, {0x14002a3a000?, 0x14001480f00?, 0x14002a39000?})
/Users/zhihongmeng/nps/lib/rate/conn.go:20 +0x34
bufio.(*Reader).fill(0x140023dfce0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:106 +0xfc
bufio.(*Reader).ReadSlice(0x140023dfce0, 0xa0?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:372 +0x30
bufio.(*Reader).ReadLine(0x140023dfce0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/bufio/bufio.go:401 +0x24
net/textproto.(*Reader).readLineSlice(0x14002a57ad0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/textproto/reader.go:56 +0x7c
net/textproto.(*Reader).ReadLine(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/textproto/reader.go:39
net/http.readRequest(0x14002a3a000?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/http/request.go:1042 +0x78
net/http.ReadRequest(0x14000ed8300?)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/http/request.go:1025 +0x1c
ehang.io/nps/client.(*TRPClient).handleChan(0x10273f4f0?, {0x1027426e0?, 0x140026619a0})
/Users/zhihongmeng/nps/client/client.go:195 +0x73c
created by ehang.io/nps/client.(*TRPClient).newChan
/Users/zhihongmeng/nps/client/client.go:169 +0x13c
goroutine 10052781 [chan receive, 18 minutes]:
ehang.io/nps/client.(*TRPClient).ping(0x1400235df80)
/Users/zhihongmeng/nps/client/client.go:286 +0x70
created by ehang.io/nps/client.(*TRPClient).Start
/Users/zhihongmeng/nps/client/client.go:74 +0x148
goroutine 10172842 [IO wait]:
internal/poll.runtime_pollWait(0x12a5ba1c0, 0x72)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/runtime/netpoll.go:306 +0xa0
internal/poll.(*pollDesc).wait(0x14003007000?, 0x140022dc000?, 0x0)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_poll_runtime.go:84 +0x28
internal/poll.(*pollDesc).waitRead(...)
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x14003007000, {0x140022dc000, 0x8000, 0x8000})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/internal/poll/fd_unix.go:167 +0x200
net.(*netFD).Read(0x14003007000, {0x140022dc000?, 0x14000de5e68?, 0x10217c044?})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/fd_posix.go:55 +0x28
net.(*conn).Read(0x140008b3768, {0x140022dc000?, 0x1?, 0x14001187770?})
/opt/homebrew/Cellar/go/1.20.5/libexec/src/net/net.go:183 +0x34
ehang.io/nps/lib/common.CopyBuffer({0x12a222968, 0x1400212db78}, {0x12a00ff58, 0x140008b3768}, {0x0?, 0x1021731a8?, 0x0?})
/Users/zhihongmeng/nps/lib/common/util.go:282 +0xe0
ehang.io/nps/client.(*TRPClient).handleChan.func1()
/Users/zhihongmeng/nps/client/client.go:190 +0x78
created by ehang.io/nps/client.(*TRPClient).handleChan
/Users/zhihongmeng/nps/client/client.go:189 +0x3b4
2条答案
按热度按时间5q4ezhmt1#
请问你是如何编译的,我编译后运行出现了错误,我用的是 M2 芯片的 macbook air
2023/06/19 11:32:53.354 [I] [npc.go:231] the version of client is 0.26.10, the core version of client is 0.26.0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x102fb1b3c]
goroutine 50 [running]:
ehang.io/nps/client.StartFromFile({0x10300a3c9, 0xd})
/private/etc/nps/nps_source/client/control.go:94 +0x3c
created by main.run
/private/etc/nps/nps_source/cmd/npc/npc.go:244 +0x4cc
4urapxun2#
@thingsc
就是按照https://ehang-io.github.io/nps/#/install,
先clone 项目到本地,进入项目文件夹,
安装golang环境
客户端go build cmd/npc/npc.go,
然后项目文件夹内就有npc了,一切运行正常