yubikong / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

runtime error #388

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
2013/03/11 13:06:28 hosts.go:156: Init AutoHost.
2013/03/11 13:06:28 google.go:265: Init Google.
2013/03/11 13:06:28 c4.go:473: Init C4.
2013/03/11 13:06:28 c4.go:462: UserToken is sssssssssssssssssssss
panic: runtime error: integer divide by zero
[signal 0xc0000094 code=0x0 addr=0x0 pc=0x458bb4]

goroutine 1 [running]:
proxy.(*httpTunnelService).writeEvent(0x128ad160, 0x127e1ed0, 0x128ad1c0)
        C:/Src/GoProjects/gsnova/src/proxy/c4_http.go:152 +0x3f
proxy.httpOfferEvent(0x128b0450, 0x2a, 0x127e1ed0, 0x128ad1c0)
        C:/Src/GoProjects/gsnova/src/proxy/c4_http.go:158 +0x42
proxy.(*C4RemoteSession).offerRequestEvent(0x128b0420, 0x127e1ed0, 0x128ad1c0)
        C:/Src/GoProjects/gsnova/src/proxy/c4.go:143 +0x11f
proxy.(*C4).loginC4(0x12850e10, 0x128b0450, 0x2a)
        C:/Src/GoProjects/gsnova/src/proxy/c4.go:358 +0xa9
proxy.(*C4).Init(0x12850e10, 0x12850e10, 0x12887500)
        C:/Src/GoProjects/gsnova/src/proxy/c4.go:513 +0x608
main.main()
        C:/Src/GoProjects/gsnova/src/main/launch.go:84 +0x1f5

goroutine 2 [syscall]:
created by runtime.main
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/proc.c:221

goroutine 3 [sleep]:
time.Sleep(0x2a05f200, 0x1)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/ztime_386.c:21 +0x50
proxy.fetchCloudHosts(0x12842a0b, 0x42)
        C:/Src/GoProjects/gsnova/src/proxy/local_hosts.go:55 +0x37
created by proxy.InitHosts
        C:/Src/GoProjects/gsnova/src/proxy/hosts.go:147 +0x7d

goroutine 4 [syscall]:
created by addtimer
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/ztime_386.c:72

goroutine 5 [syscall]:
syscall.Syscall(0x74f1e84a, 0x1, 0x128e0a80, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/zsyscall_windows_386.c:74 +0x49
syscall.GetHostByName(0x128e09e0, 0x19, 0x0, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/sysca
ll/zsyscall_windows_386.go:1405 +0x93
net.lookupIP(0x128e09e0, 0x19, 0x0, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/l
ookup_windows.go:46 +0x79
net.LookupIP(0x128e09e0, 0x19, 0x0, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/d
oc.go:16 +0x3c
net.lookupHost(0x128e09e0, 0x19, 0x0, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/l
ookup_windows.go:32 +0x42
net.LookupHost(0x128e09e0, 0x19, 0x0, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/d
oc.go:10 +0x3c
net.hostPortToIP(0x67bd24, 0x3, 0x128e09e0, 0x1d, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/i
psock.go:120 +0x182
net.ResolveTCPAddr(0x67bd24, 0x3, 0x128e09e0, 0x1d, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/t
cpsock.go:31 +0x36
net.resolveNetAddr(0x681998, 0x4, 0x67bd24, 0x3, 0x128e09e0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/d
ial.go:50 +0x35c
net.Dial(0x67bd24, 0x3, 0x128e09e0, 0x1d, 0x128554c0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/d
ial.go:92 +0x43
net/http.(*Transport).dial(0x1283d640, 0x67bd24, 0x3, 0x128e09e0, 0x1d, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/transport.go:305 +0xa5
net/http.(*Transport).getConn(0x1283d640, 0x128e0a00, 0x128e0a00, 0x0)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/transport.go:317 +0xa6
net/http.(*Transport).RoundTrip(0x1283d640, 0x128a30e0, 0x41657e, 0x0, 0x0, ...)

        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/transport.go:156 +0x23a
net/http.send(0x128a30e0, 0x12855d60, 0x1283d640, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/client.go:140 +0x31e
net/http.(*Client).doFollowingRedirects(0x8b7034, 0x128a30e0, 0x0, 0x0, 0x0, ...
)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/client.go:251 +0x5e4
net/http.(*Client).Get(0x8b7034, 0x12842a62, 0x31, 0x1, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/client.go:200 +0x85
net/http.Get(0x12842a62, 0x31, 0x67a038, 0x0, 0x0, ...)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/net/h
ttp/client.go:177 +0x3f
util.HttpGet(0x12842a62, 0x31, 0x67a02c, 0x0, 0x0, ...)
        C:/Src/GoProjects/gsnova/src/util/http.go:81 +0x50
proxy.loadHostFile()
        C:/Src/GoProjects/gsnova/src/proxy/hosts.go:86 +0xe3
created by proxy.InitHosts
        C:/Src/GoProjects/gsnova/src/proxy/hosts.go:195 +0x699

goroutine 6 [sleep]:
time.Sleep(0x2a05f200, 0x1)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/ztime_386.c:21 +0x50
proxy.generatePACFromGFWList(0x12842aa8, 0x3e)
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:365 +0x37
created by proxy.InitSpac
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:421 +0x27b

goroutine 7 [sleep]:
time.Sleep(0x2a05f200, 0x1)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/ztime_386.c:21 +0x50
proxy.fetchCloudSpacScript(0x12842afa, 0x41)
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:322 +0x37
created by proxy.InitSpac
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:429 +0x31c

goroutine 8 [sleep]:
time.Sleep(0x2a05f200, 0x1)
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/ztime_386.c:21 +0x50
proxy.loadIPRangeFile(0x1283ec8c, 0x3d)
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:343 +0x4a
created by proxy.InitSpac
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:432 +0x391

goroutine 9 [finalizer wait]:
created by runtime.gc
        C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist721200707/go/src/pkg/runti
me/mgc0.c:882

goroutine 10 [chan receive]:
proxy.reloadSpacScript()
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:79 +0xa1
created by proxy.InitSpac
        C:/Src/GoProjects/gsnova/src/proxy/spac.go:439 +0x3b1

Original issue reported on code.google.com by pazz7ven on 11 Mar 2013 at 5:09

GoogleCodeExporter commented 8 years ago
MaxConn被改成0了

Original comment by yinqiwen@gmail.com on 11 Mar 2013 at 5:12