andeya / pholcus

Pholcus is a distributed high-concurrency crawler software written in pure golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

panic: runtime error: invalid memory address or nil pointer dereference

luo3555 opened this issue · comments

Windows 10 32bit

2018/07/02 22:12:02 * 读取代理IP: 7 条
2018/07/02 22:12:02 * 正在筛选在线的代理IP……
Pholcus幽灵蛛数据采集_v1.2.0 (by henrylee2cn)

2018/07/02 22:12:02 [pholcus] Server running on 0.0.0.0:9090
2018/07/02 22:12:02 [pholcus] Open the default browser after two seconds...
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x40133b]

goroutine 46 [running]:
sync/atomic.LoadUint64(0x128a7314, 0x0, 0x128a7300)
D:/software/go/src/sync/atomic/asm_386.s:159 +0xb
github.com/henrylee2cn/pholcus/app/aid/proxy.(*Proxy).findOnline(0x128a7300, 0x1e)
C:/Users/Administrator/go/src/github.com/henrylee2cn/pholcus/app/aid/proxy/proxy.go:116 +0x139
github.com/henrylee2cn/pholcus/app/aid/proxy.(*Proxy).Update(0x128a7300, 0xc25090)
C:/Users/Administrator/go/src/github.com/henrylee2cn/pholcus/app/aid/proxy/proxy.go:91 +0x39d
created by github.com/henrylee2cn/pholcus/app/aid/proxy.New
C:/Users/Administrator/go/src/github.com/henrylee2cn/pholcus/app/aid/proxy/proxy.go:57 +0x18c
exit status 2