Skip to content

WOW64: preserve full host PC when locating JIT exception blocks - #31

Open
butilly wants to merge 1 commit into
mainfrom
fix/wolverine-box64-jit-unwind-fix
Open

butilly wants to merge 1 commit into
mainfrom
fix/wolverine-box64-jit-unwind-fix

Conversation

@butilly

@butilly butilly commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Game: X-Men Origins - Wolverine(TM), Binaries/Wolverine.exe (32-bit). Discord thread: 1569101859040399513. Latest report 1569448115768135794 faults at host PC 0x11036F19C and repeatedly unwinds wowbox64.dll+0x43AC24; earlier report has host PC 0x11036F284. DXVK device discovery reports no graphics error. BTCpuResetToConsistentState passes ctx->Pc through ULongToPtr, whose ULONG32 argument truncates these host addresses above 4 GiB. Preserve uintptr_t width so FindDynablockFromNativeAddress can recognize the JIT and restore the captured host entry context. This addresses exception-unwind handling, not a proven cause of the original guest access violation. No Proton major or architecture change. Validation: diff --check; CI package build; member report must show disappearance of repeated unwind frames and identify any remaining guest fault. AI-authored isolated downstream fix for the bot-owned build fork; disclosed for human review, not submitted upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant