Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

客户端dokodemo-door 用tproxy接受流量,几分钟后服务器端就会报错,疑似内存泄漏。 #1290

Closed
5high opened this issue Sep 30, 2018 · 5 comments

Comments

@5high
Copy link

5high commented Sep 30, 2018

提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。
除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。
如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。

  1. 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明)
    3.45

  2. 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
    服务器 ws+tls , 客户端dokodemo-door用tproxy转发TCP和UDP数据

  3. 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等)
    几分钟后服务器端程序异常退出

  4. 你期待看到的正确表现是怎样的?
    服务器不异常退出

  5. 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。

服务器端配置:

    {
	"stats": {},
	"api": {
		"services": [
			"StatsService",
			"LoggerService",
			"HandlerService"
		],
		"tag": "api"
	},
	"policy": {
		"levels": {
			"0": {
				"connIdle": 300,
				"downlinkOnly": 30,
				"handshake": 4,
				"uplinkOnly": 5,
				"statsUserDownlink": true,
				"statsUserUplink": true,
				"bufferSize": 1024
			}
		},
		"system": {
			"statsInboundUplink": true,
			"statsInboundDownlink": true
		}
	},
	"inbound": {
		"tag": "proxy",
		"sniffing": {
			"enabled": true,
			"destOverride": [
				"http",
				"tls"
			]
		},
		"port": 10001,
		"listen": "127.0.0.1",
		"protocol": "vmess",
		"settings": {
			"clients": [{
					"id": "uuid",
					"email": "[email protected]",
					"security": "auto",
					"alterId": 64,
					"level": 0
				}
			]
		},
		"streamSettings": {
			"network": "ws",
			"wsSettings": {
				"path": "/play"
			}
		}
	},
	"inboundDetour": [{
		"listen": "127.0.0.1",
		"port": 10010,
		"protocol": "dokodemo-door",
		"settings": {
			"address": "127.0.0.1"
		},
		"tag": "api"
	}],
	"outbound": {
		"protocol": "freedom",
		"settings": {}
	},
	"outboundDetour": [{
		"protocol": "blackhole",
		"settings": {},
		"tag": "block"
	}],
	"routing": {
		"strategy": "rules",
		"settings": {
			"rules": [{
					"inboundTag": [
						"api"
					],
					"outboundTag": "api",
					"type": "field"
				},
				{
					"type": "field",
					"outboundTag": "block",
					"protocol": [
						"bittorrent"
					]
				},
				{
					"type": "field",
                                        "outboundTag": "block",
					"domain": [
                                          "nicehash.com"
                                        ]
				},
				{
			          "type": "field",
			          "ip": [
			            "0.0.0.0/8",
			            "10.0.0.0/8",
			            "100.64.0.0/10",
			            "127.0.0.0/8",
			            "169.254.0.0/16",
			            "172.16.0.0/12",
			            "192.0.0.0/24",
			            "192.0.2.0/24",
			            "192.168.0.0/16",
			            "198.18.0.0/15",
			            "198.51.100.0/24",
			            "203.0.113.0/24",
			            "::1/128",
			            "fc00::/7",
			            "fe80::/10"
			          ],
			          "outboundTag": "freedom"
			        }
			]
		}
	}
}

客户端配置:

    {
	"inbound": {
		"port": 1080,
		"listen": "0.0.0.0",
		"protocol": "socks",
		"settings": {
			"auth": "noauth",
			"accounts": [{
				"user": "v2ray",
				"pass": "v2ray"
			}],
			"udp": true
		}
	},
	"inboundDetour": [{
		"domainOverride": ["tls", "http"],
		"port": 12345,
		"protocol": "dokodemo-door",
			"settings": {
				"followRedirect": true
			},
		"streamSettings": {
			"sockopt": {
				"mark": 100,
				"tproxy": "tproxy"
			}
		}
	}],	

	"outbound": {
		"mux": {
			"enabled": true
		},
		"tag": "proxy",
		"protocol": "vmess",
		"settings": {
			"vnext": [{
				"address": "xxx.net",
				"port": 443,
				"users": [{
					"id": "UUID",
					"alterId": 64
				}]
			}]
		},
		"streamSettings": {
			"network": "ws",
			"security": "tls",
			"tlsSettings": {
				"serverName": "xxx.net"
			},
			"wsSettings": {
				"path": "/play"
			}
		}
	},
	"outboundDetour": [{
			"tag": "direct",
			"protocol": "freedom",
			"settings": {
				"response": null
			}
		},
		{
			"tag": "blockout",
			"protocol": "blackhole",
			"settings": {
				"response": {
					"type": "http"
				}
			}
		}
	],
	"routing": {
		"settings": {
			"rules": [{
					"ip": [
						"0.0.0.0/8",
						"10.0.0.0/8",
						"100.64.0.0/10",
						"127.0.0.0/8",
						"169.254.0.0/16",
						"172.16.0.0/12",
						"192.0.0.0/24",
						"192.0.2.0/24",
						"192.168.0.0/16",
						"198.18.0.0/15",
						"198.51.100.0/24",
						"203.0.113.0/24",
						"::1/128",
						"fc00::/7",
						"fe80::/10"
					],
					"domain": null,
					"type": "field",
					"port": null,
					"outboundTag": "direct"
				},
				{
					"type": "chinaip",
					"outboundTag": "direct"
				},
				{
					"type": "chinasites",
					"outboundTag": "direct"
				}
			],
			"domainStrategy": "IPIfNonMatch"
		},
		"strategy": "rules"
	}

}
  1. 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在 /var/log/v2ray/error.log 文件中。

服务器端错误日志:

    goroutine 8320 [IO wait]:
internal/poll.runtime_pollWait(0x2b7196cac958, 0x72, 0xc007f84a38)
	/usr/local/go/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc007eb5718, 0x72, 0xffffffffffffff00, 0xbf3680, 0x1051438)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc007eb5718, 0xc007ecf000, 0x800, 0x800)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc007eb5700, 0xc007ecf000, 0x800, 0x800, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc007eb5700, 0xc007ecf000, 0x800, 0x800, 0xc007f76c00, 0xc007f84bc0, 0x40b70f)
	/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc006a86850, 0xc007ecf000, 0x800, 0x800, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:177 +0x68
v2ray.com/core/transport/internet.(*StatCouterConnection).Read(0xc007f52c00, 0xc007ecf000, 0x800, 0x800, 0xac9560, 0xc007f84c10, 0x40bf98)
	/v2ray/src/v2ray.com/core/transport/internet/connection.go:22 +0x55
v2ray.com/core/common/buf.ReadFrom.func1(0xc007ecf000, 0x800, 0x800, 0x5a4b8d, 0xa9b7c0, 0xc005e4caa0)
	/v2ray/src/v2ray.com/core/common/buf/io.go:32 +0x4d
v2ray.com/core/common/buf.(*Buffer).Reset(0xc005e4ca20, 0xc005e4caa0, 0xc005e4caa0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/buffer.go:67 +0x45
v2ray.com/core/common/buf.readOne(0x2b7196831be8, 0xc007f52c00, 0x603b5c, 0xc007ee9680, 0xc006a86b98)
	/v2ray/src/v2ray.com/core/common/buf/reader.go:13 +0x7e
v2ray.com/core/common/buf.(*SingleReader).ReadMultiBuffer(0xc007f54470, 0xc007f84d40, 0x5a4466, 0xc006a868d8, 0xc006a86b98, 0x1)
	/v2ray/src/v2ray.com/core/common/buf/reader.go:146 +0x3b
v2ray.com/core/common/buf.(*copyHandler).readFrom(0xc007f7c230, 0xbf2580, 0xc007f54470, 0xc006a86b98, 0x1, 0x1, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:21 +0x38
v2ray.com/core/common/buf.copyInternal(0xbf2580, 0xc007f54470, 0xbf2b40, 0xc006a868d8, 0xc007f7c230, 0xc007f13601, 0xc005d73940)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:86 +0x5a
v2ray.com/core/common/buf.Copy(0xbf2580, 0xc007f54470, 0xbf2b40, 0xc006a868d8, 0xc007f136e0, 0x1, 0x1, 0x551968, 0xc007f529c0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:109 +0xa8
v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process.func1(0x0, 0x0)
	/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:94 +0x163
v2ray.com/core/common/task.(*executionContext).executeTask(0xc007ee9700, 0x4294e2, 0xc000000008)
	/v2ray/src/v2ray.com/core/common/task/task.go:39 +0xaa
v2ray.com/core/common/task.(*executionContext).run(0xc007ee9700, 0xc007f137a8, 0x840b4f)
	/v2ray/src/v2ray.com/core/common/task/task.go:52 +0x2f
v2ray.com/core/common/task.Run.func1(0xc007f0bb00, 0xc007e3b700)
	/v2ray/src/v2ray.com/core/common/task/task.go:139 +0x2a
v2ray.com/core/common/task.executeParallel.func1(0xc006a86970, 0xc007f2d320, 0xc007f543a0)
	/v2ray/src/v2ray.com/core/common/task/task.go:162 +0x2b
created by v2ray.com/core/common/task.executeParallel
	/v2ray/src/v2ray.com/core/common/task/task.go:161 +0xd7

goroutine 8321 [select]:
v2ray.com/core/transport/pipe.(*pipe).ReadMultiBuffer(0xc007ee96c0, 0xc007ecf000, 0x95, 0x800, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/transport/pipe/impl.go:79 +0x102
v2ray.com/core/transport/pipe.(*Reader).ReadMultiBuffer(0xc006a868f0, 0xc007f59d80, 0x5a4466, 0xc007f543f0, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/transport/pipe/reader.go:16 +0x2e
v2ray.com/core/common/buf.(*copyHandler).readFrom(0xc007f7c0a0, 0xbf2b20, 0xc006a868f0, 0xc006a86a38, 0x1, 0x1, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:21 +0x38
v2ray.com/core/common/buf.copyInternal(0xbf2b20, 0xc006a868f0, 0xbf2560, 0xc007f543f0, 0xc007f7c0a0, 0xc007f13e01, 0xc005d736c0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:86 +0x5a
v2ray.com/core/common/buf.Copy(0xbf2b20, 0xc006a868f0, 0xbf2560, 0xc007f543f0, 0xc007f13f58, 0x1, 0x1, 0xc007eacb60, 0xb6dd10)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:109 +0xa8
v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process.func2(0x0, 0x0)
	/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:127 +0x35e
v2ray.com/core/common/task.executeParallel.func1(0xc006a86970, 0xc007f2d320, 0xc007eb5780)
	/v2ray/src/v2ray.com/core/common/task/task.go:162 +0x2b
created by v2ray.com/core/common/task.executeParallel
	/v2ray/src/v2ray.com/core/common/task/task.go:161 +0xd7

goroutine 8327 [select]:
v2ray.com/core/common/task.executeParallel(0xbfdcc0, 0xc007f533b0, 0xc007f545f0, 0x2, 0x2, 0xc007f7fce8, 0x40bf98)
	/v2ray/src/v2ray.com/core/common/task/task.go:176 +0x1ea
v2ray.com/core/common/task.(*executionContext).executeTask(0xc007ee9cc0, 0xc007f54600, 0xc007f7fd18)
	/v2ray/src/v2ray.com/core/common/task/task.go:48 +0x84
v2ray.com/core/common/task.(*executionContext).run(0xc007ee9cc0, 0x1, 0xc007ee9cc0)
	/v2ray/src/v2ray.com/core/common/task/task.go:52 +0x2f
v2ray.com/core/common/task.Run.func1(0xc007f7fe70, 0x2)
	/v2ray/src/v2ray.com/core/common/task/task.go:139 +0x2a
v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process(0xc00010fe90, 0xbfdcc0, 0xc007f533b0, 0x2b7100000002, 0xc018c0, 0xc007f532f0, 0xbfc240, 0xc0000657a0, 0xc007f2d860, 0xc007a59f90)
	/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:137 +0x9cf
v2ray.com/core/app/proxyman/inbound.(*tcpWorker).callback(0xc0001201b0, 0xc018c0, 0xc007f532f0)
	/v2ray/src/v2ray.com/core/app/proxyman/inbound/worker.go:93 +0x3f6
created by v2ray.com/core/app/proxyman/inbound.(*tcpWorker).Start.func1
	/v2ray/src/v2ray.com/core/app/proxyman/inbound/worker.go:109 +0x52

goroutine 8323 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc007ee9800, 0x1, 0x0, 0x0, 0x0, 0x0)
	/v2ray/src/google.golang.org/grpc/internal/transport/controlbuf.go:317 +0x103
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc007f2d800, 0x0, 0x0)
	/v2ray/src/google.golang.org/grpc/internal/transport/controlbuf.go:435 +0x1ac
google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc007f76780)
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:276 +0xcb
created by google.golang.org/grpc/internal/transport.newHTTP2Server
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:273 +0xda1

goroutine 8324 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc007f76780)
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:921 +0x1e4
created by google.golang.org/grpc/internal/transport.newHTTP2Server
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:282 +0xdc6

goroutine 8325 [select]:
v2ray.com/core/transport/pipe.(*pipe).ReadMultiBuffer(0xc007ee9680, 0x7fef, 0x1, 0xc007f86000, 0xc005d73a00, 0xc006a86ba0)
	/v2ray/src/v2ray.com/core/transport/pipe/impl.go:79 +0x102
v2ray.com/core/transport/pipe.(*Reader).ReadMultiBuffer(0xc006a868d0, 0x0, 0x0, 0x8001, 0x11, 0x0)
	/v2ray/src/v2ray.com/core/transport/pipe/reader.go:16 +0x2e
v2ray.com/core/common/buf.(*BufferedReader).Read(0xc007f52d80, 0xc007f86000, 0x8000, 0x8000, 0x11, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/reader.go:58 +0x7b
v2ray.com/core/common/net.(*connection).Read(0xc007f7c140, 0xc007f86000, 0x8000, 0x8000, 0x0, 0x800010601, 0x0)
	/v2ray/src/v2ray.com/core/common/net/connection.go:87 +0x4c
bufio.(*Reader).Read(0xc007f2d620, 0xc007eacd58, 0x9, 0x9, 0x20, 0x0, 0x0)
	/usr/local/go/src/bufio/bufio.go:216 +0x22f
io.ReadAtLeast(0xbf12e0, 0xc007f2d620, 0xc007eacd58, 0x9, 0x9, 0x9, 0xc013479418, 0x1347941800402a5e, 0x5bb0db48)
	/usr/local/go/src/io/io.go:310 +0x88
io.ReadFull(0xbf12e0, 0xc007f2d620, 0xc007eacd58, 0x9, 0x9, 0xbee454b213479418, 0x33bd47c2ef, 0x10ab4c0)
	/usr/local/go/src/io/io.go:329 +0x58
golang.org/x/net/http2.readFrameHeader(0xc007eacd58, 0x9, 0x9, 0xbf12e0, 0xc007f2d620, 0x0, 0x0, 0xc007f7c1f8, 0xc007f83eb0)
	/v2ray/src/golang.org/x/net/http2/frame.go:237 +0x7b
golang.org/x/net/http2.(*Framer).ReadFrame(0xc007eacd20, 0xc006cf6700, 0xc006cf6700, 0x0, 0x0)
	/v2ray/src/golang.org/x/net/http2/frame.go:492 +0xa3
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc007f76780, 0xc007f52ea0, 0xb6d498)
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:429 +0x7c
google.golang.org/grpc.(*Server).serveStreams(0xc000001b00, 0xc025e0, 0xc007f76780)
	/v2ray/src/google.golang.org/grpc/server.go:682 +0xdd
google.golang.org/grpc.(*Server).handleRawConn.func1(0xc000001b00, 0xc025e0, 0xc007f76780)
	/v2ray/src/google.golang.org/grpc/server.go:644 +0x43
created by google.golang.org/grpc.(*Server).handleRawConn
	/v2ray/src/google.golang.org/grpc/server.go:643 +0x57e

goroutine 8328 [chan receive]:
v2ray.com/core/app/commander.(*Outbound).Dispatch(0xc000067100, 0xbfdcc0, 0xc007f533e0, 0xc005e4c0e0)
	/v2ray/src/v2ray.com/core/app/commander/outbound.go:86 +0x207
v2ray.com/core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0xc0000664c0, 0xbfdcc0, 0xc007f533e0, 0xc005e4c0e0, 0xbfe6c0, 0xc0003fd3a8, 0x200400000)
	/v2ray/src/v2ray.com/core/app/dispatcher/default.go:242 +0x9b
created by v2ray.com/core/app/dispatcher.(*DefaultDispatcher).Dispatch
	/v2ray/src/v2ray.com/core/app/dispatcher/default.go:175 +0x215

goroutine 8329 [IO wait]:
internal/poll.runtime_pollWait(0x2b7196cac888, 0x72, 0xc007fa5a38)
	/usr/local/go/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc007eb5898, 0x72, 0xffffffffffffff00, 0xbf3680, 0x1051438)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc007eb5898, 0xc007f2f000, 0x800, 0x800)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc007eb5880, 0xc007f2f000, 0x800, 0x800, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc007eb5880, 0xc007f2f000, 0x800, 0x800, 0xc007f77800, 0xc007fa5bc0, 0x40b70f)
	/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc006a86a40, 0xc007f2f000, 0x800, 0x800, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:177 +0x68
v2ray.com/core/transport/internet.(*StatCouterConnection).Read(0xc007f532f0, 0xc007f2f000, 0x800, 0x800, 0xac9560, 0xc007fa5c10, 0x40bf98)
	/v2ray/src/v2ray.com/core/transport/internet/connection.go:22 +0x55
v2ray.com/core/common/buf.ReadFrom.func1(0xc007f2f000, 0x800, 0x800, 0x5a4b8d, 0xa9b7c0, 0xc005e4cb40)
	/v2ray/src/v2ray.com/core/common/buf/io.go:32 +0x4d
v2ray.com/core/common/buf.(*Buffer).Reset(0xc005e4cb20, 0xc005e4cb40, 0xc005e4cb40, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/buffer.go:67 +0x45
v2ray.com/core/common/buf.readOne(0x2b7196831be8, 0xc007f532f0, 0x603b5c, 0xc007ee9c00, 0xc006a86be8)
	/v2ray/src/v2ray.com/core/common/buf/reader.go:13 +0x7e
v2ray.com/core/common/buf.(*SingleReader).ReadMultiBuffer(0xc007f546a0, 0xc007fa5d40, 0x5a4466, 0xc006a86a68, 0xc006a86be8, 0x1)
	/v2ray/src/v2ray.com/core/common/buf/reader.go:146 +0x3b
v2ray.com/core/common/buf.(*copyHandler).readFrom(0xc007f7c910, 0xbf2580, 0xc007f546a0, 0xc006a86be8, 0x1, 0x1, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:21 +0x38
v2ray.com/core/common/buf.copyInternal(0xbf2580, 0xc007f546a0, 0xbf2b40, 0xc006a86a68, 0xc007f7c910, 0xc007f13601, 0xc005e4c480)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:86 +0x5a
v2ray.com/core/common/buf.Copy(0xbf2580, 0xc007f546a0, 0xbf2b40, 0xc006a86a68, 0xc007f136e0, 0x1, 0x1, 0xc007e66fa0, 0x4)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:109 +0xa8
v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process.func1(0x0, 0x0)
	/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:94 +0x163
v2ray.com/core/common/task.(*executionContext).executeTask(0xc007ee9c80, 0xc007f2d800, 0xa13920)
	/v2ray/src/v2ray.com/core/common/task/task.go:39 +0xaa
v2ray.com/core/common/task.(*executionContext).run(0xc007ee9c80, 0x0, 0x10000c007f54530)
	/v2ray/src/v2ray.com/core/common/task/task.go:52 +0x2f
v2ray.com/core/common/task.Run.func1(0xc007f2d800, 0x0)
	/v2ray/src/v2ray.com/core/common/task/task.go:139 +0x2a
v2ray.com/core/common/task.executeParallel.func1(0xc006a86b40, 0xc007f2dc20, 0xc007f545d0)
	/v2ray/src/v2ray.com/core/common/task/task.go:162 +0x2b
created by v2ray.com/core/common/task.executeParallel
	/v2ray/src/v2ray.com/core/common/task/task.go:161 +0xd7

goroutine 8330 [select]:
v2ray.com/core/transport/pipe.(*pipe).ReadMultiBuffer(0xc007ee9c40, 0xc007f2f000, 0x94, 0x800, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/transport/pipe/impl.go:79 +0x102
v2ray.com/core/transport/pipe.(*Reader).ReadMultiBuffer(0xc006a86ac8, 0xc007f80d80, 0x5a4466, 0xc007f54620, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/transport/pipe/reader.go:16 +0x2e
v2ray.com/core/common/buf.(*copyHandler).readFrom(0xc007f7c780, 0xbf2b20, 0xc006a86ac8, 0xc006a86be0, 0x1, 0x1, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:21 +0x38
v2ray.com/core/common/buf.copyInternal(0xbf2b20, 0xc006a86ac8, 0xbf2560, 0xc007f54620, 0xc007f7c780, 0xc007f13e01, 0xc005e4c180)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:86 +0x5a
v2ray.com/core/common/buf.Copy(0xbf2b20, 0xc006a86ac8, 0xbf2560, 0xc007f54620, 0xc007f13f58, 0x1, 0x1, 0xab6b60, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/copy.go:109 +0xa8
v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process.func2(0x0, 0x0)
	/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:127 +0x35e
v2ray.com/core/common/task.executeParallel.func1(0xc006a86b40, 0xc007f2dc20, 0xc007eb5900)
	/v2ray/src/v2ray.com/core/common/task/task.go:162 +0x2b
created by v2ray.com/core/common/task.executeParallel
	/v2ray/src/v2ray.com/core/common/task/task.go:161 +0xd7

goroutine 8332 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc007ee9dc0, 0x1, 0x0, 0x0, 0x0, 0x0)
	/v2ray/src/google.golang.org/grpc/internal/transport/controlbuf.go:317 +0x103
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc007fc0120, 0x0, 0x0)
	/v2ray/src/google.golang.org/grpc/internal/transport/controlbuf.go:435 +0x1ac
google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc007f77380)
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:276 +0xcb
created by google.golang.org/grpc/internal/transport.newHTTP2Server
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:273 +0xda1

goroutine 8333 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc007f77380)
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:921 +0x1e4
created by google.golang.org/grpc/internal/transport.newHTTP2Server
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:282 +0xdc6

goroutine 8334 [select]:
v2ray.com/core/transport/pipe.(*pipe).ReadMultiBuffer(0xc007ee9c00, 0x7fef, 0x1, 0xc007fa8000, 0xc005e4c540, 0xc006a86bf0)
	/v2ray/src/v2ray.com/core/transport/pipe/impl.go:79 +0x102
v2ray.com/core/transport/pipe.(*Reader).ReadMultiBuffer(0xc006a86a60, 0x0, 0x0, 0x8001, 0x11, 0x0)
	/v2ray/src/v2ray.com/core/transport/pipe/reader.go:16 +0x2e
v2ray.com/core/common/buf.(*BufferedReader).Read(0xc007f53470, 0xc007fa8000, 0x8000, 0x8000, 0x11, 0x0, 0x0)
	/v2ray/src/v2ray.com/core/common/buf/reader.go:58 +0x7b
v2ray.com/core/common/net.(*connection).Read(0xc007f7c820, 0xc007fa8000, 0x8000, 0x8000, 0x0, 0x800010601, 0x0)
	/v2ray/src/v2ray.com/core/common/net/connection.go:87 +0x4c
bufio.(*Reader).Read(0xc007f2df20, 0xc007eacf18, 0x9, 0x9, 0x20, 0x0, 0x0)
	/usr/local/go/src/bufio/bufio.go:216 +0x22f
io.ReadAtLeast(0xbf12e0, 0xc007f2df20, 0xc007eacf18, 0x9, 0x9, 0x9, 0xc01348d631, 0x1348d63100402a5e, 0x5bb0db48)
	/usr/local/go/src/io/io.go:310 +0x88
io.ReadFull(0xbf12e0, 0xc007f2df20, 0xc007eacf18, 0x9, 0x9, 0xbee454b21348d631, 0x33bd49050d, 0x10ab4c0)
	/usr/local/go/src/io/io.go:329 +0x58
golang.org/x/net/http2.readFrameHeader(0xc007eacf18, 0x9, 0x9, 0xbf12e0, 0xc007f2df20, 0x0, 0x0, 0xc007f7c8d8, 0xc007fa4eb0)
	/v2ray/src/golang.org/x/net/http2/frame.go:237 +0x7b
golang.org/x/net/http2.(*Framer).ReadFrame(0xc007eacee0, 0xc006cf6720, 0xc006cf6720, 0x0, 0x0)
	/v2ray/src/golang.org/x/net/http2/frame.go:492 +0xa3
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc007f77380, 0xc007f53590, 0xb6d498)
	/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:429 +0x7c
google.golang.org/grpc.(*Server).serveStreams(0xc000001b00, 0xc025e0, 0xc007f77380)
	/v2ray/src/google.golang.org/grpc/server.go:682 +0xdd
google.golang.org/grpc.(*Server).handleRawConn.func1(0xc000001b00, 0xc025e0, 0xc007f77380)
	/v2ray/src/google.golang.org/grpc/server.go:644 +0x43
created by google.golang.org/grpc.(*Server).handleRawConn
	/v2ray/src/google.golang.org/grpc/server.go:643 +0x57e

客户端错误日志:

    // 在这里附上客户端日志
  1. 请附上访问日志。在 Linux 中,日志通常在 /var/log/v2ray/access.log 文件中。
    // 在这里附上服务器端日志
  1. 其它相关的配置文件(如 Nginx)和相关日志。

  2. 如果 V2Ray 无法启动,请附上 --test 输出。

通常的命令为 /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json。请按实际情况修改。

  1. 如果 V2Ray 服务运行不正常,请附上 journal 日志。

通常的命令为 journalctl -u v2ray

请预览一下你填的内容再提交。

@5high 5high changed the title 客户端dokodemo-door 用tproxy接受流量,几分钟后服务器端就会报错,程序退出。 客户端dokodemo-door 用tproxy接受流量,几分钟后服务器端就会报错,疑似内存泄漏。 Sep 30, 2018
@5high
Copy link
Author

5high commented Sep 30, 2018

现在服务器端降级回3.40,客户端保持3.45用tproxy 接受数据,配置文件未作任何更改,目前稳定运行。

@5high
Copy link
Author

5high commented Oct 1, 2018

3.40也运行异常,现象与3.45相同

@5high
Copy link
Author

5high commented Oct 1, 2018

升级到昨天重新发布的3.45版本,表面看进程一直存在,一但有流量进程会把内存全部吃掉,导致服务死机。

服务器顶死前的日志如下:

Oct 1 17:43:43 instance-1 v2ray[462]: fatal error: runtime: out of memory
Oct 1 17:43:45 instance-1 v2ray[462]: runtime stack:
Oct 1 17:43:45 instance-1 v2ray[462]: runtime.throw(0xb4f898, 0x16)
Oct 1 17:43:46 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/panic.go:608 +0x72
Oct 1 17:43:48 instance-1 v2ray[462]: runtime.sysMap(0xc008000000, 0x4000000, 0x10cafd8)
Oct 1 17:43:51 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/mem_linux.go:156 +0xc7
Oct 1 17:44:02 instance-1 v2ray[462]: runtime.(*mheap).sysAlloc(0x10b1940, 0x4000000, 0x7fa780fbc501, 0x444f986b28)
Oct 1 17:44:45 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/malloc.go:619 +0x1c7
Oct 1 17:46:02 instance-1 v2ray[462]: runtime.(*mheap).grow(0x10b1940, 0x242, 0x0)
Oct 1 17:47:41 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/mheap.go:920 +0x42
Oct 1 17:49:18 instance-1 v2ray[462]: runtime.(*mheap).allocSpanLocked(0x10b1940, 0x242, 0x10cafe8, 0x20300000000000)
Oct 1 17:49:49 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/mheap.go:848 +0x337
Oct 1 17:50:23 instance-1 v2ray[462]: runtime.(*mheap).alloc_m(0x10b1940, 0x242, 0x7fa7833b0100, 0x7fa7812e8d00)
Oct 1 17:51:11 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/mheap.go:692 +0x119
Oct 1 17:52:43 instance-1 v2ray[462]: runtime.(*mheap).alloc.func1()
Oct 1 17:54:11 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/mheap.go:759 +0x4c
Oct 1 17:55:30 instance-1 v2ray[462]: runtime.(*mheap).alloc(0x10b1940, 0x242, 0x7fff4f010100, 0x415cd5)
Oct 1 17:56:51 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/mheap.go:758 +0x8a
Oct 1 17:58:18 instance-1 v2ray[462]: runtime.largeAlloc(0x484000, 0x450001, 0x7fa7833b5000)
Oct 1 17:59:43 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/malloc.go:1019 +0x97
Oct 1 18:01:08 instance-1 v2ray[462]: runtime.mallocgc.func1()
Oct 1 18:02:38 instance-1 v2ray[462]: #11/usr/local/go/src/runtime/malloc.go:914 +0x46

@5high
Copy link
Author

5high commented Oct 3, 2018

还是报错

Oct 3 14:59:26 instance-1 v2ray[472]: #11/usr/local/go/src/net/fd_unix.go:202 +0x4f
Oct 3 14:59:26 instance-1 v2ray[472]: net.(*conn).Read(0xc004d357e8, 0xc00030a000, 0x800, 0x800, 0x0, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/usr/local/go/src/net/net.go:177 +0x68
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.ReadFrom.func1(0xc00030a000, 0x800, 0x800, 0x5a4b8d, 0xa9b7c0, 0xc000db3240)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/io.go:32 +0x4d
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.(*Buffer).Reset(0xc000db3220, 0xc000db3240, 0xc000db3240, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/buffer.go:67 +0x45
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.readOne(0xbf1bc0, 0xc004d357e8, 0xc00027ece8, 0x603b5c, 0xc005771b40)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/reader.go:13 +0x7e
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.(*ReadVReader).ReadMultiBuffer(0xc005634040, 0xc00027ed40, 0x5a4466, 0xc004d35868, 0xc004d35aa0, 0x1)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/readv_reader.go:122 +0x4b
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.(*copyHandler).readFrom(0xc004bcbe50, 0xbf2540, 0xc005634040, 0xc004d35aa0, 0x1, 0x1, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/copy.go:21 +0x38
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.copyInternal(0xbf2540, 0xc005634040, 0xbf2b40, 0xc004d35868, 0xc004bcbe50, 0xc0052f4e01, 0xc000db2940)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/copy.go:86 +0x5a
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.Copy(0xbf2540, 0xc005634040, 0xbf2b40, 0xc004d35868, 0xc0052f4ee0, 0x1, 0x1, 0x91bf4e, 0xbf2b20)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/copy.go:109 +0xa8
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process.func1(0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:94 +0x163
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.(*executionContext).executeTask(0xc005771bc0, 0xc00010dd70, 0xc004d355e8)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:39 +0xaa
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.(*executionContext).run(0xc005771bc0, 0xc0003fd23c, 0xc003859f00)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:52 +0x2f
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.Run.func1(0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:139 +0x2a
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.executeParallel.func1(0xc004d35908, 0xc0058959e0, 0xc004d18dc0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:162 +0x2b
Oct 3 14:59:26 instance-1 v2ray[472]: created by v2ray.com/core/common/task.executeParallel
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:161 +0xd7
Oct 3 14:59:26 instance-1 v2ray[472]: goroutine 21715 [select, 7 minutes]:
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/transport/pipe.(*pipe).ReadMultiBuffer(0xc005771780, 0xc004d35798, 0x1, 0x1, 0x0, 0xc000282d40)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/transport/pipe/impl.go:79 +0x102
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/transport/pipe.(*Reader).ReadMultiBuffer(0xc004d35630, 0xc000282d80, 0x5a4466, 0xc0057a7650, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/transport/pipe/reader.go:16 +0x2e
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.(*copyHandler).readFrom(0xc004bcaff0, 0xbf2b20, 0xc004d35630, 0xc004d35798, 0x1, 0x1, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/copy.go:21 +0x38
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.copyInternal(0xbf2b20, 0xc004d35630, 0xbf2440, 0xc0057a7650, 0xc004bcaff0, 0xc0052f4e01, 0xc000ddd440)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/copy.go:86 +0x5a
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.Copy(0xbf2b20, 0xc004d35630, 0xbf2440, 0xc0057a7650, 0xc0052f4f58, 0x1, 0x1, 0xc0018636c0, 0xc0057a6750)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/copy.go:109 +0xa8
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process.func2(0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:127 +0x35e
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.executeParallel.func1(0xc004d35690, 0xc0058b9440, 0xc003859f00)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:162 +0x2b
Oct 3 14:59:26 instance-1 v2ray[472]: created by v2ray.com/core/common/task.executeParallel
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:161 +0xd7
Oct 3 14:59:26 instance-1 v2ray[472]: goroutine 21736 [select, 7 minutes]:
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/transport/pipe.(*pipe).ReadMultiBuffer(0xc005771dc0, 0x7ff7, 0x1, 0xc005936000, 0xc000db2ea0, 0xc004d35ac0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/transport/pipe/impl.go:79 +0x102
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/transport/pipe.(*Reader).ReadMultiBuffer(0xc004d35938, 0x0, 0x0, 0x8001, 0x9, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/transport/pipe/reader.go:16 +0x2e
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/buf.(*BufferedReader).Read(0xc0056f60c0, 0xc005936000, 0x8000, 0x8000, 0x9, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/buf/reader.go:58 +0x7b
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/net.(*connection).Read(0xc004bcbf40, 0xc005936000, 0x8000, 0x8000, 0x0, 0x10401, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/net/connection.go:87 +0x4c
Oct 3 14:59:26 instance-1 v2ray[472]: bufio.(*Reader).Read(0xc0057f0300, 0xc001863df8, 0x9, 0x9, 0x30, 0x28, 0xadf3a0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/usr/local/go/src/bufio/bufio.go:216 +0x22f
Oct 3 14:59:26 instance-1 v2ray[472]: io.ReadAtLeast(0xbf12e0, 0xc0057f0300, 0xc001863df8, 0x9, 0x9, 0x9, 0xc0056f61e0, 0x402a5e, 0xc001113e3b)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/usr/local/go/src/io/io.go:310 +0x88
Oct 3 14:59:26 instance-1 v2ray[472]: io.ReadFull(0xbf12e0, 0xc0057f0300, 0xc001863df8, 0x9, 0x9, 0x7e4e6a, 0xc0056f63c0, 0xc0056f0004)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/usr/local/go/src/io/io.go:329 +0x58
Oct 3 14:59:26 instance-1 v2ray[472]: golang.org/x/net/http2.readFrameHeader(0xc001863df8, 0x9, 0x9, 0xbf12e0, 0xc0057f0300, 0x0, 0x0, 0xc0056f63c0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/golang.org/x/net/http2/frame.go:237 +0x7b
Oct 3 14:59:26 instance-1 v2ray[472]: golang.org/x/net/http2.(*Framer).ReadFrame(0xc001863dc0, 0xc0056f63c0, 0xc0056f63c0, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/golang.org/x/net/http2/frame.go:492 +0xa3
Oct 3 14:59:26 instance-1 v2ray[472]: google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc0049c2600, 0xc0056f6210, 0xb6d498)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/google.golang.org/grpc/internal/transport/http2_server.go:429 +0x7c
Oct 3 14:59:26 instance-1 v2ray[472]: google.golang.org/grpc.(*Server).serveStreams(0xc000001b00, 0xc025e0, 0xc0049c2600)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/google.golang.org/grpc/server.go:682 +0xdd
Oct 3 14:59:26 instance-1 v2ray[472]: google.golang.org/grpc.(*Server).handleRawConn.func1(0xc000001b00, 0xc025e0, 0xc0049c2600)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/google.golang.org/grpc/server.go:644 +0x43
Oct 3 14:59:26 instance-1 v2ray[472]: created by google.golang.org/grpc.(*Server).handleRawConn
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/google.golang.org/grpc/server.go:643 +0x57e
Oct 3 14:59:26 instance-1 v2ray[472]: goroutine 21748 [chan receive, 7 minutes]:
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/app/commander.(*Outbound).Dispatch(0xc000031240, 0xbfdcc0, 0xc0056f6e10, 0xc000db3f80)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/app/commander/outbound.go:86 +0x207
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0xc000030600, 0xbfdcc0, 0xc0056f6e10, 0xc000db3f80, 0xbfe6c0, 0xc0003fd238, 0x200400000)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/app/dispatcher/default.go:242 +0x9b
Oct 3 14:59:26 instance-1 v2ray[472]: created by v2ray.com/core/app/dispatcher.(*DefaultDispatcher).Dispatch
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/app/dispatcher/default.go:175 +0x215
Oct 3 14:59:26 instance-1 v2ray[472]: goroutine 21712 [select, 7 minutes]:
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.executeParallel(0xbfdcc0, 0xc0057a75c0, 0xc004d18940, 0x2, 0x2, 0xc00027fce8, 0x40bf98)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:176 +0x1ea
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.(*executionContext).executeTask(0xc005771840, 0xc004d18960, 0xc00027fd18)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:48 +0x84
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.(*executionContext).run(0xc005771840, 0x1, 0xc005771840)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:52 +0x2f
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/common/task.Run.func1(0xc00027fe70, 0x2)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/common/task/task.go:139 +0x2a
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/proxy/dokodemo.(*DokodemoDoor).Process(0xc00010dd70, 0xbfdcc0, 0xc0057a75c0, 0x2, 0x7f715fa90af0, 0xc004d355e8, 0xbfc240, 0xc000063780, 0xc003ef8b40, 0xc00400b790)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/proxy/dokodemo/dokodemo.go:137 +0x9cf
Oct 3 14:59:26 instance-1 v2ray[472]: v2ray.com/core/app/proxyman/inbound.(*tcpWorker).callback(0xc00010e1b0, 0x7f715fa90af0, 0xc004d355e8)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/app/proxyman/inbound/worker.go:93 +0x3f6
Oct 3 14:59:26 instance-1 v2ray[472]: created by v2ray.com/core/app/proxyman/inbound.(*tcpWorker).Start.func1
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/v2ray.com/core/app/proxyman/inbound/worker.go:109 +0x52
Oct 3 14:59:26 instance-1 v2ray[472]: goroutine 21730 [select, 7 minutes]:
Oct 3 14:59:26 instance-1 v2ray[472]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc005771fc0, 0x1, 0x0, 0x0, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/google.golang.org/grpc/internal/transport/controlbuf.go:317 +0x103
Oct 3 14:59:26 instance-1 v2ray[472]: google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0057f03c0, 0x0, 0x0)
Oct 3 14:59:26 instance-1 v2ray[472]: #11/v2ray/src/google.golang.org/grpc/internal/transport/controlbuf.go:435
Oct 3 14:59:26 instance-1 v2ray[1358]: V2Ray v3.45 (die Commanderin) 20180928
Oct 3 14:59:26 instance-1 v2ray[1358]: A unified platform for anti-censorship.
Oct 3 14:59:27 instance-1 v2ray[1358]: 2018/10/03 14:59:27 [Warning] Core: V2Ray v3.45 started

@kslr
Copy link
Contributor

kslr commented Jan 20, 2019

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.

Please reopen if you still encounter this issue with the latest stable version. You can also contribute directly by providing a patch – see the developer manual. :)

Thank you!

@kslr kslr closed this as completed Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants