Hi!
I upgraded my system to openbsd 7.5 today and headscale to headscale-0.22.1.
With openbsd 7.4, everything was running fine.
Now I get a segfault when I try to run headscale (see below).
I know nothing about golang so it's a bit hard to debug.
I tried to compile the software manually with "go build" with different
options. I seems to compile fine but it doesn't generate a runnable binary.
I wonder if you can reproduce on 7.5.
$ sudo -u _headscale headscale serve
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16ad5e8]
goroutine 1 [running]:
modernc.org/libc.(*TLS).setErrno(0x1c59020?, {0x292f80?, 0x656220?})
modernc.org/libc@v1.22.2/etc.go:189 +0xa8
modernc.org/libc.Xmalloc(0x0, 0x334ec0?)
modernc.org/libc@v1.22.2/mem.go:34 +0xc5
modernc.org/libc.init()
modernc.org/libc@v1.22.2/libc_openbsd.go:49 +0x2a9
Best regards,
Jona JOACHIM