V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  winara  ›  全部回复第 2 页 / 共 2 页
回复总数  21
1  2  
2018-11-15 17:05:34 +08:00
回复了 kisama12 创建的主题 程序员 如何实现三重(多重)代理上网?
@gamexg
TcpRoute2 启动报错,帮忙看下是什么原因 macos10.13.6

TcpRoute2 version 0.5.8
panic: sync: inconsistent mutex state

goroutine 15 [running]:
sync.(*Mutex).Lock(0xc820012060)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/sync/mutex.go:74 +0x16d
math/rand.(*lockedSource).Int63(0xc820012060, 0x0)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/math/rand/rand.go:239 +0x28
math/rand.(*Rand).Int63(0xc8200102c0, 0x6f185)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/math/rand/rand.go:46 +0x39
math/rand.(*Rand).Int(0xc8200102c0, 0x0)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/math/rand/rand.go:56 +0x21
math/rand.Int(0xc8200fc000)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/math/rand/rand.go:183 +0x23
net.exchange(0xc8200f2000, 0xf, 0xc82000e8c0, 0x31, 0xc8200f0001, 0x12a05f200, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/net/dnsclient_unix.go:143 +0x3ec
net.tryOneName(0xc82009c300, 0xc82000e8c0, 0x31, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/net/dnsclient_unix.go:176 +0x425
net.goLookupIPOrder.func1(0xc82009c300, 0xc820011c50, 0xc8200189c0, 0x1)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/net/dnsclient_unix.go:452 +0x59
created by net.goLookupIPOrder
/home/travis/.gimme/versions/go1.5.linux.amd64/src/net/dnsclient_unix.go:454 +0x3ba

goroutine 1 [chan send]:
github.com/go-fsnotify/fsnotify.(*Watcher).Close(0xc8200182a0, 0x0, 0x0)
/home/travis/gopath/src/github.com/go-fsnotify/fsnotify/kqueue.go:92 +0x38a
github.com/gamexg/TcpRoute2/ufile.(*UFile).Close(0xc820052070)
/home/travis/gopath/src/github.com/gamexg/TcpRoute2/ufile/ufile.go:111 +0xb2
github.com/gamexg/TcpRoute2/netchan.(*hostsDns).Config(0xc82000ad20, 0xc820041f18, 0x0, 0x0)
/home/travis/gopath/src/github.com/gamexg/TcpRoute2/netchan/dnschan_hosts.go:155 +0xbdf
main.main()
/home/travis/gopath/src/github.com/GameXG/TcpRoute2/main.go:120 +0x11db

goroutine 5 [syscall]:
syscall.Syscall6(0x16b, 0x3, 0x0, 0x0, 0xc82002be70, 0xa, 0x61a980, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/syscall/asm_darwin_amd64.s:41 +0x5
syscall.kevent(0x3, 0x0, 0x0, 0xc82002be70, 0xa, 0x61a980, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/syscall/zsyscall_darwin_amd64.go:202 +0x77
syscall.Kevent(0x3, 0x0, 0x0, 0x0, 0xc82002be70, 0xa, 0xa, 0x61a980, 0x0, 0x0, ...)
/home/travis/.gimme/versions/go1.5.linux.amd64/src/syscall/syscall_bsd.go:447 +0x94
github.com/go-fsnotify/fsnotify.read(0x3, 0xc82002be70, 0xa, 0xa, 0x61a980, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/go-fsnotify/fsnotify/kqueue.go:492 +0x8d
github.com/go-fsnotify/fsnotify.(*Watcher).readEvents(0xc8200182a0)
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1073 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 9ms · UTC 23:29 · PVG 07:29 · LAX 15:29 · JFK 18:29
Developed with CodeLauncher
♥ Do have faith in what you're doing.