[GH-ISSUE #5610] NetBird UI crashes with SIGSEGV on macOS 26.3.2 (Tahoe) - outdated go-m1cpu dependency #11541

Closed
opened 2026-08-05 01:29:59 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @liborpolansky on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5610

Description

NetBird UI (/Applications/NetBird.app) crashes immediately on launch with SIGSEGV (segmentation violation) on macOS 26.3.2 Tahoe (Apple Silicon arm64). The CLI daemon works correctly.

Environment

  • OS: macOS 26.3.2 (Build 25D2140), Apple Silicon (darwin/arm64)
    • NetBird version: 0.66.4 (daemon + CLI)
      • Installation method: DMG package

Steps to reproduce

  1. Install NetBird from DMG on macOS 26 Tahoe
    1. Run netbird up via CLI (connects successfully)
    1. Launch /Applications/NetBird.app — crashes immediately

Crash log (truncated)

SIGSEGV: segmentation violation
PC=0x18c5094f8 m=0 sigcode=2 addr=0x0
signal arrived during cgo execution

goroutine 1:
runtime.cgocall(...)
github.com/shoenig/go-m1cpu._Cfunc_initialize()
github.com/shoenig/go-m1cpu.init.0()
  /Users/runner/go/pkg/mod/github.com/shoenig/go-m1cpu@v0.1.6/cpu.go:148

Root cause

This is a known bug in go-m1cpu v0.1.6 which has been fixed upstream:

Suggested fix

Update the go-m1cpu dependency to the latest version that includes the fix from PR #26 and #27.

Workaround

CLI (netbird up / netbird down / netbird status) works correctly. Only the GUI is affected.

Originally created by @liborpolansky on GitHub (Mar 17, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5610 ## Description NetBird UI (`/Applications/NetBird.app`) crashes immediately on launch with SIGSEGV (segmentation violation) on macOS 26.3.2 Tahoe (Apple Silicon arm64). The CLI daemon works correctly. ## Environment - **OS:** macOS 26.3.2 (Build 25D2140), Apple Silicon (darwin/arm64) - - **NetBird version:** 0.66.4 (daemon + CLI) - - - **Installation method:** DMG package ## Steps to reproduce 1. Install NetBird from DMG on macOS 26 Tahoe 2. 2. Run `netbird up` via CLI (connects successfully) 3. 3. Launch `/Applications/NetBird.app` — crashes immediately ## Crash log (truncated) ``` SIGSEGV: segmentation violation PC=0x18c5094f8 m=0 sigcode=2 addr=0x0 signal arrived during cgo execution goroutine 1: runtime.cgocall(...) github.com/shoenig/go-m1cpu._Cfunc_initialize() github.com/shoenig/go-m1cpu.init.0() /Users/runner/go/pkg/mod/github.com/shoenig/go-m1cpu@v0.1.6/cpu.go:148 ``` ## Root cause This is a known bug in `go-m1cpu` v0.1.6 which has been fixed upstream: - https://github.com/shoenig/go-m1cpu/issues/25 - - https://github.com/shoenig/go-m1cpu/pull/26 - - - https://github.com/shoenig/go-m1cpu/pull/27 The library crashes on newer Apple Silicon chips / macOS versions due to missing null checks when accessing IOKit properties. ## Suggested fix Update the `go-m1cpu` dependency to the latest version that includes the fix from PR #26 and #27. ## Workaround CLI (`netbird up` / `netbird down` / `netbird status`) works correctly. Only the GUI is affected.
Author
Owner

@maxpain commented on GitHub (Mar 17, 2026):

The same problem on M5 Max

<!-- gh-comment-id:4074317887 --> @maxpain commented on GitHub (Mar 17, 2026): The same problem on M5 Max
Author
Owner

@chriskaepsele commented on GitHub (Mar 17, 2026):

Happening on M5 Pro as well.

<!-- gh-comment-id:4075302867 --> @chriskaepsele commented on GitHub (Mar 17, 2026): Happening on M5 Pro as well.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#11541