You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm][coreclr] GetUnmanagedCallersOnlyThunk: unknown thunk for unmanaged callers only method #124219
Status (still valid): the assert is intact at src/coreclr/vm/wasm/helpers.cpp:1489 (GetUnmanagedCallersOnlyThunk: unknown thunk ...), fired when LookupThunk(pMD) finds no reverse-thunk for a [UnmanagedCallersOnly] method. Runtime tests (src/tests) still have no per-test native relink, so they run against the baked libcoreclr_gen_static.a table (generated at runtime-build time) and hit this for any test-introduced UCO method.
Currently gating these wasm runtime tests via [ActiveIssue(#124219, IsWasm)]:
Path to resolution: the fix is the per-app native relink noted in the description. That mechanism now exists for library tests — #130129 / src/mono/wasi/build/WasiApp.CoreCLR.targets runs ManagedToNativeGenerator over the bundle, compiles the generated callhelpers, and relinks the host swapping out the baked coreclr_gen_static (validated: full System.Runtime.Tests suite runs on a relinked corerun). Extending the same relink to the src/tests build would cover runtime-test UCO methods and let the four [ActiveIssue]s above be re-enabled.
Companion fix: #130740 corrects the reverse-thunk key for nested[UnmanagedCallersOnly] types (reflection namespace vs empty metadata namespace) — nested UCO callbacks in runtime tests would still miss even after relinking without it. Distinct from #130634 (R2R call_indirect).
Activity
dotnet-policy-service commentedon Feb 10, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Feb 10, 2026
Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.
Re-enable Runtime_105619 on Mono full-AOT
Re-enable Runtime_105619 on Mono full-AOT as the ALC re-entrancy regr…
lewing commentedon Jul 15, 2026
Status (still valid): the assert is intact at
src/coreclr/vm/wasm/helpers.cpp:1489(GetUnmanagedCallersOnlyThunk: unknown thunk ...), fired whenLookupThunk(pMD)finds no reverse-thunk for a[UnmanagedCallersOnly]method. Runtime tests (src/tests) still have no per-test native relink, so they run against the bakedlibcoreclr_gen_static.atable (generated at runtime-build time) and hit this for any test-introduced UCO method.Currently gating these wasm runtime tests via
[ActiveIssue(#124219, IsWasm)]:src/tests/Loader/classloader/Casting/Functionpointer.cssrc/tests/JIT/opt/Regressions/Regression3_Regressions.cssrc/tests/JIT/Regression/JitBlue/Runtime_72265/Runtime_72265.cssrc/tests/JIT/Regression/JitBlue/Runtime_105619/Runtime_105619.csPath to resolution: the fix is the per-app native relink noted in the description. That mechanism now exists for library tests — #130129 /
src/mono/wasi/build/WasiApp.CoreCLR.targetsrunsManagedToNativeGeneratorover the bundle, compiles the generated callhelpers, and relinks the host swapping out the bakedcoreclr_gen_static(validated: fullSystem.Runtime.Testssuite runs on a relinkedcorerun). Extending the same relink to thesrc/testsbuild would cover runtime-test UCO methods and let the four[ActiveIssue]s above be re-enabled.Companion fix: #130740 corrects the reverse-thunk key for nested
[UnmanagedCallersOnly]types (reflection namespace vs empty metadata namespace) — nested UCO callbacks in runtime tests would still miss even after relinking without it. Distinct from #130634 (R2Rcall_indirect).Note
This comment was drafted with GitHub Copilot.
[runtime tests] Report ActiveIssue-skipped tests and crashed runners (#…
Fix Wasm async continuation stack walk (#133995)
Fix Wasm async continuation stack walk (dotnet#133995)
[wasm][coreclr] Re-enable Regression3_Regressions for interpreter (#1…
Fix pointer array copying and various array pinning regressions in Co…