Comments (2)
环境:Go version go1.17.5 windows/amd64 运行时出现以下错误,查阅资料无法解决:
`panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x90 pc=0x11a0e30]
goroutine 45097 [running]: regexp.(*Regexp).doExecute(0xc0000d56c0, {0x0, 0x0}, {0xc000451760, 0xc000559c70, 0xfdafb0}, {0x0, 0x115cf01}, 0x12c1ee0, 0x0, ...) E:/GoLang/src/regexp/exec.go:527 +0x90 regexp.(*Regexp).doMatch(...) E:/GoLang/src/regexp/exec.go:514 regexp.(*Regexp).Match(...) E:/GoLang/src/regexp/regexp.go:531 github.com/x/x/pkg/wappalyzer.hasapp(0xc0007def50, 0xc0009ec060) E:/tools/webinfo/weblive/pkg/wappalyzer/getFinger.go:195 +0x7fc github.com/x/x/pkg/wappalyzer.(*wappalyzer).Analyze(0xc00022a6f0, 0xc0007def50) E:/tools/webinfo/weblive/pkg/wappalyzer/getFinger.go:247 +0xa7 main.main.func3({0xc000012378, 0x0}) E:/tools/webinfo/weblive/webinfo.go:110 +0x174 created by main.main E:/tools/webinfo/weblive/webinfo.go:103 +0x65d`
问题出现在getFinger.go:195
好像是正则匹配的时候出的问题
正则是在app.json中保存的,可能是app.json内容有问题,重新下载app.json试试
from weblive.
环境:Go version go1.17.5 windows/amd64 运行时出现以下错误,查阅资料无法解决:
panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x90 pc=0x11a0e30] goroutine 45097 [running]: regexp.(*Regexp).doExecute(0xc0000d56c0, {0x0, 0x0}, {0xc000451760, 0xc000559c70, 0xfdafb0}, {0x0, 0x115cf01}, 0x12c1ee0, 0x0, ...) E:/GoLang/src/regexp/exec.go:527 +0x90 regexp.(*Regexp).doMatch(...) E:/GoLang/src/regexp/exec.go:514 regexp.(*Regexp).Match(...) E:/GoLang/src/regexp/regexp.go:531 github.com/x/x/pkg/wappalyzer.hasapp(0xc0007def50, 0xc0009ec060) E:/tools/webinfo/weblive/pkg/wappalyzer/getFinger.go:195 +0x7fc github.com/x/x/pkg/wappalyzer.(*wappalyzer).Analyze(0xc00022a6f0, 0xc0007def50) E:/tools/webinfo/weblive/pkg/wappalyzer/getFinger.go:247 +0xa7 main.main.func3({0xc000012378, 0x0}) E:/tools/webinfo/weblive/webinfo.go:110 +0x174 created by main.main E:/tools/webinfo/weblive/webinfo.go:103 +0x65d
问题出现在getFinger.go:195 好像是正则匹配的时候出的问题 正则是在app.json中保存的,可能是app.json内容有问题,重新下载app.json试试
已解决,非常感谢
from weblive.
Related Issues (5)
- 在出现panic 解析host出错的时候不输出文件 HOT 1
- https://与http:// HOT 1
- 无法找到文件apps.json HOT 2
- 生成的csv表格,Title列表中文乱码,状态码前进到上一列 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weblive.