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 during initial setup #7315

Closed
4 tasks done
ainar-g opened this issue Oct 3, 2024 · 0 comments
Closed
4 tasks done

Panic during initial setup #7315

ainar-g opened this issue Oct 3, 2024 · 0 comments
Assignees
Milestone

Comments

@ainar-g
Copy link
Contributor

ainar-g commented Oct 3, 2024

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.53

Action

Run the setup with verbose logging enabled.

Expected result

No panics in the logs.

Actual result

2024/10/03 15:43:43.303621 1038801#76 [error] storage: recovered from panic: runtime error: invalid memory address or nil pointer dereference                                                                                                                                 
goroutine 76 [running]:                                                                                                                
runtime/debug.Stack()                                                                                                                  
        runtime/debug/stack.go:26 +0x5e                                                                                                
runtime/debug.PrintStack()                                                                                                             
        runtime/debug/stack.go:18 +0x13                                                                                                
github.com/AdguardTeam/golibs/log.OnPanic({0xfb3a3b, 0x7})                                                                             
        github.com/AdguardTeam/golibs@v0.27.0/log/log.go:276 +0x11f                                                                    
panic({0xe811e0?, 0x21635d0?})                                                                                                         
        runtime/panic.go:785 +0x132                                                                                                    
github.com/AdguardTeam/AdGuardHome/internal/aghnet.(*HostsContainer).Upd(0x0?)                                                         
        github.com/AdguardTeam/AdGuardHome/internal/aghnet/hostscontainer.go:116                                                       
github.com/AdguardTeam/AdGuardHome/internal/client.(*Storage).handleHostsUpdates(0xc000134480)                                         
        github.com/AdguardTeam/AdGuardHome/internal/client/storage.go:263 +0x73
created by github.com/AdguardTeam/AdGuardHome/internal/client.(*Storage).Start in goroutine 36
        github.com/AdguardTeam/AdGuardHome/internal/client/storage.go:182 +0x96

Additional information and/or screenshots

No response

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

3 participants