Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Game: Touhou 8 - Imperishable Night; executable: th08 (thpatch-en).exe. Discord thread: 1568517750530515105. FEX 2605 on Proton 10 ARM64EC repeatedly stops before the game module or graphics loads: virtual_setup_exception stack overflow 1856 bytes at libwow64fex.dll+0xF9BA4. Corrected FEX_SILENTLOG=0 yields no WOW64 diagnostics. Source inspection finds BTCpuResetToConsistentStateImpl dereferences a potentially null TLS thread in FEXCORE_PROFILE_ACCUMULATION, CallRetStack and JITGuardPage before its existing null check. Move the null-thread handling ahead of all those uses, preserving process-wide overcommit handling and passing other pre-thread exceptions to Wine. Normal initialized-thread handling is unchanged. This addresses a concrete recursive-exception hazard consistent with the symptom; no symbols prove the reported RVA belongs to this path, and the initial exception remains unknown. Validation: git diff --check; CI builds; on-device follow-up must check disappearance of stack-overflow recursion and whether th08 loads or the original exception becomes visible. No Proton major, architecture, or graphics changes.