Skip to content

crash: SIGSEGV in TabManager.addWorkspace on fresh launch (nil deref at 0x10) #124

@Jesssullivan

Description

@Jesssullivan

Crash

EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x0000000000000010 on app launch.

Thread 0 Crashed:
0  cmux  closure #1 in TabManager.addWorkspace(...) + 276
1  cmux  TabManager.addWorkspace(...) + 336
2  cmux  closure #1 in SidebarEmptyArea.body.getter + 228

Context

  • Version: 0.72.0 (build 82) — lab-v0.73.0 DMG
  • macOS 26.4 (25E246), Mac17,5 (MacBook), Apple A18 Pro
  • Fresh install from Nix store → ditto copy to ~/Applications/
  • App support dirs cleaned (com.cmuxterm.app.debug removed, .lab preserved)
  • Crash occurs 10 seconds after launch when creating initial workspace

Root Cause

x21 = 0x0 (nil) → offset 0x10 access → SIGSEGV. The TabManager or a property it accesses during workspace creation is nil.

Possible Fix

PR #110 "fix embedded OpenGL init segfault" and PR #114 "fix renderer thread GL bindings" may address this. Release lab-v0.74.0 triggered to test.

Full crash report

Available on request (125KB).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmacos

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions