[GH-ISSUE #4634] All macOS arm64 engine binaries built with minos 27.0 abort at launch on macOS 15/26 #2103

Closed
opened 2026-11-04 01:56:42 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @kiscore on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4634

Summary

Every macOS arm64 engine binary in Strata 0.2.7 / 0.2.7.1 is built against the macOS 27 SDK with minos 27.0. On macOS 15 (or anything < 27) dyld aborts before main():

dyld: Symbol not found: _posix_spawn_file_actions_addchdir
  Referenced from: .../strata-vision (built for macOS 27.0 which is newer than running OS)
  Expected in: /usr/lib/libSystem.B.dylib

Affects BOTH Qwen 0.1.52 AND DeepSeek 0.1.53 — switching models or running strata update cannot work around it.

Environment

  • App 0.2.7, LSMinimumSystemVersion = 15.0; Control/Terminal 0.1.53 (commit 55a557b)
  • Engine installed: 0.1.52-macos-arm64-metal
  • Mac14,6 / M2 Max / 64 GB; macOS 15.7.8 (24G824)
  • Feed: stable, sequence 116

Symptoms

strata launch reaches "Engine installed / Model ready", then:

  1. Tuning fails — GPU picture reader never starts (vision encoder killed by SIGABRT 6).
  2. Starting fails — engine exits while loading the model (exit code 1).
  3. Parent (strata-desktop -> python3.12 serve/server.py) respawns it in a loop; 30+ .ips reports in ~1 hour.

Crash report fields: bug_type 309, fatalDyldError 1, EXC_CRASH / SIGABRT, termination namespace DYLD / indicator "Symbol missing" / "terminated at launch".

Root cause — verified on the PUBLISHED artifact

Downloaded from the official feed, sha256-matched, then vtool -show-build:

Package (feed seq 116) Binary minos sdk
strata-engine-0.1.52-macos-arm64-metal strata 27.0 27.0
strata-engine-0.1.52-macos-arm64-metal strata-vision 27.0 27.0
strata-dsv41-0.1.53-macos-arm64-metal strata-dsv41 27.0 27.0

sha256 (matches feed manifest):
5e2d38c1dc7867bde57077a15524ee9ff2dfde94d96cacdcd11952d445633a9e engine 0.1.52
bc336ef517da3ada2634078884e914975cfe7eae3c2ff7df28a9bdbeadbeb320 dsv41 0.1.53

Installed binaries share UUID 0CDA7D8E-F89B-3FD7-95BC-323441F1CD1F with the crash reports -> local copy == published artifact. BUILD.json even claims "portable": true.

Contradiction with release notes

  • 0.2.7.1 notes say DeepSeek on Mac needs "macOS 15 or newer" — that binary is minos 27.0 too.
  • App declares LSMinimumSystemVersion = 15.0.
  • Notes also say Mac-Qwen-only users "get no new engine ... engines stay as they are" -> update cannot deliver a fix.

Impact

All Mac users on macOS 15/26 cannot start Strata (Terminal or app). Both engines affected, so no fallback. Downloading the ~257 GB DeepSeek model would NOT help. Reinstalling the app: unchanged 0.2.7 archive.

Suggested fix

Lowering minos alone is NOT enough — the code takes a strong reference to posix_spawn_file_actions_addchdir, absent from macOS 15's libSystem. Need both:

  1. Rebuild all macOS arm64 engines with MACOSX_DEPLOYMENT_TARGET=15.0.
  2. Weak-import + fallback (or dlsym):
    extern int posix_spawn_file_actions_addchdir(...) attribute((weak_import));
    if (posix_spawn_file_actions_addchdir) { ... } else { /* chdir-in-child fallback */ }
  3. CI gate: assert minos <= 15.0 via vtool -show-build, plus a launch smoke test on a macOS 15 runner.

Workarounds

None practical: update/reinstall serve the same broken binaries; DeepSeek engine is equally broken; patching with vtool -set-build-version still aborts (symbol missing) and breaks signing; macOS 27 is not generally available.

Artifacts

  • Crash reports: ~/Library/Logs/DiagnosticReports/strata-vision-2026-10-30-*.ips
  • Engine log: ~/.local/state/strata/launch/q2_0-32k.engine.log (same for q2_0-200k)
  • Desktop log: ~/.local/share/strata/logs/desktop-20261029-091027.log
  • Component: ~/.local/share/strata/components/engine/0.1.52-macos-arm64-metal/
Originally created by @kiscore on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4634 ## Summary Every macOS arm64 engine binary in Strata 0.2.7 / 0.2.7.1 is built against the **macOS 27 SDK with minos 27.0**. On macOS 15 (or anything < 27) dyld aborts before main(): dyld: Symbol not found: _posix_spawn_file_actions_addchdir Referenced from: .../strata-vision (built for macOS 27.0 which is newer than running OS) Expected in: /usr/lib/libSystem.B.dylib Affects BOTH Qwen 0.1.52 AND DeepSeek 0.1.53 — switching models or running `strata update` cannot work around it. ## Environment - App 0.2.7, `LSMinimumSystemVersion = 15.0`; Control/Terminal 0.1.53 (commit 55a557b) - Engine installed: `0.1.52-macos-arm64-metal` - Mac14,6 / M2 Max / 64 GB; **macOS 15.7.8 (24G824)** - Feed: stable, sequence 116 ## Symptoms `strata launch` reaches "Engine installed / Model ready", then: 1. Tuning fails — GPU picture reader never starts (vision encoder killed by SIGABRT 6). 2. Starting fails — engine exits while loading the model (exit code 1). 3. Parent (`strata-desktop` -> `python3.12 serve/server.py`) respawns it in a loop; 30+ `.ips` reports in ~1 hour. Crash report fields: `bug_type 309`, `fatalDyldError 1`, `EXC_CRASH / SIGABRT`, termination `namespace DYLD / indicator "Symbol missing" / "terminated at launch"`. ## Root cause — verified on the PUBLISHED artifact Downloaded from the official feed, sha256-matched, then `vtool -show-build`: | Package (feed seq 116) | Binary | minos | sdk | |---|---|---|---| | strata-engine-0.1.52-macos-arm64-metal | strata | 27.0 | 27.0 | | strata-engine-0.1.52-macos-arm64-metal | strata-vision | 27.0 | 27.0 | | strata-dsv41-0.1.53-macos-arm64-metal | strata-dsv41 | 27.0 | 27.0 | sha256 (matches feed manifest): 5e2d38c1dc7867bde57077a15524ee9ff2dfde94d96cacdcd11952d445633a9e engine 0.1.52 bc336ef517da3ada2634078884e914975cfe7eae3c2ff7df28a9bdbeadbeb320 dsv41 0.1.53 Installed binaries share UUID `0CDA7D8E-F89B-3FD7-95BC-323441F1CD1F` with the crash reports -> local copy == published artifact. `BUILD.json` even claims `"portable": true`. ## Contradiction with release notes - 0.2.7.1 notes say DeepSeek on Mac needs "macOS 15 or newer" — that binary is minos 27.0 too. - App declares `LSMinimumSystemVersion = 15.0`. - Notes also say Mac-Qwen-only users "get no new engine ... engines stay as they are" -> update cannot deliver a fix. ## Impact All Mac users on macOS 15/26 cannot start Strata (Terminal or app). Both engines affected, so no fallback. Downloading the ~257 GB DeepSeek model would NOT help. Reinstalling the app: unchanged 0.2.7 archive. ## Suggested fix Lowering minos alone is NOT enough — the code takes a strong reference to `posix_spawn_file_actions_addchdir`, absent from macOS 15's libSystem. Need both: 1. Rebuild all macOS arm64 engines with `MACOSX_DEPLOYMENT_TARGET=15.0`. 2. Weak-import + fallback (or dlsym): extern int posix_spawn_file_actions_addchdir(...) __attribute__((weak_import)); if (posix_spawn_file_actions_addchdir) { ... } else { /* chdir-in-child fallback */ } 3. CI gate: assert `minos <= 15.0` via `vtool -show-build`, plus a launch smoke test on a macOS 15 runner. ## Workarounds None practical: update/reinstall serve the same broken binaries; DeepSeek engine is equally broken; patching with `vtool -set-build-version` still aborts (symbol missing) and breaks signing; macOS 27 is not generally available. ## Artifacts - Crash reports: `~/Library/Logs/DiagnosticReports/strata-vision-2026-10-30-*.ips` - Engine log: `~/.local/state/strata/launch/q2_0-32k.engine.log` (same for q2_0-200k) - Desktop log: `~/.local/share/strata/logs/desktop-20261029-091027.log` - Component: `~/.local/share/strata/components/engine/0.1.52-macos-arm64-metal/`
Author
Owner

@github-actions[bot] commented on GitHub (Oct 29, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6504434556 --> @github-actions[bot] commented on GitHub (Oct 29, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@kiscore commented on GitHub (Oct 29, 2026):

您好,您的邮件已收到。

<!-- gh-comment-id:6504446367 --> @kiscore commented on GitHub (Oct 29, 2026): 您好,您的邮件已收到。
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2026):

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6622494940 --> @github-actions[bot] commented on GitHub (Nov 4, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2103
No description provided.