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

panic in SOACheck #16

Open
Niko78 opened this issue Jul 21, 2023 · 1 comment
Open

panic in SOACheck #16

Niko78 opened this issue Jul 21, 2023 · 1 comment

Comments

@Niko78
Copy link

Niko78 commented Jul 21, 2023

hi,
great app and hope to get update soon with more features ;-)

When I check an internal domain I get a panic in soacheck

...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x69e069]

goroutine 1 [running]:
github.com/42wim/dt/check.(*SOACheck).Values(0xc000198460, 0x0, 0x0, 0x0)
/root/go/src/github.com/42wim/dt/check/soa.go:154 +0xe9
github.com/42wim/dt/check.(*SOACheck).CreateReport(0xc000198460, 0x7ffeb60f3697, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/42wim/dt/check/soa.go:193 +0x13b
main.execCheckers(0xc00004a860, 0x7ffeb60f3697, 0x12, 0xc0000bee00, 0x2, 0x2, 0xc00009cd90)
/root/go/src/github.com/42wim/dt/main.go:107 +0x413
main.doDomainReport(0xc00004a860, 0x7ffeb60f3697, 0x12, 0xc0000bee00, 0x2, 0x2, 0xc00009cd90)
/root/go/src/github.com/42wim/dt/main.go:125 +0x1c0
main.main()
/root/go/src/github.com/42wim/dt/main.go:91 +0x1ea

thanks

@Tachi107
Copy link

Same issue here!

$ ~/go/bin/dt -scan -resolver 127.0.0.53 pappacoda.it      
using 127.0.0.53 as resolver

NS                       |IP             |LOC |ASN     |ISP               |rtt   |Serial
rory.ns.cloudflare.com.  |162.159.44.166 |US  |AS13335 |CLOUDFLARENET, US |error |error |error |
april.ns.cloudflare.com. |172.64.32.66   |US  |AS13335 |CLOUDFLARENET, US |error |error |error |

NS |IP |Version |DNSSEC |ValidFrom |ValidUntil
...panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x646c6b]

goroutine 1 [running]:
github.com/42wim/dt/check.(*SOACheck).Values(0xc00010fb20)
	/home/tachi/go/pkg/mod/github.com/42wim/[email protected]/check/soa.go:154 +0x8b
github.com/42wim/dt/check.(*SOACheck).CreateReport(0xc00010fb20, {0x7ffe73b2907e?, 0xc?})
	/home/tachi/go/pkg/mod/github.com/42wim/[email protected]/check/soa.go:193 +0x178
main.execCheckers(0xc00002c160, {0x7ffe73b2907e, 0xc}, {0xc000188a80, 0x2, 0x2}, 0xc00010eb60)
	/home/tachi/go/pkg/mod/github.com/42wim/[email protected]/main.go:107 +0x4f5
main.doDomainReport(0xc00002c160?, {0x7ffe73b2907e, 0xc}, {0xc00011ac00?, 0x2?, 0x440f3c?}, 0xc00010eb60)
	/home/tachi/go/pkg/mod/github.com/42wim/[email protected]/main.go:125 +0x198
main.main()
	/home/tachi/go/pkg/mod/github.com/42wim/[email protected]/main.go:91 +0x205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants