Giter Club home page Giter Club logo

Comments (2)

aeverj avatar aeverj commented on July 20, 2024

环境: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.

Lizhiyao1 avatar Lizhiyao1 commented on July 20, 2024

环境: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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.