ma6254 / FictionDown

小说下载|小说爬取|起点|笔趣阁|导出Markdown|导出txt|转换epub|广告过滤|自动校对
GNU General Public License v3.0
729 stars 145 forks source link

win10管理员运行程序内存溢出 #16

Closed xuancang closed 4 years ago

xuancang commented 4 years ago

FictionDown.exe -i .\一念永恒-耳根-起点中文网.FictionDown s -k 一念永恒 -p panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x18 pc=0x9acbec]

goroutine 1 [running]: github.com/ma6254/FictionDown/site.Type1SearchAfter.func1(0xc00007a0c0, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0) /home/runner/work/FictionDown/FictionDown/site/sites.go:200 +0x24c github.com/ma6254/FictionDown/site.Search(0xc00007a0c0, 0xc, 0xc000163980, 0xc00007a0c0, 0xc, 0xc0000a57a0, 0x4efadf) /home/runner/work/FictionDown/FictionDown/site/site.go:238 +0x13c main.glob..func6(0xc0000b8dc0, 0x100, 0xc0000b8dc0) /home/runner/work/FictionDown/FictionDown/search.go:33 +0x7f github.com/urfave/cli.HandleAction(0xa2c980, 0xb279f0, 0xc0000b8dc0, 0xc000163900, 0x0) /home/runner/go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:490 +0xcf github.com/urfave/cli.Command.Run(0xaf472e, 0x6, 0x0, 0x0, 0x1118610, 0x1, 0x1, 0xb00290, 0x12, 0x0, ...) /home/runner/go/pkg/mod/github.com/urfave/cli@v1.20.0/command.go:210 +0x99d github.com/urfave/cli.(*App).Run(0x1121fc0, 0xc0000ae000, 0x7, 0x8, 0x0, 0x0) /home/runner/go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:255 +0x6b6 main.main() /home/runner/work/FictionDown/FictionDown/main.go:87 +0x125 image