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

后端意外挂掉 #7

Open
OhYee opened this issue Jun 2, 2022 · 0 comments
Open

后端意外挂掉 #7

OhYee opened this issue Jun 2, 2022 · 0 comments

Comments

@OhYee
Copy link
Owner

OhYee commented Jun 2, 2022

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xc1032d]

goroutine 22 [running]:
github.com/chromedp/chromedp.initContextBrowser({0x1f0b0c8, 0xc00007ba40})
        /go/pkg/mod/github.com/chromedp/chromedp@v0.7.4/chromedp.go:253 +0xcd
github.com/chromedp/chromedp.Run({0x1f0b0c8, 0xc00007ba40}, {0xc000a89cc0, 0x2, 0x2})
        /go/pkg/mod/github.com/chromedp/chromedp@v0.7.4/chromedp.go:265 +0x36
github.com/OhYee/blotter/cron/spider.getHTMLWithJS({0xc0010fcf20, 0x1e})
        /data/blotter/cron/spider/request.go:108 +0x645
github.com/OhYee/blotter/cron/spider.Do({0xc0010fcf20, 0xc000a89e98}, 0x1)
        /data/blotter/cron/spider/spider.go:23 +0x94
github.com/OhYee/blotter/cron.spiderSite({{{0xc000e3a9f0, 0x17}, {0xc0011456f0, 0x6}}, {0xc0015df050, 0x2d}, {0xc0015df080, 0x24}, {0xc0010fcf20, 0x1e}, ...}, ...)
        /data/blotter/cron/spider.go:29 +0x23a
github.com/OhYee/blotter/cron.Spider.func1.1()
        /data/blotter/cron/spider.go:117 +0x58
github.com/OhYee/blotter/utils/goroutine_pool.(*Pool).Thread(0xc00006bcc0)
        /data/blotter/utils/goroutine_pool/pool.go:29 +0x3d
created by github.com/OhYee/blotter/utils/goroutine_pool.New
        /data/blotter/utils/goroutine_pool/pool.go:19 +0x72
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

1 participant