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

mgr.go:142 +0x5ff panic: runtime error: invalid memory address or nil pointer dereference #31

Open
crmrbls opened this issue Nov 19, 2024 · 0 comments

Comments

@crmrbls
Copy link

crmrbls commented Nov 19, 2024

Error Code

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

goroutine 1 [running]:
main.main()
        /mnt/container/server/zerotier-systemd-manager/mgr.go:142 +0x5ff

How to reproduce

  • cloning the repo as usual
  • installing latest golang i have in my distro go1.18.1 linux/amd64
  • preparing authtoken.secret into /var/lib/zerotier-cli/
  • enabling systemd-network service via sudo systemctl enable systemd-network
  • go generate then go build the cloned repo
  • run the build as sudo

Neofetch

           `.:/ossyyyysso/:.               ggktm@ggktm-3585 
        .:oyyyyyyyyyyyyyyyyyyo:`           ---------------- 
      -oyyyyyyyodMMyyyyyyyysyyyyo-         OS: Kubuntu 22.04.5 LTS x86_64 
    -syyyyyyyyyydMMyoyyyydmMMyyyyys-       Host: Inspiron 5575 1.3.3 
   oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo     Kernel: 6.8.0-48-generic 
 `oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo`    Uptime: 50 mins 
 oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo    Packages: 3653 (dpkg), 39 (flatpak), 15 (snap) 
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Shell: bash 5.1.16 
oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo   Resolution: 1366x768 
yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy   DE: Plasma 5.24.7 
yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy   WM: kwin 
oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo   Theme: [Plasma], Breeze [GTK2/3] 
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-   Icons: [Plasma], breeze-dark [GTK2/3] 
 oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo    Terminal: vscode 
 `oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo     CPU: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (4) @ 2.500GHz 
   oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo      GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
    -syyyyyyyyydMMMysyyydMMMysyyyys-       Memory: 3127MiB / 13866MiB 
      -oyyyyyyydMMyyyyyyysosyyyyo-
        ./oyyyyyyyyyyyyyyyyyyo/.                                   
           `.:/oosyyyysso/:.`                                      
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

1 participant