Skip to content

[Bug]: Privileged helper crashes repeatedly on macOS 26 (Sequoia) - nginx fails to bind ports 80/443 #1616

@nima-champ

Description

@nima-champ

Platform

macOS

Operating system version

macOS version: 26.2 (Build 25C56)

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.24.2

PHP Version

PHP 8.3

Bug description

After upgrading to macOS 26.2 (Sequoia), the Herd privileged helper (de.beyondco.herd.helper) crashes immediately on startup, preventing nginx from binding to ports 80 and 443. The herd restart command reports success but nginx never starts.

  • herd restart says "Herd services have been restarted" but nothing listens on 80/443
  • lsof -nP -iTCP:80 -sTCP:LISTEN returns empty
  • nginx -t fails with: bind() to 127.0.0.1:80 failed (13: Permission denied)
  • Helper shows repeated crashes in launchctl print system/de.beyondco.herd.helper:
  state = not running
  runs = 19
  successive crashes = 19
  last terminating signal = Trace/BPT trap: 5

From /Library/Logs/DiagnosticReports/de.beyondco.herd.helper-*.ips:

"asi" : {"libdispatch.dylib":["BUG IN CLIENT OF LIBDISPATCH: dispatch_sync called on queue already owned by current thread"]}

"exception" : {"codes":"0x0000000000000001, 0x000000019f094c94","rawCodes":[1,6963154068],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"}

"termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace/BPT trap: 5","byProc":"exc handler","byPid":36589}

The crash occurs in the call stack involving:

  • XPMalwareEvaluation (XProtect framework)
  • InterpreterSecurity_ScanBuffer
  • NSAppleScript compileAndReturnError:
  • dispatch_sync_f_slow → triggers the libdispatch assertion

Steps to reproduce

  1. Install Herd on macOS 26.2
  2. Run herd restart
  3. Check lsof -nP -iTCP:80 -sTCP:LISTEN - nothing listening
  4. Check launchctl print system/de.beyondco.herd.helper - shows successive crashes

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions