mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 00:05:52 +03:00
[GH-ISSUE #2067] [Game Support]: Arknights: Endfield GPU-related thread lock corruption causes crash #1382
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1382
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ppokotan on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/2067
App Store link
https://apps.apple.com/us/app/arknights-endfield/id6752642477
Current issues
More details
Reproduction:
No specific actions are needed. The game process crashes approximately 64 seconds after launching. This occurs consistently regardless of any settings changes. Prior to the crash, everything functions normally, including proper audio playback and no visible graphical anomalies.
Main Issues:
Core Error:
text
BUG IN CLIENT OF LIBPLATFORM: os_unfair_lock is corrupt
Exception Type: EXC_BREAKPOINT (SIGKILL)
This indicates that a mutex lock (os_unfair_lock) has been corrupted, which is a serious multi-threading synchronization issue.
Crash Thread: Thread 31 – UnityGfxDeviceWorker
Application Environment:
Possible Causes:
GPU Driver Compatibility Issues:
Multi‑threading Synchronization Issues:
PlayCover Compatibility Issues:
Endfield-2026-01-23-225044.txt
Crash log
What version of PlayCover are you using?
3.1.0
What version of macOS are you using?
Other (please specify)
Issue Language
@Ppokotan commented on GitHub (Jan 23, 2026):
Please click Endfield-2026-01-23-225044.txt to get the crash log.
@neworld10 commented on GitHub (Jan 23, 2026):
This might not be a graphics driver issue, as in my case, the same os_unfair_lock recursion error occurred in a CrashSight-related thread.
Endfield [35600].rtf
@neworld10 commented on GitHub (Jan 24, 2026):
this issue has been fixed. seems HyperGryph did.
solved At UTC 260123-2000, approximately
@TNXG commented on GitHub (Jan 24, 2026):
Has the international version already resolved this issue? The Chinese version still encounters it.
Version: "CN_IOS_REL_1.0.13_C5157154_E5135590".
The issue encountered is also: "BUG IN CLIENT OF LIBPLATFORM: os_unfair_lock is corrupt".
@TNXG commented on GitHub (Jan 25, 2026):
Based on the issue discussion, the Global build may have already fixed this problem, but in the CN build the issue still persists. According to community discussions, it may be related to the ACE anti-cheat system.
(Though this is just a guess :D
@Thage commented on GitHub (Jan 26, 2026):
1I had Claude Code run wild on the issue, since I don't know a thing about iOS internals. The issue seems to be the anti-cheat detecting alterations though. The SDK compatibility is probably a red herring.
Below is the report generated.
PlayCover sets LC_BUILD_VERSION to SDK 14.0 / minOS 11.0 in Macho.swift:134-138. On macOS
26, this causes the system to use legacy compatibility shims for locking and TLS that
interact poorly with Unity's MemoryPack worker threads.
Attempted Fix and Result
Patched all binaries (main executable + 24 frameworks including UnityFramework) to
declare SDK 26.1 to use native macOS locking implementation.
Result: The SDK version patch triggers the game's anti-cheat system (
anogs.framework),which detects the binary modifications and sends SIGKILL after ~90 seconds. The
anti-cheat uses hash validation (
hash_cache), integrity protection (sc_protect, tcj_protect), and App Attest APIs.Summary
os_unfair_lockcorruption after 1-2 minutesEnvironment
@TheMoonThatRises commented on GitHub (Jan 31, 2026):
I believe this is the same issue as #2060. Fix should be out on nightlies.