Panic problem with AdGuardHome #765

Closed
opened 2026-03-04 00:47:39 -05:00 by deekerman · 1 comment
Owner

Originally created by @ghost on GitHub (Jun 14, 2019).

Originally assigned to: @szolin on GitHub.

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
Originally created by @ghost on GitHub (Jun 14, 2019). Originally assigned to: @szolin on GitHub. ### Steps to reproduce <!--- Provide a link to a live example or a clear set of steps to reproduce the issue--> 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 <details><summary>Screenshot:</summary> ![immagine](https://user-images.githubusercontent.com/43168947/59496764-702ede80-8e92-11e9-93e3-2c7826535f67.png) </details> ### Your environment <!--- Please include all relevant details about the environment you experienced the bug in --> | 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
Author
Owner

@szolin commented on GitHub (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 {
@szolin commented on GitHub (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 { ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#765
No description provided.