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

[Issue] - Go: panic: runtime error: invalid memory address or nil pointer dereference #290

Closed
nikammarafiy opened this issue May 28, 2021 · 5 comments · Fixed by #295 or #296
Closed
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@nikammarafiy
Copy link

Received an error below when running the command:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x887433]
goroutine 26 [running]:
github.com/projectdiscovery/httpx/runner.(*Runner).analyze(0xc0001a2240, 0xc0000714a0, 0x98191a, 0xa, 0xc00186e060, 0x12, 0x97bbce, 0x3, 0xc0001a2258, 0x0, ...)
/home/nxxx/go/pkg/mod/github.com/projectdiscovery/[email protected]/runner/runner.go:555 +0x173
github.com/projectdiscovery/httpx/runner.(*Runner).process.func1(0xc000062140, 0xc0001a2240, 0xc0000714a0, 0xc0001a2258, 0xc000be5ec0, 0xc00186e060, 0x12, 0x97bbce, 0x3, 0x98191a, ...)
/home/nxxx/go/pkg/mod/github.com/projectdiscovery/[email protected]/runner/runner.go:463 +0xe5
created by github.com/projectdiscovery/httpx/runner.(*Runner).process
/home/nxxx/go/pkg/mod/github.com/projectdiscovery/[email protected]/runner/runner.go:461 +0x54a

@ehsandeep
Copy link
Member

@nikammarafiy thanks for reporting, do you have an example cmd to reproduce this?

@ehsandeep ehsandeep added Status: Review Needed The issue has a PR attached to it which needs to be reviewed Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. labels May 28, 2021
@ehsandeep ehsandeep changed the title Error - Go: panic: runtime error: invalid memory address or nil pointer dereference [Issue] - Go: panic: runtime error: invalid memory address or nil pointer dereference May 28, 2021
@nikammarafiy
Copy link
Author

@nikammarafiy thanks for reporting, do you have an example cmd to reproduce this?

Example cmd below:

httpx -l /nxxx/urllist.txt -no-fallback -o /nxxx/result.txt

@Krosskid12
Copy link

@nikammarafiy thanks for reporting, do you have an example cmd to reproduce this?
image
Hiii i have got same error

Mzack9999 added a commit that referenced this issue May 31, 2021
@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Status: Review Needed The issue has a PR attached to it which needs to be reviewed labels May 31, 2021
@ehsandeep ehsandeep linked a pull request May 31, 2021 that will close this issue
@ehsandeep
Copy link
Member

@nikammarafiy @Krosskid12 this is now fixed in the latest release.

@nikammarafiy
Copy link
Author

nikammarafiy commented May 31, 2021

@nikammarafiy @Krosskid12 this is now fixed in the latest release.

thank you @ehsandeep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants