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 problem with AdGuardHome #834

Closed
ghost opened this issue Jun 14, 2019 · 1 comment
Closed

Panic problem with AdGuardHome #834

ghost opened this issue Jun 14, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 14, 2019

Steps to reproduce

  1. Start AdGuardHome from crontab at the boot after a sleep of 30 seconds
    2.Wait 1 or 2 minutes

Expected behavior

It start and stay in background

Actual behavior

Stop after 2 minutes

Screenshot:

immagine

Your environment

Description Value
Version of AdGuard Home server: 0.96
How did you setup DNS configuration: Only Router can contact the system for DNS query
If it's a router or IoT, please write device model: BananaPi R2
Operating system and version: Linux bpi-iot-ros-ai 4.14.122-bpi-r2-main #1 SMP Mon May 27 17:16:26 UTC 2019 armv7l GNU/Linux
@szolin
Copy link
Contributor

szolin commented Jun 24, 2019

Can you enable verbose logging? (Set verbose: true in yaml config file.)

I think it crashes because there is a nil dns.RR object inside Extra[] array. Without logs I don't see which code could make such request.

func (dns *Msg) IsEdns0() *OPT {
...
	for i := len(dns.Extra) - 1; i >= 0; i-- {
>>>		if dns.Extra[i].Header().Rrtype == TypeOPT {

@ameshkov ameshkov modified the milestones: v0.97, v0.98 Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants