v0.16.0-beta2 crashes immediately on Ubuntu 21.10 #273

Closed
opened 2025-12-29 01:25:37 +01:00 by adam · 1 comment
Owner

Originally created by @tonirug on GitHub (Jun 11, 2022).

Issue description

Headscale 0.16.0-beta2 crashes at launch on Ubuntu 21.10
Version 0.16.0-beta1 works fine.
Just to let you know. I just want to remote CLI my server from this workstation, so I am ok with beta1.

To Reproduce

toni@e14:~/Scaricati$ ./headscale_0.16.0-beta2_linux_amd64
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0x102cfa7]

goroutine 1 [running]:
main.main()
/home/runner/work/headscale/headscale/cmd/headscale/headscale.go:53 +0x2a7

Context info

  • Headscale v0.16.0.beta2
  • Ubuntu:
    toni@e14:~$ uname -a
    Linux e14 5.13.0-48-generic #54-Ubuntu SMP Wed Jun 1 20:38:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

toni@e14:~$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish

Originally created by @tonirug on GitHub (Jun 11, 2022). **Issue description** Headscale 0.16.0-beta2 crashes at launch on Ubuntu 21.10 Version 0.16.0-beta1 works fine. Just to let you know. I just want to remote CLI my server from this workstation, so I am ok with beta1. **To Reproduce** toni@e14:~/Scaricati$ ./headscale_0.16.0-beta2_linux_amd64 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0x102cfa7] goroutine 1 [running]: main.main() /home/runner/work/headscale/headscale/cmd/headscale/headscale.go:53 +0x2a7 **Context info** - Headscale v0.16.0.beta2 - Ubuntu: toni@e14:~$ uname -a Linux e14 5.13.0-48-generic #54-Ubuntu SMP Wed Jun 1 20:38:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux toni@e14:~$ lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 21.10 Release: 21.10 Codename: impish
adam added the bug label 2025-12-29 01:25:37 +01:00
adam closed this issue 2025-12-29 01:25:38 +01:00
Author
Owner

@tonirug commented on GitHub (Jun 11, 2022):

Hi, it works fine on v0.16.0-beta3.

@tonirug commented on GitHub (Jun 11, 2022): Hi, it works fine on v0.16.0-beta3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#273