[Bug]: macOS crash persists in Herd 2.0.3 after preferences reset — possible SecureDefaults key access failure
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
Direzione di ricerca
The payload names no source files or tests, only a native macOS crash with SIGTRAP at image-relative offsets and a question about SecureDefaults licence storage. Start by reading the referenced comment on #1036 and the crash report, then check whether the offsets can be symbolicated against the 2.0.3 binary. Done would mean a confirmed root cause or a maintainer-approved recovery procedure, which needs maintainer access and is not a first-timer task.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Platform
macOS
Operating system version
macOS 26.5 (25F71)
System architecture
ARM64 — Apple M3, MacBook Air (Mac15,13), 16 GB RAM
Herd Version
2.0.3 (72); originally affected on 2.0.0 (69)
PHP Version
Not established; this is a crash of the native Herd application.
Bug description
Herd 2.0.0 started crashing immediately on launch. Backing up and resetting its preferences allowed it to open and update to 2.0.3. However, 2.0.3 subsequently crashed, reopened successfully, then crashed again about 90 seconds after launch.
This resembles #1036 and the maintainer’s diagnosis of inaccessible licence information associated with missing SecureDefaults Keychain entries:
https://github.com/beyondcode/herd-community/issues/1036#issuecomment-2382435578
The preferences reset recommended there restored launchability here but did not resolve the recurring crashes.
Steps taken and observed results
- Launched with
open /Applications/Herd.app --args --enable-logfile. Initially, no debug log was created before the crash. - Verified the app using
codesign --verify --deep --strict --verbose=4 /Applications/Herd.appoutside the diagnostic sandbox. Verification passed, including embedded components. Signing identity: Beyond Code GmbH (8Z259RPWAC). - Queried the login Keychain status: unlocked, readable and writable. GUI searches under login for Herd and beyond returned no entries. A command-line metadata inspection found no SecureDefaults entries in the login Keychain either.
- Attempted item access-control inspection; macOS returned “The user name or passphrase you entered is not correct”, so individual item permissions could not be verified.
- Exported and validated a preferences backup, then ran
defaults delete de.beyondco.herd. - Relaunched Herd and completed its offered update to 2.0.3. The Applications window opened with existing sites visible.
- Herd crashed again. Reopening worked, but another crash followed roughly 90 seconds later.
After the reset, the debug log existed. Its inspected tail contained repeated Terminate observer called for process messages.
A deterministic trigger beyond launching/reopening has not been established. Expected: Herd opens and remains running. Actual: it opens but subsequently terminates with SIGTRAP.
Diagnostic findings
During the earlier 2.0.0 launches, macOS logs showed CSSMERR_CSP_OPERATION_AUTH_DENIED alongside Keychain operations shortly before the crash.
Disassembly of the failing code appears consistent with SecureDefaults’ encryption-key access path. This is an inference from binary inspection, not a symbolicated or confirmed root cause.
The original 2.0.0 crashes occurred immediately on the main thread. The two subsequent 2.0.3 reports have identical top-frame offsets and occur on com.apple.root.user-initiated-qos.
Latest crash details
Crash time: 2026-11-02 20:05:08.1423 +0000
Launch time: 2026-11-02 20:03:38.0130 +0000
Version: 2.0.3 (72)
Incident ID: 663911F2-7C46-476E-B2D8-ADF2013797CD
Exception: EXC_BREAKPOINT (SIGTRAP)
Exception codes: 0x0000000000000001, 0x000000010308b280
Termination: SIGNAL 5 — Trace/BPT trap
Crashed thread: 11
Queue: com.apple.root.user-initiated-qos
Image base: 0x102aac000
Binary UUID: 7fe98419-a95e-35e0-9a4f-53b08f1bf64b
SIP: enabled
Top Herd frames (image-relative decimal offsets):
0 +6156928
1 +6159924
2 +6151808
3 +4641764
4 +573076
5 +5209656
6 +5171380
7 +7700524
8 +7692484
9 +7711220
10 +7715304
11 +117612
These offsets match the preceding 2.0.3 crash at 20:02:35.
Could you symbolicate these frames and confirm whether SecureDefaults/licence storage is involved? What is the supported recovery procedure when resetting preferences only restores access temporarily?
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 125
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/herd-community
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beyondcode/herd-community#1693 ·
-
macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
beyondcode/herd-community#1602 ·
-
fixed-in-next-release macOS
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
beyondcode/herd-community#1800 · 1 commento ·
-
macOS
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
beyondcode/herd-community#1799 · 3 commenti ·
-
macOS
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
beyondcode/herd-community#1797 ·
Tutte le issue di beyondcode/herd-community
Issue simili
-
area: web bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
kinqsradio/orbyn-engineering#227 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
t/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
dotnet/maui#39950 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
unconfirmed bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
Taiko2k/Tauon#2411 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
p3 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno