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

segmentation violation error #1348

Closed
dogadmin opened this issue Sep 8, 2023 · 2 comments · Fixed by projectdiscovery/asnmap#175 or #1378
Closed

segmentation violation error #1348

dogadmin opened this issue Sep 8, 2023 · 2 comments · Fixed by projectdiscovery/asnmap#175 or #1378
Assignees
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

@dogadmin
Copy link

dogadmin commented Sep 8, 2023

[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x782d0c]

goroutine 10539199 [running]:
net/http.(*Client).do(0x1d8aa20?, 0x0)
        /opt/hostedtoolcache/go/1.20.5/x64/src/net/http/client.go:591 +0xcc
net/http.(*Client).Do(...)
        /opt/hostedtoolcache/go/1.20.5/x64/src/net/http/client.go:582
github.com/projectdiscovery/asnmap/libs.Client.makeRequest({0xc0001ca360, {{0x1d83bc0, 0xc000332000}, 0x0, {0x0, 0x0}, 0x0}})
        /home/runner/go/pkg/mod/github.com/projectdiscovery/[email protected]/libs/client.go:153 +0x13c
github.com/projectdiscovery/asnmap/libs.Client.GetData({0xc0001ca360, {{0x1d83bc0, 0xc000332000}, 0x0, {0x0, 0x0}, 0x0}}, {0xc00a0c3f40, 0xe}, {0x0, ...})
        /home/runner/go/pkg/mod/github.com/projectdiscovery/[email protected]/libs/client.go:187 +0x313
github.com/projectdiscovery/httpx/runner.(*Runner).analyze(_, _, {_, _}, {{0xc009921f40, 0x1a}, {0x0, 0x0}, {0x0, 0x0}}, ...)
        /home/runner/work/httpx/httpx/runner/runner.go:1602 +0x440f
github.com/projectdiscovery/httpx/runner.(*Runner).process.func1({{0xc009921f40, 0x1a}, {0x0, 0x0}, {0x0, 0x0}}, {0x1429175?, 0x0?}, {0x145dde8, 0xa})
        /home/runner/work/httpx/httpx/runner/runner.go:1107 +0x13b
created by github.com/projectdiscovery/httpx/runner.(*Runner).process
        /home/runner/work/httpx/httpx/runner/runner.go:1105 +0x898
@dogadmin dogadmin added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Sep 8, 2023
@dogancanbakir dogancanbakir self-assigned this Sep 12, 2023
@dogancanbakir
Copy link
Member

@dogadmin,
Could you please provide me with the steps to reproduce the issue so I can understand it better?

@ehsandeep ehsandeep changed the title runing error segmentation violation error Sep 12, 2023
@dogadmin
Copy link
Author

Using the -l parameter, the issue arises when a single text file exceeds five million lines.

@tarunKoyalwar tarunKoyalwar linked a pull request Sep 21, 2023 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Oct 11, 2023
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
3 participants